mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Visually separate scriptlet parameters in active line
This makes it easier to see how parameters are parsed internally, in order to make it easier to distinguish commas as separator and literal commas meant to be part of a parameter. Related discussion: https://github.com/uBlockOrigin/uBlock-discussions/discussions/865#discussioncomment-11461980
This commit is contained in:
parent
784888471a
commit
076e9fa73e
1 changed files with 4 additions and 0 deletions
|
|
@ -134,6 +134,10 @@
|
|||
.cm-theme-override .cm-s-default .cm-variable {
|
||||
color: var(--sf-variable-ink);
|
||||
}
|
||||
.cm-theme-override .cm-s-default .CodeMirror-activeline .cm-ext-js .cm-variable {
|
||||
text-decoration: underline color-mix(in srgb, var(--sf-variable-ink) 30%, transparent) solid 3px;
|
||||
text-decoration-skip-ink: none;
|
||||
}
|
||||
.cm-theme-override .cm-s-default .cm-warning {
|
||||
background-color: var(--sf-warning-surface);
|
||||
text-decoration: underline var(--sf-warning-ink);
|
||||
|
|
|
|||
Loading…
Reference in a new issue