Change button foreground color in Latte for better readability#54
Change button foreground color in Latte for better readability#54PinkSerenity wants to merge 3 commits intocatppuccin:mainfrom
Conversation
|
Hi, the files you edited are generated via catppuccin/whiskers which is our in-house templating tool. In order for this PR to be accepted, you will need to download whiskers, edit the react_native.tera template, and run |
|
Raw strings (which were edited here) don't actually have a _dark_ and _light_ field that semantics do. To not effect the dark flavours we'll have to create a mixin that renders a different colour based on if the tera is generating a light (latte) theme or not |
|
You can create a wrapper if you want but it's fairly simple anyways, e.g. |
|
I suggested a wrapper as I assume there's more cases where it should be tweaked |
Huh. I already wondered whether there wasn't an easier way. Alright, I'll try that. Thank you. |
|
can you also show screenshots of what this changes? |
|
you are affecting the dark themes as well. the string on the dark themes is used elsewhere. Also, split the changes and tera generation into separate commits. I also dont like the idea of using accent there. it should be a lighter surface or overlay I can do so if you're unable. |
I'm sorry, I'm still trying to get the hang of all these variables. Maybe I should first focus on that. What I don't yet understand is why the buttons don't have the color in dark mode but do in light mode? Does Discord asign different variables for surfaces in light mode? Because that makes things really complicated. |
|
@PinkSerenity yes, different variables are used in different places on light and dark. Thats why semantic has multiple fields. Raw doesnt though so we need to do that processing in the tera. |
|
|
Yeah, I agree. I will just leave it open and will likely use the themes from my repository as my daily driver until then. Edit: And I just saw what you've written in the issue. Seems like it got resolved fairly quickly. |
















This changes the button foreground color (previously
#ccd0da) in Latte to the accent color. See #53.