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

feat: add raw value for use in css and update css palette #36

Merged
merged 3 commits into from
Jan 19, 2023

Conversation

RoootTheFox
Copy link
Member

I noticed that some colors in the css color palette are outdated (example: latte rosewater is #dc8a78 according to the README on the main repo but is #de9584 in the current CSS.

I also added a raw value in the CSS which makes it easier to eg. modify the opacity of the color like so:

element {
   color: rgba(var(--ctp-mocha-teal-raw), 0.5);
}

This does not work with hex, rgb or hsl colors but defining them as a custom value like the raw value I added makes this possible.

@nekowinston nekowinston merged commit 7e885a9 into catppuccin:main Jan 19, 2023
@nekowinston
Copy link
Contributor

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants