mirror of
https://github.com/ParkerTenBroeck/automata.git
synced 2026-06-07 05:28:45 -04:00
starting work on highlights
This commit is contained in:
parent
ba996ee942
commit
58fb1b956c
3 changed files with 73 additions and 1 deletions
|
|
@ -132,3 +132,14 @@
|
|||
text-underline-offset: 2px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.cm-highlight {
|
||||
border-radius: 4px;
|
||||
padding: 0 1px;
|
||||
}
|
||||
|
||||
.cm-highlight-warning { background: color-mix(in srgb, var(--warning) 40%, var(--bg-0)); }
|
||||
.cm-highlight-focus { background: color-mix(in srgb, var(--focus) 40%, var(--bg-0)); }
|
||||
.cm-highlight-success { background: color-mix(in srgb, var(--success) 40%, var(--bg-0)); }
|
||||
.cm-highlight-error { background: color-mix(in srgb, var(--error) 40%, var(--bg-0)); }
|
||||
Loading…
Add table
Add a link
Reference in a new issue