From 495523db39d3ccd710d8d40f95b75e1e327ac062 Mon Sep 17 00:00:00 2001 From: Jehan Date: Wed, 31 Jan 2024 14:53:54 +0100 Subject: [PATCH] themes: removing "Darker" theme. I believe there is a real use case for darker or lighter themes, but this particular theme is not particularly maintained and has no light variant (or to be accurate: the light variant is just a link to the "Default" one). If someone is interested in such themes, we'll welcome contributions to revive a new theme which should have at the very least both a light and dark version, and we could name it "Contrast" (rather than "Darker" which focuses on a dark variant only). I think it's better to do it this way rather than releasing with a half-done job. --- themes/Darker/gimp-dark.css | 64 ------------------------------- themes/Darker/gimp.css | 76 ------------------------------------- themes/Darker/meson.build | 6 --- themes/meson.build | 1 - 4 files changed, 147 deletions(-) delete mode 100644 themes/Darker/gimp-dark.css delete mode 100644 themes/Darker/gimp.css delete mode 100644 themes/Darker/meson.build diff --git a/themes/Darker/gimp-dark.css b/themes/Darker/gimp-dark.css deleted file mode 100644 index 04ba2d7a34..0000000000 --- a/themes/Darker/gimp-dark.css +++ /dev/null @@ -1,64 +0,0 @@ -/* Dark variant for the Default theme for GIMP 3.0 */ - -/* Hint for debugging themes: - * first enable the GTK inspector with - gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true - * then (after restarting GIMP) call it up with ctrl+shift+i - * or from GIMP's UI: File > Debug > Start GtkInspector - */ - -/* Basic foreground, background and border colors. */ -@define-color fg-color white; -@define-color bg-color rgb(30,30,30); -@define-color border-color rgb(35,35,35); - -/********* Variants for foreground colors *********/ - -/* In places where we want not as strongly contrasted text. */ -@define-color dimmed-fg-color rgb(155,155,155); -/* Disabled items, such as disabled actions in menus. */ -@define-color disabled-fg-color rgb(145,145,145); -/* Disabled buttons are dimmed even more (text needs to still be - * readable, but buttons design are usually enough. */ -@define-color disabled-button-color rgb(50,50,50); - -/********* Variants for background colors *********/ - -/* Background color for hovered items to "stick out". */ -@define-color hover-color rgb(5,5,5); -/* Background color when we want widgets-in-widgets to differenciate. It - * will usually be "less extreme", i.e. darker on a light theme, or - * lighter on a dark theme. - */ -@define-color widget-bg-color rgb(35,35,35); -/* Color for selected items, in particular when their usual background - * color is @widget-bg-color or @bg-color. It will usually be ligher on - * a light theme, or darker on a dark theme. - */ -@define-color selected-color rgb(5,5,5); - -/* Background color more extreme in the theme tendency, i.e. darker on a - * dark theme, ligther on a light theme. */ -@define-color extreme-bg-color rgb(20,20,20); -/* Color for a selected item to "stick out" when @extreme-bg-color is - * used. It will usually be darker than @bg-color on a light theme, - * lighter on a dark theme. - */ -@define-color extreme-selected-color rgb(40,40,40); - -/********* Variants for border colors *********/ - -@define-color strong-border-color rgb(50,50,50); -@define-color stronger-border-color rgb(75,75,75); -/* Border color for the edge of certain widgets. This needs - * to be dark on light theme and very dark on dark themes */ -@define-color edge-border-color rgb(26,26,26); - -/********* Colors for special cases *********/ - -@define-color scrollbar-slider-color rgb(140,140,140); -@define-color scrollbar-trough-color rgb(5,5,5); - -@define-color ruler-color rgba(35,35,35,0.3); - -@import url("../Default/common-dark.css"); diff --git a/themes/Darker/gimp.css b/themes/Darker/gimp.css deleted file mode 100644 index 91dba41c48..0000000000 --- a/themes/Darker/gimp.css +++ /dev/null @@ -1,76 +0,0 @@ -/* Light variant for the Default theme for GIMP 3.0 */ - -/* Hint for debugging themes: - * first enable the GTK inspector with - gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true - * then (after restarting GIMP) call it up with ctrl+shift+i - * or from GIMP's UI: File > Debug > Start GtkInspector - */ - -/* Basic foreground, background and border colors. */ -@define-color fg-color black; -@define-color bg-color rgb(235,235,235); -@define-color border-color rgb(220,220,220); - -/********* Variants for foreground colors *********/ - -/* In places where we want not as strongly contrasted text. */ -@define-color dimmed-fg-color rgb(100,100,100); -/* Disabled items, such as disabled actions in menus. */ -@define-color disabled-fg-color rgb(110,110,110); -/* Disabled buttons are dimmed even more (text needs to still be - * readable, but buttons design are usually enough. */ -@define-color disabled-button-color rgb(200,200,200); - -/********* Variants for background colors *********/ - -/* Background color for hovered items to "stick out". */ -@define-color hover-color rgb(250,250,250); -/* Background color when we want widgets-in-widgets to differenciate. It - * will usually be "less extreme", i.e. darker on a light theme, or - * lighter on a dark theme. - */ -@define-color widget-bg-color rgb(220,220,220); -/* Color for selected items, in particular when their usual background - * color is @widget-bg-color or @bg-color. It will usually be ligher on - * a light theme, or darker on a dark theme. - */ -@define-color selected-color rgb(250,250,250); - -/* Background color more extreme in the theme tendency, i.e. darker on a - * dark theme, ligther on a light theme. */ -@define-color extreme-bg-color rgb(250,250,250); -/* Color for a selected item to "stick out" when @extreme-bg-color is - * used. It will usually be darker than @bg-color on a light theme, - * ligher on a dark theme. - */ -@define-color extreme-selected-color rgb(220,220,220); - -/********* Variants for border colors *********/ - -@define-color strong-border-color rgb(200,200,200); -@define-color stronger-border-color rgb(185,185,185); -/* Border color for the edge of certain widgets. This needs - * to be dark on light theme and very dark on dark themes */ -@define-color edge-border-color rgb(185,185,185); - -/********* Colors for special cases *********/ - -@define-color scrollbar-slider-color rgb(110,110,110); -@define-color scrollbar-trough-color rgb(250,250,250); - -@define-color ruler-color rgba(220,220,220,0.3); - -/* - * Paned separator handles - */ -paned.horizontal > separator { - background-image: url("../Default/ui/separator-handle-v.svg"); -} - -paned.vertical > separator { - background-image: url("../Default/ui/separator-handle-h.svg"); -} - - -@import url("../Default/common-light.css"); diff --git a/themes/Darker/meson.build b/themes/Darker/meson.build deleted file mode 100644 index 9e1432ca67..0000000000 --- a/themes/Darker/meson.build +++ /dev/null @@ -1,6 +0,0 @@ -files = [ - 'gimp.css', 'gimp-dark.css', -] - -install_data(files, - install_dir: gimpdatadir / 'themes' / 'Darker') diff --git a/themes/meson.build b/themes/meson.build index 2b14fb78ba..5f1ab2bba1 100644 --- a/themes/meson.build +++ b/themes/meson.build @@ -1,5 +1,4 @@ subdir('Default') -subdir('Darker') themes = [ 'System',