Replies: 1 comment 6 replies
-
|
Theming is also something in my mind recently. I am using base16 for colors throughout the whole system whenever is possible. My thought in this right now is that to expose some semantic values and use it: Have a new theme section in config: [theme]
light_bg = { light = "xx", dark = "xx" }
normal_bg = { light = "xx", dark = "xx" }
dark_bg = { light = "xx", dark = "xx" }
light_text = { light = "xx", dark = "xx" }
normal_text = { light = "xx", dark = "xx" }
dark_text = { light = "xx", dark = "xx" }And then Neru can then populate these values into the whole system color without any further configuration. However, we should keep the For starters and the default config. We'll be able to strip out all of the color fields in respective UI section. Not sure what do you think about this. I think even just black and white, different shades is needed so that it doesn't look dull. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Arising this question because of our call with @tkhorik in the past. Basically he told me that it was a mistake from his side since it doesn't really matter what theme you are on. Underlying content is going to be both black and white no matter what theme your operating system is.
But because of theming config looks scary and changing colors is always a routine thing.
What I suggest: let's just change color format!
It also should make it so much easier with colors in the code, since you don't have to write boilerplate in each use-site and define multiple config properties for color.
cc @y3owk1n
Beta Was this translation helpful? Give feedback.
All reactions