Example:
:root {
--PrimaryThemeColor: #3acfb6; /* with or without quotes */
}
.ColorSwatch:after {
content: var(--PrimaryThemeColor);
}
When this is rendered, the computed CSS is literally that value.
content: var(--PrimaryThemeColor);
Even if I'm using a post-processor that injects the computed value as a fallback, the value itself isn't a string, so it's invalid for content
.
.ColorSwatch:after {
content: #3acfb6;
content: var(--PrimaryThemeColor);
}
content
. – House