From: Yuan Fu <casouri@gmail.com>
To: 62562@debbugs.gnu.org
Cc: stefankangas@gmail.com
Subject: bug#62562: 30.0.50; [PATCH] Some new SVG icons
Date: Thu, 30 Mar 2023 22:52:02 -0700 [thread overview]
Message-ID: <3903373B-4A84-4188-9D44-FDF6BF2FAE73@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 706 bytes --]
X-Debbugs-CC: stefankangas@gmail.com
I really like the SVG icons Stefan K added to Customize, so I made some
more. These icons can be used for, eg, tab-bar, Customize, and warning
messages. (Especially for the warning message, right now it’s either an
emoji (⛔) or a black block (■).)
The naming is debatable. I want them to be in a subdir together, so they
are now in the "symbols" dir.
The ".16" is because some times an icon design is only suitable for a
particular size, similar to "optical sizing" in font design. Anyway, I
think being specific wouldn’t hurt; It’s easy to use the ".16" version
for other sizes like 32 or 64, but not so much the other way around.
Yuan
[-- Attachment #2: icons.patch --]
[-- Type: application/octet-stream, Size: 6226 bytes --]
From 57101530f3ae76d69049e8f872ecf9f2ca31c1bd Mon Sep 17 00:00:00 2001
From: Yuan Fu <casouri@gmail.com>
Date: Thu, 30 Mar 2023 21:58:05 -0700
Subject: [PATCH] Add some icons
(I don't want to write the commit message until we agree on the
naming.)
---
etc/images/symbols/chevron.down.16.svg | 3 +++
etc/images/symbols/chevron.left.16.svg | 3 +++
etc/images/symbols/chevron.right.16.svg | 3 +++
etc/images/symbols/chevron.up.16.svg | 3 +++
etc/images/symbols/cross.16.svg | 4 ++++
etc/images/symbols/cross.circle.16.svg | 5 +++++
| 5 +++++
etc/images/symbols/minus.16.svg | 3 +++
etc/images/symbols/minus.circle.16.svg | 4 ++++
etc/images/symbols/plus.16.svg | 4 ++++
etc/images/symbols/plus.circle.16.svg | 5 +++++
11 files changed, 42 insertions(+)
create mode 100644 etc/images/symbols/chevron.down.16.svg
create mode 100644 etc/images/symbols/chevron.left.16.svg
create mode 100644 etc/images/symbols/chevron.right.16.svg
create mode 100644 etc/images/symbols/chevron.up.16.svg
create mode 100644 etc/images/symbols/cross.16.svg
create mode 100644 etc/images/symbols/cross.circle.16.svg
create mode 100644 etc/images/symbols/menu.16.svg
create mode 100644 etc/images/symbols/minus.16.svg
create mode 100644 etc/images/symbols/minus.circle.16.svg
create mode 100644 etc/images/symbols/plus.16.svg
create mode 100644 etc/images/symbols/plus.circle.16.svg
diff --git a/etc/images/symbols/chevron.down.16.svg b/etc/images/symbols/chevron.down.16.svg
new file mode 100644
index 00000000000..a74aafc74c4
--- /dev/null
+++ b/etc/images/symbols/chevron.down.16.svg
@@ -0,0 +1,3 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M14 6L8 11L2 6" stroke="black" stroke-width="2"/>
+</svg>
diff --git a/etc/images/symbols/chevron.left.16.svg b/etc/images/symbols/chevron.left.16.svg
new file mode 100644
index 00000000000..789d11dcd58
--- /dev/null
+++ b/etc/images/symbols/chevron.left.16.svg
@@ -0,0 +1,3 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M10 2L5 8L10 14" stroke="black" stroke-width="2"/>
+</svg>
diff --git a/etc/images/symbols/chevron.right.16.svg b/etc/images/symbols/chevron.right.16.svg
new file mode 100644
index 00000000000..d9721c0892a
--- /dev/null
+++ b/etc/images/symbols/chevron.right.16.svg
@@ -0,0 +1,3 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M6 2L11 8L6 14" stroke="black" stroke-width="2"/>
+</svg>
diff --git a/etc/images/symbols/chevron.up.16.svg b/etc/images/symbols/chevron.up.16.svg
new file mode 100644
index 00000000000..93d781102c8
--- /dev/null
+++ b/etc/images/symbols/chevron.up.16.svg
@@ -0,0 +1,3 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M2 10L8 5L14 10" stroke="black" stroke-width="2"/>
+</svg>
diff --git a/etc/images/symbols/cross.16.svg b/etc/images/symbols/cross.16.svg
new file mode 100644
index 00000000000..81a8075177d
--- /dev/null
+++ b/etc/images/symbols/cross.16.svg
@@ -0,0 +1,4 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M12 4L4 12" stroke="black" stroke-width="2"/>
+<path d="M12 12L4 4" stroke="black" stroke-width="2"/>
+</svg>
diff --git a/etc/images/symbols/cross.circle.16.svg b/etc/images/symbols/cross.circle.16.svg
new file mode 100644
index 00000000000..a14cf6f701c
--- /dev/null
+++ b/etc/images/symbols/cross.circle.16.svg
@@ -0,0 +1,5 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="8" cy="8" r="6" stroke="black" stroke-width="2"/>
+<path d="M11 11L5 5" stroke="black" stroke-width="2"/>
+<path d="M5 11L11 5" stroke="black" stroke-width="2"/>
+</svg>
--git a/etc/images/symbols/menu.16.svg b/etc/images/symbols/menu.16.svg
new file mode 100644
index 00000000000..27f6b7ce2ab
--- /dev/null
+++ b/etc/images/symbols/menu.16.svg
@@ -0,0 +1,5 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M2 8H14" stroke="black" stroke-width="2"/>
+<path d="M2 4H14" stroke="black" stroke-width="2"/>
+<path d="M2 12H14" stroke="black" stroke-width="2"/>
+</svg>
diff --git a/etc/images/symbols/minus.16.svg b/etc/images/symbols/minus.16.svg
new file mode 100644
index 00000000000..ff0c97ef5a4
--- /dev/null
+++ b/etc/images/symbols/minus.16.svg
@@ -0,0 +1,3 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M13 8L3 8" stroke="black" stroke-width="2"/>
+</svg>
diff --git a/etc/images/symbols/minus.circle.16.svg b/etc/images/symbols/minus.circle.16.svg
new file mode 100644
index 00000000000..bec96048461
--- /dev/null
+++ b/etc/images/symbols/minus.circle.16.svg
@@ -0,0 +1,4 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="8" cy="8" r="6" stroke="black" stroke-width="2"/>
+<path d="M12 8H4" stroke="black" stroke-width="2"/>
+</svg>
diff --git a/etc/images/symbols/plus.16.svg b/etc/images/symbols/plus.16.svg
new file mode 100644
index 00000000000..5eee38de33c
--- /dev/null
+++ b/etc/images/symbols/plus.16.svg
@@ -0,0 +1,4 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M13 8L3 8" stroke="black" stroke-width="2"/>
+<path d="M8 13V3" stroke="black" stroke-width="2"/>
+</svg>
diff --git a/etc/images/symbols/plus.circle.16.svg b/etc/images/symbols/plus.circle.16.svg
new file mode 100644
index 00000000000..93a69b97aeb
--- /dev/null
+++ b/etc/images/symbols/plus.circle.16.svg
@@ -0,0 +1,5 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="8" cy="8" r="6" stroke="black" stroke-width="2"/>
+<path d="M12 8H4" stroke="black" stroke-width="2"/>
+<path d="M8 12V4" stroke="black" stroke-width="2"/>
+</svg>
--
2.33.1
next reply other threads:[~2023-03-31 5:52 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-31 5:52 Yuan Fu [this message]
2023-03-31 6:12 ` bug#62562: 30.0.50; [PATCH] Some new SVG icons Eli Zaretskii
2023-04-01 19:38 ` Yuan Fu
2023-04-01 19:41 ` Yuan Fu
2023-04-02 6:56 ` Juri Linkov
2023-04-02 7:06 ` Eli Zaretskii
2023-04-02 22:05 ` Yuan Fu
2023-04-02 16:27 ` Juri Linkov
2023-04-03 6:37 ` Juri Linkov
2023-04-03 7:55 ` Yuan Fu
2023-04-03 16:23 ` Juri Linkov
2023-04-03 20:17 ` Yuan Fu
2023-04-04 6:50 ` Juri Linkov
2023-05-02 17:10 ` Juri Linkov
2023-08-27 17:27 ` Juri Linkov
2023-08-27 21:42 ` Yuan Fu
2023-08-31 21:00 ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-01 6:58 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3903373B-4A84-4188-9D44-FDF6BF2FAE73@gmail.com \
--to=casouri@gmail.com \
--cc=62562@debbugs.gnu.org \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.