File tree Expand file tree Collapse file tree 3 files changed +19
-9
lines changed
Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 4444 --text-normal : var (--color-base-85s );
4545 --active-line-color : var (--color-accent );
4646 --text-muted : var (--color-base-70 );
47-
48- /* custom middle ground between text-muted and text-faint */
49- --text-gray : var (--color-base-60 );
47+ --text-gray : var (--color-base-60 ); /* custom middle between `text-muted` and `text-faint` */
5048 --text-faint : var (--color-base-50 );
5149 --text-accent : var (--color-accent );
5250 --text-accent-hover : var (--hover-accent );
Original file line number Diff line number Diff line change @@ -463,22 +463,28 @@ blockquote code {
463463/** Strikethroughs
464464──────────────────────────────────────────────────── */
465465
466- /* make the "~" readable */
467- .cm-formatting-strikethrough {
468- text-decoration : none;
466+ .cm-strikethrough {
467+ body : not (uncolored-strikethroughs ) & {
468+ color : rgba (var (--color-red-rgb ), 0.85 );
469+ }
470+
471+ /* make the "~" readable */
472+ & .cm-formatting {
473+ text-decoration : none;
474+ }
469475}
470476
471477/* ───────────────────────────────────────────────── */
472478/** Highlights
473479──────────────────────────────────────────────────── */
474480
475481.theme-light {
476- --highlight-hue-1 : 280 ;
482+ --highlight-hue-1 : 50 ;
477483 --highlight-sla-values : 85% 70% / 40% ;
478484}
479485
480486.theme-dark {
481- --highlight-hue-1 : 280 ;
487+ --highlight-hue-1 : 50 ;
482488 --highlight-sla-values : 85% 40% / 40% ;
483489}
484490
Original file line number Diff line number Diff line change @@ -316,10 +316,16 @@ settings:
316316 description : Hue of ==highlighted text==
317317 markdown : true
318318 type : variable-number-slider
319- default : 280
319+ default : 40
320320 min : 0
321321 max : 360
322322 step : 5
323+ - id : uncolored-strikethroughs
324+ title : Uncolored italic
325+ markdown : true
326+ description : " ~~Strikethrough text~~ will use the standard text color instead of being red."
327+ type : class-toggle
328+ default : false
323329
324330 # ─────────────────────────────────────────────────────────────────────────────
325331 # Editor Content
You can’t perform that action at this time.
0 commit comments