Skip to content

Commit

Permalink
chore(icons): add calendar icons
Browse files Browse the repository at this point in the history
  • Loading branch information
xav-car committed Oct 10, 2024
1 parent cacc628 commit 274437f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions addon/helpers/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const ICONS = {
book: { default: 'menu_book', plainIcon: 'menu_book_plainIcon' },
bookmark: { default: 'bookmark', plainIcon: 'bookmark_plainIcon' },
buildings: { default: 'location_city' },
calendar: { default: 'today', plainIcon: 'today_plainIcon' },
campaign: { default: 'campaign', plainIcon: 'campaign_plainIcon' },
cancel: { default: 'cancel', plainIcon: 'cancel_plainIcon' },
check: { default: 'check' },
Expand Down
2 changes: 1 addition & 1 deletion public/svg/pix-sprite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion svgs/rename-icon-id-in-sprite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ do
echo "parsing file" $f
sed -i '' -e 's/_24dp_E8EAED_FILL0_wght500_GRAD0_opsz24//g' "$f"
sed -i '' -e 's/_24dp_E8EAED_FILL1_wght500_GRAD0_opsz24/_plainIcon/g' "$f"
sed -i '' -e 's/ fill="#e8eaed"//g' "$f"
done
6 changes: 6 additions & 0 deletions svgs/svgo.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@ module.exports = {
},
},
},
{
name: 'removeAttrs',
params: {
attrs: 'fill',
},
},
],
};

0 comments on commit 274437f

Please sign in to comment.