Skip to content

Commit 014e5ed

Browse files
Merge pull request #117 from JankariTech/fix/font-color-in-dark-mode
[FIX] fix for text readability when dark mode enabled.
2 parents 5d06194 + c0c648a commit 014e5ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,15 +411,15 @@ function applyTemplateIfNeeded() {
411411
<style lang="scss">
412412
.dark-mode {
413413
.reveal {
414-
color: var(--oc-color-text-default) !important;
414+
color: var(--oc-color-text-default, var(--color-role-on-surface)) !important;
415415
416416
h1,
417417
h2,
418418
h3,
419419
h4,
420420
h5,
421421
h6 {
422-
color: var(--oc-color-text-default) !important;
422+
color: var(--oc-color-text-default, var(--color-role-on-surface));
423423
}
424424
425425
code {

0 commit comments

Comments
 (0)