-
Notifications
You must be signed in to change notification settings - Fork 688
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-env] env(theme-color) or: Access to Author-Specified Document Metadata #575
Comments
Why not just use CSS variable? |
Over at the WHATWG issue, the original example was: :root {--ThemeColor: meta("theme-color" color, "theme_color" color, #3F51B5);/* like attr() */} That means, |
This ends up falling under the |
While |
Like local element attributes with
attr()
, it would sometimes be handy to be able to access document-wide meta data, e.g. with HTML:The text was updated successfully, but these errors were encountered: