If that is all we have, then I will just stick to css variables:
:root { --info-font-size: 8px; } .info { font-size: var(--info-font-size); color: grey; } .news { font-size: var(--info-font-size); color: black; }
If that is all we have, then I will just stick to css variables: