Skip to content

Commit

Permalink
refactor: include a new icon into the catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
serudda committed Nov 10, 2023
1 parent 7cb62da commit 6185ae5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export enum IconCatalog {
globeAlt = 'globeAlt',
lightBulb = 'lightBulb',
lifebuoy = 'lifebuoy',
lockClosed = 'lockClosed',
magicWand = 'magicWand',
minusSmall = 'minusSmall',
moon = 'moon',
Expand Down Expand Up @@ -300,6 +301,13 @@ const Icons: Record<IconCatalog, IconType> = {
'M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z',
},

[IconCatalog.lockClosed]: {
outline:
'M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25z',
solid:
'M12 1.5a5.25 5.25 0 0 0-5.25 5.25v3a3 3 0 0 0-3 3v6.75a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3v-6.75a3 3 0 0 0-3-3v-3c0-2.9-2.35-5.25-5.25-5.25zm3.75 8.25v-3a3.75 3.75 0 1 0-7.5 0v3h7.5z',
},

[IconCatalog.magicWand]: {
outline:
'M20.5 13.956a.325.325 0 0 1-.327.326H18.54v1.63a.325.325 0 0 1-.327.326.327.327 0 0 1-.327-.326v-1.63H16.25a.327.327 0 0 1-.326-.326.325.325 0 0 1 .326-.326h1.635V12a.325.325 0 0 1 .327-.326.327.327 0 0 1 .327.326v1.63h1.634a.327.327 0 0 1 .327.326ZM5.136 7.11h1.635v1.63a.326.326 0 0 0 .326.326.327.327 0 0 0 .327-.326V7.11H9.06a.327.327 0 0 0 .327-.326.326.326 0 0 0-.327-.326H7.424v-1.63a.326.326 0 0 0-.327-.326.327.327 0 0 0-.326.326v1.63H5.136a.327.327 0 0 0-.327.326.326.326 0 0 0 .327.326Zm10.46 10.432h-.98v-.978a.326.326 0 0 0-.558-.23.326.326 0 0 0-.096.23v.978h-.98a.328.328 0 0 0-.327.326.326.326 0 0 0 .327.326h.98v.978a.325.325 0 0 0 .327.326.327.327 0 0 0 .327-.326v-.978h.98a.328.328 0 0 0 .328-.326.326.326 0 0 0-.327-.326Zm2.655-9.685L6.866 19.212a.98.98 0 0 1-1.39 0l-1.688-1.686a.978.978 0 0 1 0-1.386L15.174 4.788a.98.98 0 0 1 1.39 0l1.687 1.686a.977.977 0 0 1 0 1.383Zm-3.77 2.839-2.153-2.147-8.077 8.055a.325.325 0 0 0 0 .46l1.69 1.687a.327.327 0 0 0 .463 0l8.076-8.055Zm3.308-3.76L16.1 5.248a.327.327 0 0 0-.463 0l-2.847 2.839 2.154 2.147 2.846-2.84a.325.325 0 0 0 0-.46Z',
Expand Down

0 comments on commit 6185ae5

Please sign in to comment.