mirror of
https://github.com/idanoo/m2.nz
synced 2025-07-03 05:42:15 +00:00
Commit theme
This commit is contained in:
parent
1ec1007169
commit
690a3ff983
46 changed files with 2443 additions and 0 deletions
24
themes/m10c/scripts/update_feather_icons.sh
Executable file
24
themes/m10c/scripts/update_feather_icons.sh
Executable file
|
@ -0,0 +1,24 @@
|
|||
#!/bin/sh
|
||||
|
||||
FEATHER_PATH=`dirname "$0"`/feather
|
||||
|
||||
# Clone feather repository
|
||||
git clone --depth=1 git@github.com:feathericons/feather.git $FEATHER_PATH
|
||||
|
||||
pushd $FEATHER_PATH
|
||||
|
||||
# Install dependencies
|
||||
yarn
|
||||
|
||||
mkdir dist
|
||||
|
||||
# Generate icons.json
|
||||
npx babel-node bin/build-icons-json.js
|
||||
|
||||
# Copy icons.json into theme data
|
||||
cp dist/icons.json ../../data/m10c/icons.json
|
||||
|
||||
popd
|
||||
|
||||
# Remove the repository
|
||||
rm -rf $FEATHER_PATH
|
Loading…
Add table
Add a link
Reference in a new issue