-
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
🗣 feedback wantedcommunity feedback wantedcommunity feedback wanted🚸 help wantedissue needs helpissue needs help
Description
Lately I've been seeing more and more stats with box-shadows, font-sizes and colors reported as var(--baseFontSize) or var(--elevation-1). This is not useful in itself to show in the stats, so I'm wondering:
Should we try to find that custom property up in the CSS cascade to get the actual value and display it in the stats?
There's a risk in that, because the cascase may cause a certain font-size never to be applied. But then again, none of the reported stats is guaranteed to be applied ever.
html {
--baseFontSize: 16px;
}
main {
--baseFontSize: 14px;
}
.my_component {
font-size: var(--baseFontSize); /* Could be 14 or 16, depending on it's location */
}Metadata
Metadata
Assignees
Labels
🗣 feedback wantedcommunity feedback wantedcommunity feedback wanted🚸 help wantedissue needs helpissue needs help