-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Render bitmaps using JSON config
with cbmp 1.1.1
- Loading branch information
Showing
4 changed files
with
962 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
{ | ||
"dependencies": { | ||
"cbmp": "ful1e5/cbmp" | ||
"cbmp": "^1.1.1" | ||
}, | ||
"scripts": { | ||
"render:bigsur": "npx cbmp -d 'svg/bigsur' -n 'macOS-BigSur' -bc '#000000' -oc '#FFFFFF'", | ||
"render:bigsur-white": "npx cbmp -d 'svg/bigsur' -n 'macOS-BigSur-White' -bc '#FFFFFF' -oc '#000000'", | ||
"render:monterey": "npx cbmp -d 'svg/monterey' -n 'macOS-Monterey' -bc '#000000' -oc '#FFFFFF'", | ||
"render:monterey-white": "npx cbmp -d 'svg/monterey' -n 'macOS-Monterey-White' -bc '#FFFFFF' -oc '#000000'", | ||
"render": "yarn render:bigsur && yarn render:bigsur-white && yarn render:monterey && yarn render:monterey-white ", | ||
"build:bigsur": "ctgen build.toml -d 'bitmaps/macOS-BigSur' -n 'macOS-BigSur' -c 'macOS Big Sur Cursors'", | ||
"build:bigsur-white": "ctgen build.toml -d 'bitmaps/macOS-BigSur-White' -n 'macOS-BigSur-White' -c 'macOS Big Sur White Cursors'", | ||
"build:monterey": "ctgen build.toml -d 'bitmaps/macOS-Monterey' -n 'macOS-Monterey' -c 'macOS Monterey Cursors'", | ||
"build:monterey-white": "ctgen build.toml -d 'bitmaps/macOS-Monterey-White' -n 'macOS-Monterey-White' -c 'macOS Monterey White Cursors'", | ||
"build": "yarn build:bigsur && yarn build:bigsur-white && yarn build:monterey && yarn build:monterey-white" | ||
"clean": "rm -rf bin bitmaps themes", | ||
"render": "npx cbmp render.json", | ||
"build": "bash build.sh", | ||
"generate": "npx cbmp render.json && bash build.sh" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"Bibata-Modern-Amber": { | ||
"dir": "svg", | ||
"out": "bitmaps/macOS", | ||
"colors": [ | ||
{ "match": "#00FF00", "replace": "#000000" }, | ||
{ "match": "#0000FF", "replace": "#FFFFFF" } | ||
] | ||
}, | ||
"Bibata-Modern-Amber-Right": { | ||
"dir": "svg", | ||
"out": "bitmaps/macOS-White", | ||
"colors": [ | ||
{ "match": "#00FF00", "replace": "#FFFFFF" }, | ||
{ "match": "#0000FF", "replace": "#000000" } | ||
] | ||
} | ||
} |
Oops, something went wrong.