From 4d98681f0538d5fe848693ed2bf4218478665759 Mon Sep 17 00:00:00 2001 From: Jamie Law Date: Fri, 11 Oct 2024 19:29:36 +0100 Subject: [PATCH 1/3] refactor(icons): optimised some `align`-, `indent`- and `list`-icons (#2528) * Update `align`- icons * Update `indent`- icons * Update `list`- icons --- icons/align-center.svg | 6 +++--- icons/align-justify.svg | 6 +++--- icons/align-left.svg | 6 +++--- icons/align-right.svg | 6 +++--- icons/indent-decrease.svg | 8 ++++---- icons/indent-increase.svg | 8 ++++---- icons/list-ordered.svg | 8 ++++---- icons/list.svg | 12 ++++++------ 8 files changed, 30 insertions(+), 30 deletions(-) diff --git a/icons/align-center.svg b/icons/align-center.svg index 517265b0d0..0554261d9d 100644 --- a/icons/align-center.svg +++ b/icons/align-center.svg @@ -9,7 +9,7 @@ stroke-linecap="round" stroke-linejoin="round" > - - - + + + diff --git a/icons/align-justify.svg b/icons/align-justify.svg index b8b666a8c6..f64eb90200 100644 --- a/icons/align-justify.svg +++ b/icons/align-justify.svg @@ -9,7 +9,7 @@ stroke-linecap="round" stroke-linejoin="round" > - - - + + + diff --git a/icons/align-left.svg b/icons/align-left.svg index 30231ac1f8..654be61fdb 100644 --- a/icons/align-left.svg +++ b/icons/align-left.svg @@ -9,7 +9,7 @@ stroke-linecap="round" stroke-linejoin="round" > - - - + + + diff --git a/icons/align-right.svg b/icons/align-right.svg index a01420cddd..8e4432ec9b 100644 --- a/icons/align-right.svg +++ b/icons/align-right.svg @@ -9,7 +9,7 @@ stroke-linecap="round" stroke-linejoin="round" > - - - + + + diff --git a/icons/indent-decrease.svg b/icons/indent-decrease.svg index ffb2900f4b..47c2fcad09 100644 --- a/icons/indent-decrease.svg +++ b/icons/indent-decrease.svg @@ -9,8 +9,8 @@ stroke-linecap="round" stroke-linejoin="round" > - - - - + + + + diff --git a/icons/indent-increase.svg b/icons/indent-increase.svg index 46e855d5ba..734e957cc5 100644 --- a/icons/indent-increase.svg +++ b/icons/indent-increase.svg @@ -9,8 +9,8 @@ stroke-linecap="round" stroke-linejoin="round" > - - - - + + + + diff --git a/icons/list-ordered.svg b/icons/list-ordered.svg index f0341b0f49..e933935c34 100644 --- a/icons/list-ordered.svg +++ b/icons/list-ordered.svg @@ -9,10 +9,10 @@ stroke-linecap="round" stroke-linejoin="round" > - - - - + + + + diff --git a/icons/list.svg b/icons/list.svg index d7285a0555..9de09ad77e 100644 --- a/icons/list.svg +++ b/icons/list.svg @@ -9,10 +9,10 @@ stroke-linecap="round" stroke-linejoin="round" > - - - - - - + + + + + + From dd3aed1ecda60e547171c00ee48e400ce8e96e85 Mon Sep 17 00:00:00 2001 From: Ishaan <113186458+Ishaan2053@users.noreply.github.com> Date: Mon, 14 Oct 2024 03:09:41 +0530 Subject: [PATCH 2/3] Update icon-design-guide.md (#2530) --- docs/guide/design/icon-design-guide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/design/icon-design-guide.md b/docs/guide/design/icon-design-guide.md index 0546c72863..f2bcdd471c 100644 --- a/docs/guide/design/icon-design-guide.md +++ b/docs/guide/design/icon-design-guide.md @@ -52,7 +52,7 @@ Here are rules that should be followed to keep quality and consistency when maki ![optical-volume-high](../../images/optical-volume-high.svg?raw=true "optical-volume-high") -**Tip:** place your icon next to circle or square and blur them both; your icon should not feel much darker than the base shape. +**Tip:** place your icon next to the circle or square icon and blur them both; your icon should not feel much darker than the base shape. ### 10. Icons should be visually centered by their center of gravity. @@ -76,7 +76,7 @@ Here are rules that should be followed to keep quality and consistency when maki ![curvature-uneven](../../images/curvature-uneven.svg?raw=true "curvature-uneven") -**Tip:** make sure to use arcs or quadratic curves, when using cubic curves control points should have mirrored angles for smooth curves. +**Tip:** make sure to use arcs or quadratic curves. When using cubic curves control points should have mirrored angles for smooth curves. ### 13. Icons should aim to be pixel perfect so that they will be sharp on low DPI displays. @@ -142,7 +142,7 @@ For each icon these attributes are applied, corresponding to the above rules. ### Minify paths The code of paths can sometimes get quite large. To reduce file size we like to minify the code. -We recommend to use the [SVGOMG](https://jakearchibald.github.io/svgomg/) to minify paths to 2 points of precision. +We recommend to use [SVGOMG](https://jakearchibald.github.io/svgomg/) to minify paths to 2 points of precision. ### Allowed elements From 757bf0fb85ff049299e6095095bc99f87b63d3dc Mon Sep 17 00:00:00 2001 From: Peter Uithoven Date: Tue, 15 Oct 2024 04:11:47 +0200 Subject: [PATCH 3/3] feat(icons): added `calendar-1` icon (#2520) * Added icons/calendar-single.svg * Added icons/calendar-single.json * Adjust calendar position Adjust calendar position based on original * Update name * Add tag 1 * Optimize 1 path * Add first tag --------- Co-authored-by: peteruithoven --- icons/calendar-1.json | 22 ++++++++++++++++++++++ icons/calendar-1.svg | 17 +++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 icons/calendar-1.json create mode 100644 icons/calendar-1.svg diff --git a/icons/calendar-1.json b/icons/calendar-1.json new file mode 100644 index 0000000000..87e66fe1d1 --- /dev/null +++ b/icons/calendar-1.json @@ -0,0 +1,22 @@ +{ + "$schema": "../icon.schema.json", + "contributors": [ + "colebemis", + "ericfennis", + "peteruithoven" + ], + "tags": [ + "date", + "month", + "year", + "event", + "single", + "singular", + "once", + "1", + "first" + ], + "categories": [ + "time" + ] +} diff --git a/icons/calendar-1.svg b/icons/calendar-1.svg new file mode 100644 index 0000000000..b6d8f3c45b --- /dev/null +++ b/icons/calendar-1.svg @@ -0,0 +1,17 @@ + + + + + + +