From 059085a21a50d53f5b7d543bcbc14b00068033bc Mon Sep 17 00:00:00 2001
From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
Date: Mon, 2 Jun 2025 23:13:30 +0200
Subject: [PATCH] Add theme icons
---
novelwriter/assets/icons/font_awesome.icons | 3 +++
novelwriter/assets/icons/material_filled_bold.icons | 3 +++
novelwriter/assets/icons/material_filled_normal.icons | 3 +++
novelwriter/assets/icons/material_filled_thin.icons | 3 +++
novelwriter/assets/icons/material_rounded_bold.icons | 3 +++
novelwriter/assets/icons/material_rounded_normal.icons | 3 +++
novelwriter/assets/icons/material_rounded_thin.icons | 3 +++
novelwriter/assets/icons/remix_filled.icons | 3 +++
novelwriter/assets/icons/remix_outline.icons | 3 +++
utils/icon_themes.py | 4 ++++
utils/icon_themes/font_awesome.json | 4 ++++
utils/icon_themes/material_symbols.json | 4 ++++
utils/icon_themes/remix.json | 4 ++++
13 files changed, 43 insertions(+)
diff --git a/novelwriter/assets/icons/font_awesome.icons b/novelwriter/assets/icons/font_awesome.icons
index 550fd857..75204942 100644
--- a/novelwriter/assets/icons/font_awesome.icons
+++ b/novelwriter/assets/icons/font_awesome.icons
@@ -56,6 +56,9 @@ icon:sb_outline =
icon:sb_search =
icon:sb_stats =
+icon:theme_light =
+icon:theme_dark =
+icon:theme_auto =
icon:add =
icon:bookmarks =
icon:browse =
diff --git a/novelwriter/assets/icons/material_filled_bold.icons b/novelwriter/assets/icons/material_filled_bold.icons
index bc902698..584a04bb 100644
--- a/novelwriter/assets/icons/material_filled_bold.icons
+++ b/novelwriter/assets/icons/material_filled_bold.icons
@@ -56,6 +56,9 @@ icon:sb_outline =
icon:sb_search =
icon:sb_stats =
+icon:theme_light =
+icon:theme_dark =
+icon:theme_auto =
icon:add =
icon:bookmarks =
icon:browse =
diff --git a/novelwriter/assets/icons/material_filled_normal.icons b/novelwriter/assets/icons/material_filled_normal.icons
index ce666d14..a6d7933e 100644
--- a/novelwriter/assets/icons/material_filled_normal.icons
+++ b/novelwriter/assets/icons/material_filled_normal.icons
@@ -56,6 +56,9 @@ icon:sb_outline =
icon:sb_search =
icon:sb_stats =
+icon:theme_light =
+icon:theme_dark =
+icon:theme_auto =
icon:add =
icon:bookmarks =
icon:browse =
diff --git a/novelwriter/assets/icons/material_filled_thin.icons b/novelwriter/assets/icons/material_filled_thin.icons
index 70c4f364..a405ea3e 100644
--- a/novelwriter/assets/icons/material_filled_thin.icons
+++ b/novelwriter/assets/icons/material_filled_thin.icons
@@ -56,6 +56,9 @@ icon:sb_outline =
icon:sb_search =
icon:sb_stats =
+icon:theme_light =
+icon:theme_dark =
+icon:theme_auto =
icon:add =
icon:bookmarks =
icon:browse =
diff --git a/novelwriter/assets/icons/material_rounded_bold.icons b/novelwriter/assets/icons/material_rounded_bold.icons
index 08564be2..02d83821 100644
--- a/novelwriter/assets/icons/material_rounded_bold.icons
+++ b/novelwriter/assets/icons/material_rounded_bold.icons
@@ -56,6 +56,9 @@ icon:sb_outline =
icon:sb_search =
icon:sb_stats =
+icon:theme_light =
+icon:theme_dark =
+icon:theme_auto =
icon:add =
icon:bookmarks =
icon:browse =
diff --git a/novelwriter/assets/icons/material_rounded_normal.icons b/novelwriter/assets/icons/material_rounded_normal.icons
index 3da2739e..06887aa7 100644
--- a/novelwriter/assets/icons/material_rounded_normal.icons
+++ b/novelwriter/assets/icons/material_rounded_normal.icons
@@ -56,6 +56,9 @@ icon:sb_outline =
icon:sb_search =
icon:sb_stats =
+icon:theme_light =
+icon:theme_dark =
+icon:theme_auto =
icon:add =
icon:bookmarks =
icon:browse =
diff --git a/novelwriter/assets/icons/material_rounded_thin.icons b/novelwriter/assets/icons/material_rounded_thin.icons
index 61fcd5fa..1002fcbf 100644
--- a/novelwriter/assets/icons/material_rounded_thin.icons
+++ b/novelwriter/assets/icons/material_rounded_thin.icons
@@ -56,6 +56,9 @@ icon:sb_outline =
icon:sb_search =
icon:sb_stats =
+icon:theme_light =
+icon:theme_dark =
+icon:theme_auto =
icon:add =
icon:bookmarks =
icon:browse =
diff --git a/novelwriter/assets/icons/remix_filled.icons b/novelwriter/assets/icons/remix_filled.icons
index b2305187..51e73a78 100644
--- a/novelwriter/assets/icons/remix_filled.icons
+++ b/novelwriter/assets/icons/remix_filled.icons
@@ -56,6 +56,9 @@ icon:sb_outline =
icon:sb_search =
icon:sb_stats =
+icon:theme_light =
+icon:theme_dark =
+icon:theme_auto =
icon:add =
icon:bookmarks =
icon:browse =
diff --git a/novelwriter/assets/icons/remix_outline.icons b/novelwriter/assets/icons/remix_outline.icons
index 0fae7c91..02ce0243 100644
--- a/novelwriter/assets/icons/remix_outline.icons
+++ b/novelwriter/assets/icons/remix_outline.icons
@@ -56,6 +56,9 @@ icon:sb_outline =
icon:sb_search =
icon:sb_stats =
+icon:theme_light =
+icon:theme_dark =
+icon:theme_auto =
icon:add =
icon:bookmarks =
icon:browse =
diff --git a/utils/icon_themes.py b/utils/icon_themes.py
index 00d75714..752b29e5 100644
--- a/utils/icon_themes.py
+++ b/utils/icon_themes.py
@@ -90,6 +90,10 @@ ICONS = [
"sb_search",
"sb_stats",
+ "theme_light",
+ "theme_dark",
+ "theme_auto",
+
"add",
"bookmarks",
"browse",
diff --git a/utils/icon_themes/font_awesome.json b/utils/icon_themes/font_awesome.json
index 5ed09376..d98dc9e2 100644
--- a/utils/icon_themes/font_awesome.json
+++ b/utils/icon_themes/font_awesome.json
@@ -56,6 +56,10 @@
"sb_search": "magnifying-glass",
"sb_stats": "chart-simple",
+ "theme_light": "sun",
+ "theme_dark": "moon",
+ "theme_auto": "circle-half-stroke",
+
"add": "plus",
"bookmarks": "bookmark",
"browse": "folder-open",
diff --git a/utils/icon_themes/material_symbols.json b/utils/icon_themes/material_symbols.json
index 230f5c60..61c1975a 100644
--- a/utils/icon_themes/material_symbols.json
+++ b/utils/icon_themes/material_symbols.json
@@ -56,6 +56,10 @@
"sb_search": "search",
"sb_stats": "bar_chart",
+ "theme_light": "light_mode",
+ "theme_dark": "dark_mode",
+ "theme_auto": "contrast",
+
"add": "add",
"bookmarks": "bookmarks",
"browse": "folder_open",
diff --git a/utils/icon_themes/remix.json b/utils/icon_themes/remix.json
index 300b8bbe..0ac173ec 100644
--- a/utils/icon_themes/remix.json
+++ b/utils/icon_themes/remix.json
@@ -56,6 +56,10 @@
"sb_search": "file-search",
"sb_stats": "bar-chart-fill",
+ "theme_light": "sun",
+ "theme_dark": "moon",
+ "theme_auto": "contrast",
+
"add": "add",
"bookmarks": "bookmark",
"browse": "folder-2",