Skip to content

Commit

Permalink
Merge pull request #37 from bob2402/fix-markdown-editor
Browse files Browse the repository at this point in the history
problem: markdown editor can't be seen in dark mode
  • Loading branch information
gsovereignty authored Sep 29, 2024
2 parents 218eacc + 95e9218 commit 3864774
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,19 @@
background-blend-mode: lighten;
background-color: gray;
}

html.dark .carta-theme__default {
--border-color: var(--border-color-dark);
--selection-color: var(--selection-color-dark);
--focus-outline: var(--focus-outline-dark);
--hover-color: var(--hover-color-dark);
--caret-color: var(--caret-color-dark);
--text-color: var(--text-color-dark);
}

/* Code dark mode */
/* Only if you didn't specify a custom code theme */
html.dark .shiki,
html.dark .shiki span {
color: var(--shiki-dark) !important;
}

0 comments on commit 3864774

Please sign in to comment.