Add create icon

This commit is contained in:
Oliver-Akins 2024-01-09 22:08:00 -07:00
parent fa3dbfd597
commit 1f26bbae1b
4 changed files with 11 additions and 3 deletions

1
assets/create.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="currentColor"><path fill-rule="evenodd" d="M30.91 40.47H14.546C9.272 40.47 5 44.744 5 50.02a9.545 9.545 0 0 0 9.546 9.549H30.91c5.273 0 9.544 4.275 9.544 9.551v16.369c0 5.276 4.273 9.55 9.546 9.55s9.546-4.274 9.546-9.55V69.12c0-5.276 4.271-9.551 9.544-9.551h16.364A9.545 9.545 0 0 0 95 50.02c0-5.276-4.272-9.55-9.546-9.55H69.09c-5.273 0-9.544-4.273-9.544-9.549V14.549C59.546 9.275 55.273 5 50 5s-9.546 4.275-9.546 9.549v16.372c0 5.276-4.271 9.549-9.544 9.549Z"/></svg>

After

Width:  |  Height:  |  Size: 536 B

View file

@ -15,5 +15,9 @@ Fritz Duggan:
dice/d12.svg (https://thenounproject.com/icon/d12-4570606/) dice/d12.svg (https://thenounproject.com/icon/d12-4570606/)
dice/d20.svg (https://thenounproject.com/icon/d20-4570607/) dice/d20.svg (https://thenounproject.com/icon/d20-4570607/)
Landan Lloyd:
create.svg (https://thenounproject.com/icon/create-1447560/)
Oliver Akins: Oliver Akins:
chat-bubble.svg : Edits only (scaled) chat-bubble.svg : Scaling
create.svg : Scaling, Optimization

View file

@ -30,6 +30,7 @@ export const icons = [
`dice/d10.svg`, `dice/d10.svg`,
`dice/d12.svg`, `dice/d12.svg`,
`dice/d20.svg`, `dice/d20.svg`,
`create.svg`,
]; ];

View file

@ -65,9 +65,11 @@
<div class="flex-row"> <div class="flex-row">
<button <button
class="confirm add-spell" class="confirm add-spell equal-padding"
> >
Add New Spell <div class="icon icon--20">
{{{ icons.create }}}
</div>
</button> </button>
</div> </div>
{{/ dotdungeon.panel}} {{/ dotdungeon.panel}}