Content-Length: 205090 | pFad | http://github.com/hcodes/snowflakes/issues/73

1F Support CSS custom properties as `color` value · Issue #73 · hcodes/snowflakes · GitHub
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

Support CSS custom properties as color value #73

Open
odnamrataizem opened this issue Oct 21, 2024 · 1 comment
Open

Support CSS custom properties as color value #73

odnamrataizem opened this issue Oct 21, 2024 · 1 comment

Comments

@odnamrataizem
Copy link

I'm trying to set the snowflakes' color using CSS custom properties (var(--my-custom-property)) to make it easier to account for light and dark modes, but this seems not to currently work.

This isn't necessarily related to #35, as a possible fix might be inlining the SVG images into the DOM instead of using them as a background-image.

@hcodes
Copy link
Owner

hcodes commented Oct 22, 2024

Inline SVG for snowflakes increases the number of nodes, may lead to a decrease in performance, there may be a lot of snowflakes on the page. I will try to close issue #35

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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/hcodes/snowflakes/issues/73

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy