-
Notifications
You must be signed in to change notification settings - Fork 59
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
Support separate light/dark themes #420
Comments
It would be cool to see this. Though it would be interesting. One thing to note is only some ports would be capable of using the dark/light themes. Which may make it hard to implement. A potential idea would be to modify the Prior art in userstyles: |
in my opinion ports that support both light and dark themes should include latte as the light mode variant by default, but there should also be a global or local option to disable this (resulting in the global for example: theme = {
light = "Catppuccin Latte";
dark = "Catppuccin " + catppuccinLib.mkUpper cfg.flavor;
};
theme = {
dark = "Catppuccin " + catppuccinLib.mkUpper cfg.flavor;
dark = "Catppuccin " + catppuccinLib.mkUpper cfg.flavor;
}; this could of course be shortened with an if statement but I don't know nix |
This seems like a weird solution to the problem. What if I use mocha as my dark theme and frappe as my light theme? That solution wouldn't work for me. The actual solution would be to add separate light and dark flavor options, and then a default flavor option for either light or dark wheb only one theme can be set. |
@uncenter ah ok, wasn't aware anyone really did that - and that does make more sense. light mode flavour can fallback to the dark mode one when unset |
I've migrated my
programs.zed-editor
to take advantage of #359 (thank you!) and had to override the light theme given currently catppuccin only supports a single "flavour" which is implicitly applied across both light and dark modes: samhh/dotfiles@9ca1a63#diff-87b22b9d53b9e4c7e5bf904535ac70f0ef2566611199d4cf240ad1704423b58dR87-R89Ideally, given the likes of Zed support specifying separate light and dark themes, we'd be able to optionally configure a different flavour for each. Presumably then there'd need to be some notion of a default where that dichotomy doesn't exist.
The text was updated successfully, but these errors were encountered: