Skip to content

Commit 0e8481c

Browse files
committed
feat: switched code highlighting to monokai style
1 parent 84d7347 commit 0e8481c

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

hugo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title = 'Pascal - Readable, Reliable Programming'
77

88
[markup]
99
[markup.highlight]
10-
style = 'github'
10+
style = 'monokai'
1111
lineNos = true
1212
tabWidth = 2
1313
codeFences = true

static/css/main.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,6 @@ body {
6666
transition: var(--transition);
6767
}
6868

69-
/* Dark theme adjustments for syntax highlighting */
70-
[data-theme="dark"] .chroma { background-color: var(--code-bg) !important; color: var(--text-primary) !important; }
71-
[data-theme="dark"] .highlight { background-color: var(--code-bg) !important; }
72-
[data-theme="dark"] .highlight > div { background-color: var(--code-bg) !important; }
73-
[data-theme="dark"] .highlight pre { background-color: var(--code-bg) !important; color: var(--text-primary) !important; }
74-
[data-theme="dark"] .chroma .lntable { background-color: var(--code-bg) !important; }
75-
[data-theme="dark"] .chroma .lntd { background-color: var(--code-bg) !important; }
76-
7769
/* Container */
7870
.container {
7971
max-width: var(--container-max-width);

0 commit comments

Comments
 (0)