Skip to content
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

black / white as 0 value #22

Open
silveltman opened this issue Jan 9, 2024 · 4 comments
Open

black / white as 0 value #22

silveltman opened this issue Jan 9, 2024 · 4 comments

Comments

@silveltman
Copy link
Contributor

I really like the addition of hue-fg. I would also like a 0 (zero) value, which would be the same for all palettes; white is light mode, black in dark mode.

@endigma
Copy link
Owner

endigma commented Jan 9, 2024

This is a pretty trivial PR if you want to add it yourself, I'd accept it

@silveltman
Copy link
Contributor Author

Sorry for the late response. I tried it, but I can't quiet grasp your code unfortunately

@endigma
Copy link
Owner

endigma commented Feb 3, 2024

You are gonna want to add it to genCSS for adding the variable to the light/dark selectors and either generateColors or just manually adding the entry into the theme.colors bit of index.ts.

The codebase is a bit of a mess, I plan to clean it up soon.

@silveltman
Copy link
Contributor Author

Kindly let me know when you do, I can take another try then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants