TiddlyWiki5 icon indicating copy to clipboard operation
TiddlyWiki5 copied to clipboard

[IDEA] Make .tc-tiddlylink style accessible on its own

Open twMat opened this issue 1 year ago • 0 comments

I want to style a string to make it appear like a link. (The string is a label next to a html checkbox.) But .tc-tiddlylink is not defined as its own style! All occurences in the vanilla stylesheet appear like so:

a.tc-tiddlylink or button.tc-tiddlylink or .tc-subtitle .tc-tiddlylink {...

This effectively "locks up" the styles to be applied to only those elements.

Proposal If it not is possible to simply remove the prefixing selector in the stylesheet (I don't see why a has to be included in the definition?), then I wish there would be a separate definition like so:

.tc-tiddlylink {
  < same styles as for a.tc-tiddlylink >
}

twMat avatar Jul 28 '24 18:07 twMat