diff --git a/nw/theme.py b/nw/theme.py index 906d0e9f..d6958df6 100644 --- a/nw/theme.py +++ b/nw/theme.py @@ -143,6 +143,14 @@ class Theme: logger.error("Could not load theme css file") return False + # Icon Files + iconsDir = path.join(self.themePath,self.iconPath) + if path.isdir(iconsDir): + for iconName in self.ICON_MAP: + iconFile = path.join(iconsDir,iconName+".png") + if path.isfile(iconFile): + self.themeIcons[iconName] = QIcon(iconFile) + # Config File confParser = configparser.ConfigParser() try: diff --git a/nw/themes/gui/default_dark/icons/add.png b/nw/themes/gui/default_dark/icons/add.png new file mode 100644 index 00000000..48632071 Binary files /dev/null and b/nw/themes/gui/default_dark/icons/add.png differ diff --git a/nw/themes/gui/default_dark/icons/close.png b/nw/themes/gui/default_dark/icons/close.png new file mode 100644 index 00000000..e3ff6ae0 Binary files /dev/null and b/nw/themes/gui/default_dark/icons/close.png differ diff --git a/nw/themes/gui/default_dark/icons/document.png b/nw/themes/gui/default_dark/icons/document.png new file mode 100644 index 00000000..0d619034 Binary files /dev/null and b/nw/themes/gui/default_dark/icons/document.png differ diff --git a/nw/themes/gui/default_dark/icons/folder.png b/nw/themes/gui/default_dark/icons/folder.png new file mode 100644 index 00000000..e7e36709 Binary files /dev/null and b/nw/themes/gui/default_dark/icons/folder.png differ diff --git a/nw/themes/gui/default_dark/icons/orphan.png b/nw/themes/gui/default_dark/icons/orphan.png new file mode 100644 index 00000000..1d2c1b26 Binary files /dev/null and b/nw/themes/gui/default_dark/icons/orphan.png differ diff --git a/nw/themes/gui/default_dark/icons/remove.png b/nw/themes/gui/default_dark/icons/remove.png new file mode 100644 index 00000000..0b218f87 Binary files /dev/null and b/nw/themes/gui/default_dark/icons/remove.png differ diff --git a/nw/themes/gui/default_dark/icons/replace.png b/nw/themes/gui/default_dark/icons/replace.png new file mode 100644 index 00000000..55155d97 Binary files /dev/null and b/nw/themes/gui/default_dark/icons/replace.png differ diff --git a/nw/themes/gui/default_dark/icons/root.png b/nw/themes/gui/default_dark/icons/root.png new file mode 100644 index 00000000..3d478585 Binary files /dev/null and b/nw/themes/gui/default_dark/icons/root.png differ diff --git a/nw/themes/gui/default_dark/icons/save.png b/nw/themes/gui/default_dark/icons/save.png new file mode 100644 index 00000000..6b3c4496 Binary files /dev/null and b/nw/themes/gui/default_dark/icons/save.png differ diff --git a/nw/themes/gui/default_dark/icons/search.png b/nw/themes/gui/default_dark/icons/search.png new file mode 100644 index 00000000..8cdb5347 Binary files /dev/null and b/nw/themes/gui/default_dark/icons/search.png differ diff --git a/nw/themes/gui/default_dark/icons/trash.png b/nw/themes/gui/default_dark/icons/trash.png new file mode 100644 index 00000000..96afbba0 Binary files /dev/null and b/nw/themes/gui/default_dark/icons/trash.png differ diff --git a/nw/themes/gui/default_dark/theme.conf b/nw/themes/gui/default_dark/theme.conf index 98e2b461..1b96e373 100644 --- a/nw/themes/gui/default_dark/theme.conf +++ b/nw/themes/gui/default_dark/theme.conf @@ -5,23 +5,23 @@ credit = Veronica Berglyd Olsen url = https://github.com/vkbo/novelWriter [Palette] -window = 54, 54, 54 -windowtext = 174, 174, 174 -base = 62, 62, 62 -alternatebase = 67, 67, 67 -text = 174, 174, 174 -tooltipbase = 255, 255, 192 -tooltiptext = 21, 21, 13 -button = 62, 62, 62 -buttontext = 174, 174, 174 -brighttext = 174, 174, 174 -highlight = 44, 152, 247 -highlightedtex = 255, 255, 255 -link = 44, 152, 247 -linkvisited = 44, 152, 247 +window = 54, 54, 54 +windowtext = 174, 174, 174 +base = 62, 62, 62 +alternatebase = 67, 67, 67 +text = 174, 174, 174 +tooltipbase = 255, 255, 192 +tooltiptext = 21, 21, 13 +button = 62, 62, 62 +buttontext = 174, 174, 174 +brighttext = 174, 174, 174 +highlight = 44, 152, 247 +highlightedtext = 255, 255, 255 +link = 44, 152, 247 +linkvisited = 44, 152, 247 [GUI] -treewordcount = 197, 200, 198 -statusnone = 150, 152, 150 -statussaved = 39, 135, 78 -statusunsaved = 138, 32, 32 +treewordcount = 197, 200, 198 +statusnone = 150, 152, 150 +statussaved = 39, 135, 78 +statusunsaved = 138, 32, 32