You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
Can't overwrite default font (Roboto) using custom property mixin when any paper font mixins are referenced ie: @apply(--paper-font-sunhead); as it looks like nested CSS variables get confused.
Description
Can't overwrite default font (Roboto) using custom property mixin when any paper font mixins are referenced ie: @apply(--paper-font-sunhead); as it looks like nested CSS variables get confused.
Live example:
https://codepen.io/rhysyg03/pen/YxgYQp?editors=1100
When a CSS variable is nested, in this example:
--paper-font-subhead_-_font-family variable refers back to variable in the same declaration (html) even if it’s been overwritten (.my-class).
Expected outcome
The NEW --paper-font-common-base_-_font-family mixin would overwrite default variable.
Actual outcome
The NEW --paper-font-common-base_-_font-family mixin DOES NOT get overwritten.
Steps to reproduce
Browsers Affected