diff options
Diffstat (limited to 'src')
48 files changed, 282 insertions, 26 deletions
diff --git a/src/_icons/ad.svg b/src/_icons/ad.svg new file mode 100644 index 00000000..b2166f25 --- /dev/null +++ b/src/_icons/ad.svg @@ -0,0 +1,9 @@ +--- +tags: [] +--- +<svg> + <rect x="3" y="5" width="18" height="14" rx="2" /> + <path d="M7 15v-4a2 2 0 0 1 4 0v4" /> + <line x1="7" y1="13" x2="11" y2="13" /> + <path d="M17 9v6h-1.5a1.5 1.5 0 1 1 1.5 -1.5" /> +</svg> diff --git a/src/_icons/ajdustments.svg b/src/_icons/adjustments.svg index fd9d200d..fd9d200d 100644 --- a/src/_icons/ajdustments.svg +++ b/src/_icons/adjustments.svg diff --git a/src/_icons/alarm.svg b/src/_icons/alarm.svg new file mode 100644 index 00000000..4b7996bd --- /dev/null +++ b/src/_icons/alarm.svg @@ -0,0 +1,9 @@ +--- +tags: [time, watch, clock] +--- +<svg> + <circle cx="12" cy="13" r="7" /> + <polyline points="12 10 12 13 14 13" /> + <line x1="7" y1="4" x2="4.25" y2="6" /> + <line x1="17" y1="4" x2="19.75" y2="6" /> +</svg> diff --git a/src/_icons/arrow-back.svg b/src/_icons/arrow-back.svg new file mode 100644 index 00000000..dab9f279 --- /dev/null +++ b/src/_icons/arrow-back.svg @@ -0,0 +1,6 @@ +--- +tags: [] +--- +<svg> + <path d="M9 11l-4 4l4 4m-4 -4h11a4 4 0 0 0 0 -8h-1" /> +</svg> diff --git a/src/_icons/arrow-forward.svg b/src/_icons/arrow-forward.svg new file mode 100644 index 00000000..34c5e1df --- /dev/null +++ b/src/_icons/arrow-forward.svg @@ -0,0 +1,6 @@ +--- +tags: [] +--- +<svg> + <path d="M15 11l4 4l-4 4m4 -4h-11a4 4 0 0 1 0 -8h1" /> +</svg> diff --git a/src/_icons/artboard.svg b/src/_icons/artboard.svg new file mode 100644 index 00000000..ebf7104d --- /dev/null +++ b/src/_icons/artboard.svg @@ -0,0 +1,13 @@ +--- +--- +<svg> + <rect x="8" y="8" width="8" height="8" rx="1" /> + <line x1="3" y1="8" x2="4" y2="8" /> + <line x1="3" y1="16" x2="4" y2="16" /> + <line x1="8" y1="3" x2="8" y2="4" /> + <line x1="16" y1="3" x2="16" y2="4" /> + <line x1="20" y1="8" x2="21" y2="8" /> + <line x1="20" y1="16" x2="21" y2="16" /> + <line x1="8" y1="20" x2="8" y2="21" /> + <line x1="16" y1="20" x2="16" y2="21" /> +</svg> diff --git a/src/_icons/award.svg b/src/_icons/award.svg new file mode 100644 index 00000000..3f488f3f --- /dev/null +++ b/src/_icons/award.svg @@ -0,0 +1,6 @@ +--- +--- +<svg> + <circle cx="12" cy="9" r="6" /> + <polyline points="8 13.5 8 21 12 19 16 21 16 13.5" /> +</svg> diff --git a/src/_icons/bug.svg b/src/_icons/bug.svg new file mode 100644 index 00000000..9bf0b4fe --- /dev/null +++ b/src/_icons/bug.svg @@ -0,0 +1,13 @@ +--- +--- +<svg> + <path d="M9 9v-1a3 3 0 0 1 6 0v1" /> + <path d="M8 9h8a6 6 0 0 1 1 3v3a5 5 0 0 1 -10 0v-3a6 6 0 0 1 1 -3" /> + <line x1="3" y1="13" x2="7" y2="13" /> + <line x1="17" y1="13" x2="21" y2="13" /> + <line x1="12" y1="20" x2="12" y2="14" /> + <line x1="4" y1="19" x2="7.35" y2="17" /> + <line x1="20" y1="19" x2="16.65" y2="17" /> + <line x1="4" y1="7" x2="7.75" y2="9.4" /> + <line x1="20" y1="7" x2="16.25" y2="9.4" /> +</svg> diff --git a/src/_icons/building-arch.svg b/src/_icons/building-arch.svg new file mode 100644 index 00000000..298eb6cb --- /dev/null +++ b/src/_icons/building-arch.svg @@ -0,0 +1,7 @@ +--- +--- +<svg> + <line x1="3" y1="21" x2="21" y2="21" /> + <path d="M4 21v-15a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v15" /> + <path d="M9 21v-8a3 3 0 0 1 6 0v8" /> +</svg> diff --git a/src/_icons/building-bridge-2.svg b/src/_icons/building-bridge-2.svg new file mode 100644 index 00000000..23b8af58 --- /dev/null +++ b/src/_icons/building-bridge-2.svg @@ -0,0 +1,5 @@ +--- +--- +<svg> + <path d="M6 7h12a2 2 0 0 1 2 2v9a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-2a4 4 0 0 0 -8 0v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-9a2 2 0 0 1 2 -2" /> +</svg> diff --git a/src/_icons/building-bridge.svg b/src/_icons/building-bridge.svg new file mode 100644 index 00000000..67b047bc --- /dev/null +++ b/src/_icons/building-bridge.svg @@ -0,0 +1,9 @@ +--- +--- +<svg> + <line x1="6" y1="5" x2="6" y2="19" /> + <line x1="18" y1="5" x2="18" y2="19" /> + <line x1="2" y1="15" x2="22" y2="15" /> + <path d="M3 8a7.5 7.5 0 0 0 3 -2a6.5 6.5 0 0 0 12 0a7.5 7.5 0 0 0 3 2" /> + <line x1="12" y1="10" x2="12" y2="15" /> +</svg> diff --git a/src/_icons/building-church.svg b/src/_icons/building-church.svg new file mode 100644 index 00000000..5a746f46 --- /dev/null +++ b/src/_icons/building-church.svg @@ -0,0 +1,9 @@ +--- +--- +<svg> + <line x1="3" y1="21" x2="21" y2="21" /> + <path d="M10 21v-4a2 2 0 0 1 4 0v4" /> + <line x1="10" y1="5" x2="14" y2="5" /> + <line x1="12" y1="3" x2="12" y2="8" /> + <path d="M6 21v-7m-2 2l8 -8l8 8m-2 -2v7" /> +</svg> diff --git a/src/_icons/building-hospital.svg b/src/_icons/building-hospital.svg new file mode 100644 index 00000000..cf8ab60a --- /dev/null +++ b/src/_icons/building-hospital.svg @@ -0,0 +1,9 @@ +--- +--- +<svg> + <line x1="3" y1="21" x2="21" y2="21" /> + <path d="M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16" /> + <path d="M9 21v-4a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v4" /> + <line x1="10" y1="9" x2="14" y2="9" /> + <line x1="12" y1="7" x2="12" y2="11" /> +</svg> diff --git a/src/_icons/building-store.svg b/src/_icons/building-store.svg new file mode 100644 index 00000000..e088d1d4 --- /dev/null +++ b/src/_icons/building-store.svg @@ -0,0 +1,9 @@ +--- +--- +<svg> + <line x1="3" y1="21" x2="21" y2="21" /> + <path d="M3 7v1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1h-18l2 -4h14l2 4" /> + <path d="M5 21v-10.15" /> + <path d="M19 21v-10.15" /> + <path d="M9 21v-4a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v4" /> +</svg> diff --git a/src/_icons/building.svg b/src/_icons/building.svg new file mode 100644 index 00000000..74602d49 --- /dev/null +++ b/src/_icons/building.svg @@ -0,0 +1,12 @@ +--- +--- +<svg> + <line x1="3" y1="21" x2="21" y2="21" /> + <line x1="9" y1="8" x2="10" y2="8" /> + <line x1="9" y1="12" x2="10" y2="12" /> + <line x1="9" y1="16" x2="10" y2="16" /> + <line x1="14" y1="8" x2="15" y2="8" /> + <line x1="14" y1="12" x2="15" y2="12" /> + <line x1="14" y1="16" x2="15" y2="16" /> + <path d="M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16" /> +</svg> diff --git a/src/_icons/calendar-event.svg b/src/_icons/calendar-event.svg new file mode 100644 index 00000000..4aa8cee7 --- /dev/null +++ b/src/_icons/calendar-event.svg @@ -0,0 +1,10 @@ +--- +tags: [date, day, plan, schedule, agenda] +--- +<svg> + <rect x="4" y="5" width="16" height="16" rx="2" /> + <line x1="16" y1="3" x2="16" y2="7" /> + <line x1="8" y1="3" x2="8" y2="7" /> + <line x1="4" y1="11" x2="20" y2="11" /> + <rect x="8" y="15" width="2" height="2" /> +</svg> diff --git a/src/_icons/device-speaker.svg b/src/_icons/device-speaker.svg new file mode 100644 index 00000000..56f12add --- /dev/null +++ b/src/_icons/device-speaker.svg @@ -0,0 +1,7 @@ +--- +--- +<svg> + <rect x="5" y="3" width="14" height="18" rx="2" /> + <circle cx="12" cy="14" r="3" /> + <line x1="12" y1="7" x2="12" y2="7.01" /> +</svg> diff --git a/src/_icons/directions.svg b/src/_icons/directions.svg index 4021d8b4..9cb450d3 100644 --- a/src/_icons/directions.svg +++ b/src/_icons/directions.svg @@ -2,8 +2,8 @@ tags: [travel, navigation, discover] --- <svg> - <polyline points="8 5 19 5 21 7 19 9 8 9 8 5" /> - <polyline points="14 13 14 17 6 17 4 15 6 13 14 13" /> + <path d="M9 5h10l2 2l-2 2h-10a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1" /> + <path d="M13 13h-7l-2 2l2 2h7a1 1 0 0 0 1 -1v-2a1 1 0 0 0 -1 -1" /> <line x1="12" y1="22" x2="12" y2="17" /> <line x1="12" y1="13" x2="12" y2="9" /> <line x1="12" y1="5" x2="12" y2="3" /> diff --git a/src/_icons/disabled.svg b/src/_icons/disabled.svg index fd9c72a0..157aa3ea 100644 --- a/src/_icons/disabled.svg +++ b/src/_icons/disabled.svg @@ -5,5 +5,5 @@ tags: [wheelchair] <circle cx="11" cy="5" r="2" /> <polyline points="11 7 11 15 15 15 19 20" /> <line x1="11" y1="11" x2="16" y2="11" /> - <path d="M7 11.5a5 5 0 1 0 6 7.5" /> + <path d="M7 11.5a4.97 4.97 0 1 0 6 7.5" /> </svg> diff --git a/src/_icons/disc.svg b/src/_icons/disc.svg index a87332b4..f09c7b0b 100644 --- a/src/_icons/disc.svg +++ b/src/_icons/disc.svg @@ -2,6 +2,8 @@ tags: [cd, music, album] --- <svg> - <circle cx="12" cy="12" r="3" /> <circle cx="12" cy="12" r="9" /> + <circle cx="12" cy="12" r="1" /> + <path d="M7 12a5 5 0 0 1 5 -5" /> + <path d="M12 17a5 5 0 0 0 5 -5" /> </svg> diff --git a/src/_icons/edit.svg b/src/_icons/edit.svg index 1bc8b10c..caf30237 100644 --- a/src/_icons/edit.svg +++ b/src/_icons/edit.svg @@ -4,4 +4,5 @@ tags: [pencil, change] <svg> <path d="M9 7 h-3a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-3" /> <path d="M9 15h3l8.5 -8.5a1.5 1.5 0 0 0 -3 -3l-8.5 8.5v3" /> + <line x1="16" y1="5" x2="19" y2="8" /> </svg> diff --git a/src/_icons/globe.svg b/src/_icons/globe.svg new file mode 100644 index 00000000..49ab5769 --- /dev/null +++ b/src/_icons/globe.svg @@ -0,0 +1,8 @@ +--- +--- +<svg> + <circle cx="12" cy="10" r="4" /> + <path d="M6.75 16a8.015 8.015 0 1 0 9.25 -13" /> + <line x1="12" y1="18" x2="12" y2="22" /> + <line x1="8" y1="22" x2="16" y2="22" /> +</svg> diff --git a/src/_icons/help.svg b/src/_icons/help.svg new file mode 100644 index 00000000..2a1cb0ab --- /dev/null +++ b/src/_icons/help.svg @@ -0,0 +1,7 @@ +--- +--- +<svg> + <circle cx="12" cy="12" r="9" /> + <line x1="12" y1="17" x2="12" y2="17.01" /> + <path d="M12 13.5a1.5 1.5 0 0 1 1 -1.5a2.6 2.6 0 1 0 -3 -4" /> +</svg> diff --git a/src/_icons/home-2.svg b/src/_icons/home-2.svg new file mode 100644 index 00000000..86c9576d --- /dev/null +++ b/src/_icons/home-2.svg @@ -0,0 +1,8 @@ +--- +tags: [house, dashboard, living] +--- +<svg> + <polyline points="5 12 3 12 12 3 21 12 19 12" /> + <path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" /> + <rect x="10" y="12" width="4" height="4" /> +</svg> diff --git a/src/_icons/id.svg b/src/_icons/id.svg new file mode 100644 index 00000000..f243557f --- /dev/null +++ b/src/_icons/id.svg @@ -0,0 +1,10 @@ +--- +tags: [] +--- +<svg> + <rect x="3" y="4" width="18" height="16" rx="3" /> + <circle cx="9" cy="10" r="2" /> + <line x1="15" y1="8" x2="17" y2="8" /> + <line x1="15" y1="12" x2="17" y2="12" /> + <line x1="7" y1="16" x2="17" y2="16" /> +</svg> diff --git a/src/_icons/layout-2.svg b/src/_icons/layout-2.svg index 85823667..a97139c7 100644 --- a/src/_icons/layout-2.svg +++ b/src/_icons/layout-2.svg @@ -2,8 +2,8 @@ tags: [grid, columns, masonry, collage] --- <svg> - <rect x="3" y="3" width="7" height="5" rx="2" /> - <rect x="3" y="12" width="7" height="9" rx="2" /> - <rect x="14" y="3" width="7" height="9" rx="2" /> - <rect x="14" y="16" width="7" height="5" rx="2" /> + <rect x="4" y="4" width="6" height="5" rx="2" /> + <rect x="4" y="13" width="6" height="7" rx="2" /> + <rect x="14" y="4" width="6" height="7" rx="2" /> + <rect x="14" y="15" width="6" height="5" rx="2" /> </svg> diff --git a/src/_icons/layout-bottombar.svg b/src/_icons/layout-bottombar.svg new file mode 100644 index 00000000..23ddd8f5 --- /dev/null +++ b/src/_icons/layout-bottombar.svg @@ -0,0 +1,6 @@ +--- +--- +<svg> + <rect x="4" y="4" width="16" height="16" rx="2" /> + <line x1="4" y1="15" x2="20" y2="15" /> +</svg> diff --git a/src/_icons/layout-columns.svg b/src/_icons/layout-columns.svg index 5914ea46..c98ef78d 100644 --- a/src/_icons/layout-columns.svg +++ b/src/_icons/layout-columns.svg @@ -2,6 +2,6 @@ tags: [grid, column, rows] --- <svg> - <rect x="3" y="3" width="18" height="18" rx="2" /> - <line x1="12" y1="3" x2="12" y2="21" /> + <rect x="4" y="4" width="16" height="16" rx="2" /> + <line x1="12" y1="4" x2="12" y2="20" /> </svg> diff --git a/src/_icons/layout-navbar.svg b/src/_icons/layout-navbar.svg index 983012f4..54d5f9b7 100644 --- a/src/_icons/layout-navbar.svg +++ b/src/_icons/layout-navbar.svg @@ -2,6 +2,6 @@ tags: [grid, row, header] --- <svg> - <rect x="3" y="3" width="18" height="18" rx="2" /> - <line x1="3" y1="9" x2="21" y2="9" /> + <rect x="4" y="4" width="16" height="16" rx="2" /> + <line x1="4" y1="9" x2="20" y2="9" /> </svg> diff --git a/src/_icons/layout-rows.svg b/src/_icons/layout-rows.svg index f900f83d..7ad15708 100644 --- a/src/_icons/layout-rows.svg +++ b/src/_icons/layout-rows.svg @@ -2,6 +2,6 @@ tags: [grid, masonry, collage] --- <svg> - <rect x="3" y="3" width="18" height="18" rx="2" /> - <line x1="3" y1="12" x2="21" y2="12" /> + <rect x="4" y="4" width="16" height="16" rx="2" /> + <line x1="4" y1="12" x2="20" y2="12" /> </svg> diff --git a/src/_icons/layout-sidebar-right.svg b/src/_icons/layout-sidebar-right.svg index fb372e9b..499848df 100644 --- a/src/_icons/layout-sidebar-right.svg +++ b/src/_icons/layout-sidebar-right.svg @@ -2,6 +2,6 @@ tags: [grid, aside, column, columns] --- <svg> - <rect x="3" y="3" width="18" height="18" rx="2" /> - <line x1="15" y1="3" x2="15" y2="21" /> + <rect x="4" y="4" width="16" height="16" rx="2" /> + <line x1="15" y1="4" x2="15" y2="20" /> </svg> diff --git a/src/_icons/layout-sidebar.svg b/src/_icons/layout-sidebar.svg index dcee2653..8d989f63 100644 --- a/src/_icons/layout-sidebar.svg +++ b/src/_icons/layout-sidebar.svg @@ -2,6 +2,6 @@ tags: [grid, aside, column, columns] --- <svg> - <rect x="3" y="3" width="18" height="18" rx="2" /> - <line x1="9" y1="3" x2="9" y2="21" /> + <rect x="4" y="4" width="16" height="16" rx="2" /> + <line x1="9" y1="4" x2="9" y2="20" /> </svg> diff --git a/src/_icons/layout.svg b/src/_icons/layout.svg index 4606baad..ba97da4a 100644 --- a/src/_icons/layout.svg +++ b/src/_icons/layout.svg @@ -2,7 +2,7 @@ tags: [grid, columns, masonry, collage] --- <svg> - <rect x="3" y="3" width="8" height="6" rx="2" /> - <rect x="3" y="13" width="8" height="8" rx="2" /> - <rect x="15" y="3" width="6" height="18" rx="2" /> + <rect x="4" y="4" width="6" height="5" rx="2" /> + <rect x="4" y="13" width="6" height="7" rx="2" /> + <rect x="14" y="4" width="6" height="16" rx="2" /> </svg> diff --git a/src/_icons/live-photo.svg b/src/_icons/live-photo.svg new file mode 100644 index 00000000..d79dd7dc --- /dev/null +++ b/src/_icons/live-photo.svg @@ -0,0 +1,7 @@ +--- +--- +<svg> + <circle cx="12" cy="12" r="1" /> + <circle cx="12" cy="12" r="5" /> + <circle cx="12" cy="12" r="9" stroke-dasharray=".001 4.03" /> +</svg> diff --git a/src/_icons/mug.svg b/src/_icons/mug.svg new file mode 100644 index 00000000..1525619e --- /dev/null +++ b/src/_icons/mug.svg @@ -0,0 +1,6 @@ +--- +--- +<svg> + <path d="M5 6h10a1 1 0 0 1 1 1v8a4 4 0 0 1 -4 4h-4a4 4 0 0 1 -4 -4v-8a1 1 0 0 1 1 -1" /> + <path d="M16 9h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2" /> +</svg> diff --git a/src/_icons/news.svg b/src/_icons/news.svg index 077d7ada..5ccabad4 100644 --- a/src/_icons/news.svg +++ b/src/_icons/news.svg @@ -2,7 +2,7 @@ tags: [newspaper, article] --- <svg> - <path d="M16 6h3a 1 1 0 011 1v11a2 2 0 0 1 -4 0v-13a1 1 0 0 0 -1 -1h-10a1 1 0 0 0 -1 1v12a3 3 0 0 0 3 3h11" /> + <path d="M16 6h3a1 1 0 0 1 1 1v11a2 2 0 0 1 -4 0v-13a1 1 0 0 0 -1 -1h-10a1 1 0 0 0 -1 1v12a3 3 0 0 0 3 3h11" /> <line x1="8" y1="8" x2="12" y2="8" /> <line x1="8" y1="12" x2="12" y2="12" /> <line x1="8" y1="16" x2="12" y2="16" /> diff --git a/src/_icons/palette.svg b/src/_icons/palette.svg new file mode 100644 index 00000000..14f09d03 --- /dev/null +++ b/src/_icons/palette.svg @@ -0,0 +1,8 @@ +--- +--- +<svg> + <path d="M12 21a9 9 0 1 1 0 -18a9 8 0 0 1 9 8a4.5 4 0 0 1 -4.5 4h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25" /> + <circle cx="7.5" cy="10.5" r=".5" /> + <circle cx="12" cy="7.5" r=".5" /> + <circle cx="16.5" cy="10.5" r=".5" /> +</svg> diff --git a/src/_icons/pencil.svg b/src/_icons/pencil.svg new file mode 100644 index 00000000..9ace3776 --- /dev/null +++ b/src/_icons/pencil.svg @@ -0,0 +1,6 @@ +--- +--- +<svg> + <path d="M4 20h4l10.5 -10.5a1.5 1.5 0 0 0 -4 -4l-10.5 10.5v4" /> + <line x1="13.5" y1="6.5" x2="17.5" y2="10.5" /> +</svg> diff --git a/src/_icons/record-mail.svg b/src/_icons/record-mail.svg new file mode 100644 index 00000000..8ee5886b --- /dev/null +++ b/src/_icons/record-mail.svg @@ -0,0 +1,7 @@ +--- +--- +<svg> + <circle cx="7" cy="12" r="3" /> + <circle cx="17" cy="12" r="3" /> + <line x1="7" y1="15" x2="17" y2="15" /> +</svg> diff --git a/src/_icons/registered.svg b/src/_icons/registered.svg index a6fca273..b660199b 100644 --- a/src/_icons/registered.svg +++ b/src/_icons/registered.svg @@ -3,5 +3,5 @@ tags: [copyright] --- <svg> <circle cx="12" cy="12" r="9" /> - <path d="M10 16v-8h3a2 2 0 0 1 0 4h-3m2 0l3 4" /> + <path d="M9 16v-8h4a2 2 0 0 1 0 4h-4m3 0l3 4" /> </svg> diff --git a/src/_icons/ruler.svg b/src/_icons/ruler.svg new file mode 100644 index 00000000..847a84f9 --- /dev/null +++ b/src/_icons/ruler.svg @@ -0,0 +1,11 @@ +--- +--- +<svg> + <path d="M5 4h14a1 1 0 0 1 1 1v5a1 1 0 0 1 -1 1h-7a1 1 0 0 0 -1 1v7a1 1 0 0 1 -1 1h-5a1 1 0 0 1 -1 -1v-14a1 1 0 0 1 1 -1" /> + <line x1="4" y1="8" x2="6" y2="8" /> + <line x1="4" y1="12" x2="7" y2="12" /> + <line x1="4" y1="16" x2="6" y2="16" /> + <line x1="8" y1="4" x2="8" y2="6" /> + <polyline points="12 4 12 7 " /> + <polyline points="16 4 16 6 " /> +</svg> diff --git a/src/_icons/scissors.svg b/src/_icons/scissors.svg new file mode 100644 index 00000000..583197c9 --- /dev/null +++ b/src/_icons/scissors.svg @@ -0,0 +1,8 @@ +--- +--- +<svg> + <circle cx="6" cy="7" r="3" /> + <circle cx="6" cy="17" r="3" /> + <line x1="8.6" y1="8.6" x2="19" y2="19" /> + <line x1="8.6" y1="15.4" x2="19" y2="5" /> +</svg> diff --git a/src/_icons/stack.svg b/src/_icons/stack.svg new file mode 100644 index 00000000..554507e8 --- /dev/null +++ b/src/_icons/stack.svg @@ -0,0 +1,7 @@ +--- +--- +<svg> + <polyline points="12 4 4 8 12 12 20 8 12 4" /> + <polyline points="4 12 12 16 20 12" /> + <polyline points="4 16 12 20 20 16" /> +</svg> diff --git a/src/_icons/switch-vertical.svg b/src/_icons/switch-vertical.svg index 165cd549..1c4b7a40 100644 --- a/src/_icons/switch-vertical.svg +++ b/src/_icons/switch-vertical.svg @@ -2,10 +2,8 @@ tags: [toggle, up, down, arrows] --- <svg> - <g> <polyline points="3 8 7 4 11 8" /> <line x1="7" y1="4" x2="7" y2="13" /> <polyline points="13 16 17 20 21 16" /> <line x1="17" y1="10" x2="17" y2="20" /> - </g> </svg> diff --git a/src/_icons/template.svg b/src/_icons/template.svg new file mode 100644 index 00000000..163f1c2c --- /dev/null +++ b/src/_icons/template.svg @@ -0,0 +1,10 @@ +--- +tags: [grid, columns, masonry, collage] +--- +<svg> + <rect x="4" y="4" width="16" height="4" rx="1" /> + <rect x="4" y="12" width="6" height="8" rx="2" /> + <line x1="14" y1="12" x2="20" y2="12" /> + <line x1="14" y1="16" x2="20" y2="16" /> + <line x1="14" y1="20" x2="20" y2="20" /> +</svg> diff --git a/src/_includes/icon.html b/src/_includes/icon.html index 25ec600d..39b96aaa 100644 --- a/src/_includes/icon.html +++ b/src/_includes/icon.html @@ -1,2 +1,2 @@ {% assign stroke = include.stroke | default: 2 %}{% assign width = 24 %}{% assign name = include.name %}{% assign icon = site.icons | where: "slug", name | first %}{% capture replace-to %}<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-{{ name }}" width="{{ width }}" height="{{ width }}" viewBox="0 0 24 24" stroke-width="{{ stroke }}" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> - <rect x="0" y="0" width="24" height="24" stroke="none"></rect>{% endcapture %}{% assign content = icon.content | replace: '<svg>', replace-to %}{{ content }} + <path stroke="none" d="M0 0h24v24H0z"/>{% endcapture %}{% assign content = icon.content | replace: '<svg>', replace-to %}{{ content }} diff --git a/src/editor.html b/src/editor.html index 6794a491..3a928f28 100644 --- a/src/editor.html +++ b/src/editor.html @@ -113,6 +113,9 @@ layout: default .on('click', '.js-icon', function (e) { var icon = $(this).attr('data-icon'); + $('.js-icon').removeClass('active'); + $(this).addClass('active'); + $('.js-icon-name').html(icon); localStorage.setItem('icon', icon); diff --git a/src/style.scss b/src/style.scss index 2ffbb470..49a1b2f6 100644 --- a/src/style.scss +++ b/src/style.scss @@ -179,6 +179,10 @@ a { justify-content: center; border: 1px solid transparent; + &.active { + background: #f0f0f0; + } + @at-root a#{&}:hover { opacity: .75; } |