Adjust code colors

This commit is contained in:
lolabird 2025-01-11 13:24:32 -07:00
commit 905c91937f
No known key found for this signature in database
GPG key ID: 1A741DA554A3B0CF

View file

@ -111,11 +111,11 @@ This theme inspired by and meant to be paired with Linux theme Juno-Ocean by Eli
--black: #161925; --black: #161925;
--dark-grey: #7885b5 /*#6573aa*/; --dark-grey: #7885b5 /*#6573aa*/;
--red: #eb3247; --red: #eb3247;
--light-red: #f35645; --light-red: #ff3981 /*#f35645*/;
--green: #94f700; --green: #00f763 /*#94f700*/;
--light-green: #94c800; --light-green: #00f7a1 /*#94c800*/;
--brown: #fad32f; --brown: #fad32f;
--yellow: #c2a325; --yellow: #dec354 /*#c2a325*/;
--blue: #3888ff /*#0066ff*/; --blue: #3888ff /*#0066ff*/;
--light-blue: #8361ff /*#5e32ff*/; --light-blue: #8361ff /*#5e32ff*/;
--purple: #ef11ff; --purple: #ef11ff;
@ -155,7 +155,7 @@ html {
--detail-font-family: Jost, sans-serif; --detail-font-family: Jost, sans-serif;
--detail-font-size: 1.3rem; --detail-font-size: 1.3rem;
/*code fonts*/ /*code fonts*/
--monospace-font-family: JetBrainsMono, monospace; --monospace-font-family: JetBrainsMono, monospace;
--monospace-font-size: 1.2rem; --monospace-font-size: 1.2rem;
@ -171,7 +171,7 @@ html {
/*changes the edit icons on text notes and the alert messages*/ /*changes the edit icons on text notes and the alert messages*/
--more-accented-background-color: var(--table-header-gray); --more-accented-background-color: var(--table-header-gray);
/*left, bottom left, and lower upper right icons*/ /*left, bottom left, and lower upper right icons*/
--button-background-color: transparent; --button-background-color: transparent;
--button-disabled-background-color: var(--table-header-gray); --button-disabled-background-color: var(--table-header-gray);
--button-border-color: var(--main-text-color); --button-border-color: var(--main-text-color);
@ -295,7 +295,7 @@ html {
/***Only applies if 'Show Position in TOC' widget is in use***/ /***Only applies if 'Show Position in TOC' widget is in use***/
.toc-widget span.toc li[style] { .toc-widget span.toc li[style] {
color: var(--tan) !important; color: var(--link-color) !important;
} }
.toc-widget span.toc li:not([style*="color:"]) { .toc-widget span.toc li:not([style*="color:"]) {
color: inherit !important; color: inherit !important;
@ -943,7 +943,7 @@ NOTE: comments for this section are for how they appear in CSS code notes unless
/***highlighted and selected text in code notes***/ /***highlighted and selected text in code notes***/
.CodeMirror-selected { .CodeMirror-selected {
background-color: var(--code-select-gray); background-color: var(--code-select-gray);
} }
.CodeMirror-focused .CodeMirror-selected { .CodeMirror-focused .CodeMirror-selected {
background-color: var(--code-select-gray); background-color: var(--code-select-gray);
@ -996,7 +996,7 @@ code.hljs {
} }
.hljs{ .hljs{
background:#fff; background:#fff;
color: yellow !important; color: --yellow !important;
} }
.hljs-number { .hljs-number {
color: var(--light-green) !important; color: var(--light-green) !important;