WIP high contrast dark mode.

I can't seem to find where I'm removing the "dark" class, however.
This commit is contained in:
Benjamin A. Shelton 2026-11-27 23:27:53 -07:00
commit 41e0f6c204
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01
3 changed files with 21 additions and 3 deletions

View file

@ -63,7 +63,7 @@ html.df .study-notes :is(em, i) {
@apply underline-offset-4;
}
html.df body, html.hc body {
html.df body {
background-color: var(--reading-bg);
}
@ -120,23 +120,34 @@ html.df article.content.study-notes {
}
}
html.hc body {
@apply text-black bg-white;
@apply dark:text-white dark:bg-black;
}
html.hc article.content.study-notes {
@apply dark:bg-black;
.header {
@apply bg-transparent border-dotted rounded-none bg-none border-4 border-b-black;
@apply dark:border-b-white;
}
section time, section ul.tags {
@apply text-black;
@apply dark:text-white;
}
a, a.scripture {
@apply decoration-neutral-800;
@apply dark:decoration-neutral-200;
}
blockquote {
@apply border-l-gray-800 text-black;
@apply dark:border-l-gray-200 dark:text-white;
}
blockquote a {
@apply text-black;
@apply dark:text-white;
}
a.scripture.quote, a.scripture.christ {
@ -144,21 +155,25 @@ html.hc article.content.study-notes {
}
a.scripture.christ {
@apply text-red-900;
@apply dark:text-red-400;
}
}
html.hc #notes-list {
& > ul > li {
@apply border-neutral-800;
@apply dark:border-neutral-300;
}
ul.tags > li {
@apply text-black bg-white border border-neutral-700;
@apply dark:text-white dark:bg-black dark:border-neutral-400;
@apply text-shadow-none;
}
ul li time {
@apply text-black;
@apply dark:text-white;
}
}
@ -166,9 +181,12 @@ html.hc nav#pagination {
ul > li > a {
@apply bg-white text-black border border-neutral-600;
@apply hover:text-white hover:bg-black;
@apply dark:bg-black dark:text-white dark:border-neutral-400;
@apply dark:hover:text-black dark:hover:bg-white;
}
ul > li > a.disabled {
@apply bg-white text-neutral-800 border-neutral-100;
@apply dark:bg-black dark:text-neutral-200 dark:border-neutral-800;
}
}