rename var --hljs-bg to --code-block-bg

This commit is contained in:
Aditya Telange 2023-12-23 20:02:09 +05:30
parent 973fc97ae1
commit 8b95406e6d
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
3 changed files with 6 additions and 6 deletions

View File

@ -155,7 +155,7 @@
.post-content .highlight:not(table) { .post-content .highlight:not(table) {
margin: 10px auto; margin: 10px auto;
background: var(--hljs-bg) !important; background: var(--code-block-bg) !important;
border-radius: var(--radius); border-radius: var(--radius);
direction: ltr; direction: ltr;
} }
@ -203,7 +203,7 @@
margin: auto 0; margin: auto 0;
padding: 10px; padding: 10px;
color: rgb(213, 213, 214); color: rgb(213, 213, 214);
background: var(--hljs-bg) !important; background: var(--code-block-bg) !important;
border-radius: var(--radius); border-radius: var(--radius);
overflow-x: auto; overflow-x: auto;
word-break: break-all; word-break: break-all;

View File

@ -12,7 +12,7 @@
--secondary: rgb(108, 108, 108); --secondary: rgb(108, 108, 108);
--tertiary: rgb(214, 214, 214); --tertiary: rgb(214, 214, 214);
--content: rgb(31, 31, 31); --content: rgb(31, 31, 31);
--hljs-bg: rgb(28, 29, 33); --code-block-bg: rgb(28, 29, 33);
--code-bg: rgb(245, 245, 245); --code-bg: rgb(245, 245, 245);
--border: rgb(238, 238, 238); --border: rgb(238, 238, 238);
} }
@ -24,7 +24,7 @@
--secondary: rgb(155, 156, 157); --secondary: rgb(155, 156, 157);
--tertiary: rgb(65, 66, 68); --tertiary: rgb(65, 66, 68);
--content: rgb(196, 196, 197); --content: rgb(196, 196, 197);
--hljs-bg: rgb(46, 46, 51); --code-block-bg: rgb(46, 46, 51);
--code-bg: rgb(55, 56, 62); --code-bg: rgb(55, 56, 62);
--border: rgb(51, 51, 51); --border: rgb(51, 51, 51);
} }

View File

@ -31,7 +31,7 @@
} }
.post-content :not(table) ::-webkit-scrollbar-thumb { .post-content :not(table) ::-webkit-scrollbar-thumb {
border: 2px solid var(--hljs-bg); border: 2px solid var(--code-block-bg);
background: rgb(113, 113, 117); background: rgb(113, 113, 117);
} }