all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#62562: 30.0.50; [PATCH] Some new SVG icons
@ 2023-03-31  5:52 Yuan Fu
  2023-03-31  6:12 ` Eli Zaretskii
  2023-04-01 19:38 ` Yuan Fu
  0 siblings, 2 replies; 18+ messages in thread
From: Yuan Fu @ 2023-03-31  5:52 UTC (permalink / raw)
  To: 62562; +Cc: stefankangas

[-- 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 +++++
 etc/images/symbols/menu.16.svg          | 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>
diff --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


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-09-01  6:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-31  5:52 bug#62562: 30.0.50; [PATCH] Some new SVG icons Yuan Fu
2023-03-31  6:12 ` 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

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.