From c63a0c2f5863f16afbb34b55d01ec11074b67651 Mon Sep 17 00:00:00 2001
From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
Date: Wed, 22 May 2024 16:55:36 +0200
Subject: [PATCH] Add new font and quote button icons
---
novelwriter/assets/icons/typicons_dark/icons.conf | 2 ++
novelwriter/assets/icons/typicons_dark/nw_font.svg | 4 ++++
novelwriter/assets/icons/typicons_dark/nw_quote.svg | 4 ++++
novelwriter/assets/icons/typicons_light/icons.conf | 2 ++
novelwriter/assets/icons/typicons_light/nw_font.svg | 4 ++++
novelwriter/assets/icons/typicons_light/nw_quote.svg | 4 ++++
novelwriter/gui/theme.py | 6 +++---
7 files changed, 23 insertions(+), 3 deletions(-)
create mode 100644 novelwriter/assets/icons/typicons_dark/nw_font.svg
create mode 100644 novelwriter/assets/icons/typicons_dark/nw_quote.svg
create mode 100644 novelwriter/assets/icons/typicons_light/nw_font.svg
create mode 100644 novelwriter/assets/icons/typicons_light/nw_quote.svg
diff --git a/novelwriter/assets/icons/typicons_dark/icons.conf b/novelwriter/assets/icons/typicons_dark/icons.conf
index 28d72c83..a4f8cf16 100644
--- a/novelwriter/assets/icons/typicons_dark/icons.conf
+++ b/novelwriter/assets/icons/typicons_dark/icons.conf
@@ -59,6 +59,7 @@ fmt_strike-md = nw_tb-strike-md.svg
fmt_subscript = nw_tb-subscript.svg
fmt_superscript = nw_tb-superscript.svg
fmt_underline = nw_tb-underline.svg
+font = nw_font.svg
forward = typ_chevron-right.svg
import = mixed_import.svg
list = typ_th-list.svg
@@ -78,6 +79,7 @@ proj_scene = mixed_document-scene.svg
proj_section = mixed_document-section.svg
proj_stats = typ_chart-bar-grey.svg
proj_title = mixed_document-title.svg
+quote = nw_quote.svg
refresh = typ_refresh.svg
remove = typ_minus.svg
revert = typ_refresh-flipped.svg
diff --git a/novelwriter/assets/icons/typicons_dark/nw_font.svg b/novelwriter/assets/icons/typicons_dark/nw_font.svg
new file mode 100644
index 00000000..588dd615
--- /dev/null
+++ b/novelwriter/assets/icons/typicons_dark/nw_font.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/novelwriter/assets/icons/typicons_dark/nw_quote.svg b/novelwriter/assets/icons/typicons_dark/nw_quote.svg
new file mode 100644
index 00000000..db50fcb4
--- /dev/null
+++ b/novelwriter/assets/icons/typicons_dark/nw_quote.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/novelwriter/assets/icons/typicons_light/icons.conf b/novelwriter/assets/icons/typicons_light/icons.conf
index 1af2ee60..022f417e 100644
--- a/novelwriter/assets/icons/typicons_light/icons.conf
+++ b/novelwriter/assets/icons/typicons_light/icons.conf
@@ -59,6 +59,7 @@ fmt_strike-md = nw_tb-strike-md.svg
fmt_subscript = nw_tb-subscript.svg
fmt_superscript = nw_tb-superscript.svg
fmt_underline = nw_tb-underline.svg
+font = nw_font.svg
forward = typ_chevron-right.svg
import = mixed_import.svg
list = typ_th-list.svg
@@ -78,6 +79,7 @@ proj_scene = mixed_document-scene.svg
proj_section = mixed_document-section.svg
proj_stats = typ_chart-bar-grey.svg
proj_title = mixed_document-title.svg
+quote = nw_quote.svg
refresh = typ_refresh.svg
remove = typ_minus.svg
revert = typ_refresh-flipped.svg
diff --git a/novelwriter/assets/icons/typicons_light/nw_font.svg b/novelwriter/assets/icons/typicons_light/nw_font.svg
new file mode 100644
index 00000000..987f2fc6
--- /dev/null
+++ b/novelwriter/assets/icons/typicons_light/nw_font.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/novelwriter/assets/icons/typicons_light/nw_quote.svg b/novelwriter/assets/icons/typicons_light/nw_quote.svg
new file mode 100644
index 00000000..bdf76e81
--- /dev/null
+++ b/novelwriter/assets/icons/typicons_light/nw_quote.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/novelwriter/gui/theme.py b/novelwriter/gui/theme.py
index a986f86a..72a95178 100644
--- a/novelwriter/gui/theme.py
+++ b/novelwriter/gui/theme.py
@@ -501,9 +501,9 @@ class GuiIcons:
# General Button Icons
"add", "add_document", "backward", "bookmark", "browse", "checked", "close", "cross",
- "document", "down", "edit", "export", "forward", "import", "list", "maximise", "menu",
- "minimise", "more", "noncheckable", "open", "panel", "refresh", "remove", "revert",
- "search_replace", "search", "settings", "star", "unchecked", "up", "view",
+ "document", "down", "edit", "export", "font", "forward", "import", "list", "maximise",
+ "menu", "minimise", "more", "noncheckable", "open", "panel", "quote", "refresh", "remove",
+ "revert", "search_replace", "search", "settings", "star", "unchecked", "up", "view",
# Switches
"sticky-on", "sticky-off",