Creating a theme
-
I'm looking to make a gtk4 adwaita maia compact dark looking theme and window styling for Vivaldi.
Where is theme data stored?
I enabled custom css @
vivaldi://experiments/
./opt/vivaldi/resources/vivaldi/style
has what appears to be default css. Perhaps/opt/vivaldi/resources/adwaita-maia-compact-dark/style
a good location? I find it odd that custom css isn't tied to a theme. They should be packaged together as one, or packaged separately and select like a theme through the gui. -
Although the installation directory is only overwritten (not cleaned) on Linux, it isn’t a good idea to place your CSS there. Instead, use something like
~/code/vivaldi-mods/css/
.If you want the CSS to be applied only with some themes, unfortunately you have to use javascript. I would watch
THEME_CURRENT
inchrome.storage.local
and depending on that I’d set a class or adata-*
attribute onbody
(or something).Btw., from what you’re writing it seems like you want to copy over the whole default style and change what you need. Don’t do that; the custom CSS should only override what you dislike.
-
@guigirl That’s a given. Either you know it from your birth, or you don’t.
-
-