… variant. Now with my recent code, instead of creating 2 different themes, I make it a single theme containing both a Light and Dark variant. I move all semantic logic into common.css which will be included by both variants after they set up their color definitions. For choosing the basic gray to use for the dark variant, I first looked up what is usually recommended. Most articles on the web about dark themes would cite some "Material design" project (apparently originated from Google) which makes guidelines for Android/iOS/Flutter and web applications. Their guidelines recommend #121212 ("Dark Grey") as background color. I tried, it's **really** dark. Maybe I'm just not used to it, but it feels like it might be OK for small phone "apps" which people might want to watch in the dark, but possibly not for a full grown desktop software. I don't really know, I might be wrong and some people might want to edit their pictures with such dark GUI. Anyway for now, I settled for a base background #303030, which is already quite dark, darker than Adwaita dark or than our 2.10 dark variant, but at least doesn't feel like a black hole.
7 lines
188 B
Makefile
7 lines
188 B
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
themedatadir = $(gimpdatadir)/themes/Default
|
|
|
|
themedata_DATA = gimp.css gimp-dark.css common.css
|
|
|
|
EXTRA_DIST = $(themedata_DATA)
|