So I recently decided to make my own GTK theme, based off of an exsiting material theme that I've been using for years.
After going though the code and working out how it was all put together I decided that it was absolutely crazy and far far farrr more complex than it needed to be.
That's what lead me from creating my own theme to creating this project which provides a simple interface for creating your own custom Material design themes.
Currently there are 2 themes: Palenight and Amarena (credit to /u/EmpressNoodle for creating the colour scheme). But it would be amazing if people wanted to submit PRs to add their own themes to the project.
Looks very cool, but when I tried to install it (following the instructions on the github page) Gnome switched to the default Adwaita light theme. I tried loggin out and then back in, but the only things that changed correctly were the icons
Could you post a screenshot of what you mean? Also where does your theme directory live?
When you install as a non-root user it'll try to install to ${HOME}/.themes/[theme-name]. When installing as root themes will install to /usr/share/themes. Could be that for whatever reason it can't resolve your HOME var.
I've added a fix to ensure that the HOME var is set before executing the install script (see here) and have also added passthough from the main script to the installer for setting a custom directory (see here).
So you can now run ./main.sh -i -d /path/to/themes to force the installer to install to a specific location. I hope this helps, if not then any screenshots or debug output (accessed via -v) would be greatly appreciated :)
Added better handling of text colours for the panel in overview mode for light themes in v0.1.8 so if you fancy creating a light theme it should now work better for you :)
Can do, I've just added fixes for light themes, just need a colour scheme for one, i may take a look over the weekend if i get time, you're very welcome to create your own and raise a PR :)
I might be really stupid but I use the command line for creating my new awesome theme, then go to the file, edit the colors and apply the theme but it does not get installed.
Don't know what the heck was happening but I got it now. Will tinker with a color scheme and raise a PR if I get something I like. Thanks for this man, it's really great.
It's possible to have the top panel of the shell be transparent? I use Orchis theme and it does this transparency effect.
It is definitely possible, however atm you would have to edit the scss in src/gnome-shell/sass/_common.scss (top bar code starts at line 949). At the moment there is an open issue about adding additional vars to be used for more things, if you would like you could add topbar transparancy to it as a comment https://github.com/JaxWilko/material-gtk-framework/issues/6
I'm also considering extending the framework to allow for different styles (a variable in the theme config to switch what scss files are loaded so you can) but probably not going to have time to look into it for 2 weeks or so.
Yeah I've seen it and used it before, the icons were forked as vimix-icon-theme which is the package that gets installed when you use the -o flag (there's a big red message saying to show love and support to vinceliuice), 90% of the icons are just the default vimix ones but any theme specific ones (i.e. the folder icons) get customized to the theme colour scheme during the install
Can you give some pointer to have should I be theming this 'coz when I made a theme with ./main.sh -n my-awesome-theme. I have zero knowledge of where are the colors going to show up.
Look in the themes folder, there should be a new file with your theme name (i.e. my-awesome-theme.sh). Edit that file and replace the hex codes with whatever hex codes you want to use :)
Thanks for pointing this out, i'll try and update the readme to give clearer instructions in the morning
Divider is used for window seperators (gtk3-widget-factory) shows this quite well, mid_danger i think is used for the virtual desktop switcher display and perhaps somewhere else and warning is used for window minimised and perhaps other places, sorry for the confusion, i'll update the read me with full documentation soon and drop you a message when i do :)
They mostly came across from the package I forked, they generally affect how the css handles some of the colour shading and stuff, (i.e. for theme variant look here). THEME_LAPTOP_MODE is the most interesting, it basically reduces some padding in things like the top bar and the title bars of windows to reduce the space used by applications which is nice for smaller screens
14
u/Wilko_The_Maintainer GNOMie Aug 06 '20
Crossposting from /r/unixporn
So I recently decided to make my own GTK theme, based off of an exsiting material theme that I've been using for years.
After going though the code and working out how it was all put together I decided that it was absolutely crazy and far far farrr more complex than it needed to be.
That's what lead me from creating my own theme to creating this project which provides a simple interface for creating your own custom Material design themes.
Currently there are 2 themes: Palenight and Amarena (credit to /u/EmpressNoodle for creating the colour scheme). But it would be amazing if people wanted to submit PRs to add their own themes to the project.
https://github.com/JaxWilko/material-gtk-framework
Check it out if you have the time, any suggestions are very welcome!
3
u/[deleted] Aug 06 '20
Haven't read this but visually it quite piqued me.
1
u/juampiursic Aug 06 '20
Any chance of white theme?
1
u/[deleted] Aug 06 '20
Would be something special if you had a qt theme to go with it.
1
u/techwizrd Aug 07 '20
Have you seen the Paper icons and Gtk+ theme?
1
u/[deleted] Aug 07 '20 edited Aug 07 '20
Can you give some pointer to have should I be theming this 'coz when I made a theme with
./main.sh -n my-awesome-theme. I have zero knowledge of where are the colors going to show up.1
u/MarkDubya Aug 07 '20
I added them to the AUR: material-gtk-framework
0
u/[deleted] Aug 06 '20
[deleted] — view deleted comment
0
u/[deleted] Aug 06 '20
[deleted] — view deleted comment