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

CSS Variables not compatiable with colorPicker popup #314

Open
Yackob234 opened this issue Aug 12, 2022 · 0 comments
Open

CSS Variables not compatiable with colorPicker popup #314

Yackob234 opened this issue Aug 12, 2022 · 0 comments

Comments

@Yackob234
Copy link

I was trying to implement a dark mode on my website, through the use of variable CSS.

In a colour picker, I pass through the variable CSS with a default value var(--map-green, #42AF38), and it works for the colour display I have, but it doesn't for the colour picker. It then defaults to #fffff, which isn't awful, but it'd be nice to get the colour displayed by default there, rather then the user having to change it. The functionality still works, when inputting a colour, just the default isn't read.

Thanks in advance!

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

1 participant