User talk:Daniel Quinlan/Scripts/UserHighlighter
Appearance
"Your current color" column
[edit]I made User:Daniel Quinlan/Scripts/UserHighlighter#Default colors. We can also indicate the current color that the user has after they install the script and add customizations. But that's impossible now – styles only apply to <a>, and you can't make an <a> with arbitrary class in wikitext.
To address that, in User:Daniel Quinlan/Scripts/UserHighlighter.css, in class selectors, something other can be added to `a.uh-extendedconfirmed`, e.g.
a.uh-extendedconfirmed,
.uh-extendedconfirmed.userHighlighter-demo {
color: #35b3b3 !important;
}
Then we will need to add class="uh-extendedconfirmed userHighlighter-demo"
to our examples. Jack who built the house (talk) 14:18, 10 November 2024 (UTC)
- Thanks for the suggestion. I'll have to think about this one. I may change how CSS is handled at some point, which could make something specific to the documentation page possible, but other improvements are higher priority right now. Daniel Quinlan (talk) 19:50, 10 November 2024 (UTC)