Is it possible to set opacity
value in hex color independently (to avoid repetition), or to append to var()
e.g. var(--set1)1
?
Example:
:root {
--set1: #abc;
--set1-1: #abc1;
--set1-3: #abc3;
--set1-5: #abc5;
}
pre {
border-left: 4px solid var(--set1);
background-color: var(--set1-1);
}