danth/stylix

Ability to choose a custom accent/primary color

Closed this issue · 4 comments

For example in GTK there is an option for an accent color, currently hardcoded to base0D. I would like to have an option like stylix.accent that will be used instead.

For example:

stylix.accent = config.lib.stylix.colors.base0C

I am willing to contribute code if I find the time to do so.

This is an already acknowledged problem:

the use of extraConfig might cause other potentially related issues. As discussed in #159 (comment), it makes it harder to override options, and as discussed in #388 (comment), it makes it easier to accidentally override Stylix options.

-- #395

Sorry if I misunderstood but I'm not saying we should use extraConfig. Just replace the hardcoded base0D with a new parameter accent that will default to base0D but can be overriden. This shouldn't affect IFD. I'm not familiar with how options priority is handled but I don't think adding a new one would break anything.

danth commented

Related: #402

alright, closing this as duplicate and will continue the discussion there