Skip to content

[Feature Request] Allow usage of CSS variables with global overlays #744

Discussion options

You must be logged in to vote

I was wrong, it seems it's possible to get variables with getComputedStyle or computedStyleMap (depending on the browser).

I found that getComputedStyle is working to find variables on safari and firefox but not on chrome. Chrome can find the variables with computedStyleMap.

https://codepen.io/mathieupuech/pen/gOPpmMO

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

MathieuPuech
Jun 6, 2020
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

MathieuPuech
Jun 6, 2020
Collaborator Author

You must be logged in to vote
0 replies
Comment options

MathieuPuech
Jun 6, 2020
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by jorenbroekema
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #744 on September 29, 2020 08:58.