Why TW does not use of CSS variables?
in a tiddler put the below snippet:
\rules except dash
<style>
a {
color: var(--bs-link-color);
text-decoration: underline;
}
.myred {
--bs-link-color: red;
color:var(--bs-link-color);
}
.mygreen {
--bs-link-color: green;
color:var(--bs-link-color);
}
</style>
<div class=myred>
This is a test <a>Carla</a>
</div>
<div class=mygreen>
This is a test <a>Carla</a>
</div>
This example shows how use inheritance for link color