-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible collaboration #130
Comments
that seems to be similar to #101 and #102 first part of that is already implemented here: second part will be to use base16 templates for exporting oomox themes, they covering quite a lot of applications: also here list of templates is newer, but seems to be smaller: https://github.com/chriskempson/base16 and regarding theme file format: i think what extending the current omox theme file format with grayscale shades (https://github.com/base16-builder/base16-builder/blob/master/db/schemes/3024.yml#L4-L11) should make oomox themes compatible with base16 themes in both directions and generally (together with all currently available theme variables) should cover most of the usecases i could come up with. however current plugin API also allows for plugins to extend oomox theme format with their own theme variables or import theme in its own format (defined by theme file extension) also i took a look on |
so, are you still interested? otherwise please close the ticket |
see also related discussion here: #116 |
Sure, still interested, I was just busy with real life things (more than usual, but getting normal again). I had a quick look at base16, is seems to be focused on syntax highlighting in text editors. At this point I think it makes sense to treat UI colors and syntax highlighting colors independently, or mostly so. I was triyng to do both together but it kind of looked as a forced thing. What's the scope of oomox with respect to this? Do you want to do both or just UI colors? Does it make sense to use base16 colors for UI? What about a base16 export plugin? |
Regarding base16 i am not proposing to stick to their format but just to extend the current oomox theme format to be fully-compatible with base16. Regarding oomox format itself, in the base theme model (which can be extended by plugins), https://github.com/actionless/oomox/blob/master/oomox_gui/theme_model.py, currently are presented:
Do you have any more suggestions rather than adding Light/Dark colors? Also I am not sure how to handle those colors in the UI since so far they will be used only for importing/exporting base16 colortheme so it could be quite confusing for a user to have them in the list. Also on exporting to base16, i was thinking what for the themes which doesn't have Light/Dark colors (ie were not imported from base16 format) to generate those colors from gtk BG and FG (choosing whatever of them is darker than other one) |
I don't think you can do a perfect 1:1 mapping between base16 themes (intended for text editors) and oomox themes (intended for GUI elements). They're not meant to be compatible, because they have a different target. |
oomox already have mapping for terminal colors which are almost compatible (except for missing
Yup, i've linked that ticket before, #102 |
Going back to the initial topic, I'll try to summarize the features in
Of course, this is your project and you choose what features are important to you. |
i don't have strong preference on that, actually. for me it's not a big difference if export plugin will be named
it can be done either as part of previous point or they can be added here: https://github.com/actionless/oomox-gtk-theme/tree/master/src
oomox was always meant to be theme generator/designer. on Linux/*BSD trying to write something like in quotes above would always quite flacky and potentially-destroyable to user's configs. for example I know at least 5 different ways of changing GTK+3 theme, nyaff said |
This is true, sadly. There are few cases where it can be done safely, but most of the times I end up editing config files directly. |
that's quite unix-way approach, i think |
also i think to make it easier for gcs to quickly switch the theme, you can make export plugin to export all the terminal and other themes right to |
For quite some time, I've been writing my own tool to easily switch between color themes:
https://github.com/livanh/gcs
Under the hood, it uses oomox to generate themes for gtk+ 2/3, but it also applies the same colors to a number of applications that have their own settings (e.g. window managers, editors with syntax highlighting), similarly to how oomoxify works.
My main goal is to have as much visual consistency as possible across the entire desktop, and keep it while switching themes. I think there is the potential for some interesting synergies between the two projects. Things like a common format for themes or plugins. @actionless what do you think? I can share more details if you are interested (I still need to write some good documentation).
The text was updated successfully, but these errors were encountered: