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

Use light-dark css function #17780

Open
calixteman opened this issue Mar 7, 2024 · 0 comments
Open

Use light-dark css function #17780

calixteman opened this issue Mar 7, 2024 · 0 comments
Labels

Comments

@calixteman
Copy link
Contributor

For reference:
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/light-dark

It should help to slightly reduce the size of the css for the Firefox build.

For the generic build, we could use (I didn't test it):
https://socket.dev/npm/package/@csstools/postcss-light-dark-function

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

No branches or pull requests

2 participants