Skip to content

Instantly share code, notes, and snippets.

@alensiljak
Last active March 29, 2018 11:19
Show Gist options
  • Save alensiljak/e0e588eca2ee05c8afd858c7800cfc4a to your computer and use it in GitHub Desktop.
Save alensiljak/e0e588eca2ee05c8afd858c7800cfc4a to your computer and use it in GitHub Desktop.
GnuCash 3 Black Theme
/*
GnuCash 3.0 black theme
GTK has a way of declaring variables, which is not a valid CSS anymore and
tooling support is gone.
CSS has a way of declaring variables, which is not supported by GTK.
*/
* {
background-color: black;
color: lightsteelblue;
}
/*
Examples of other selectors:
window {}
window label {}
box * {}
*/
/* This is an example using CSS variables but it does not work with GTK3.
:root {
--main-bg-color: black;
--main-fg-color: lightsteelblue;
}
window {
background-color: var(--main-bg-color);
color: var(--main-fg-color);
}
*/
/*
Example of using GTX variables:
@define-color bg_color #f9a039;
* {
background-color: @bg_color;
}
*/
@alensiljak
Copy link
Author

On Windows, this goes into C:\Users\<user>\AppData\Roaming\GnuCash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment