Skip to content

Commit

Permalink
dark mode fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
broeker committed Jan 24, 2021
1 parent e415ee7 commit 1a23e32
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _tmp/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,11 @@ nav.toc ol li a:hover {
color: rgba(17, 24, 39, var(--tw-text-opacity))
}

.dark .prose .footer-nav a:hover {
--tw-text-opacity: 1 !important;
color: rgba(156, 163, 175, var(--tw-text-opacity)) !important;
}

/* Utilities and misc */

.adjust p img, .adjust img, .adjust p iframe, .adjust iframe, .twitter-tweet {
Expand All @@ -964,6 +969,11 @@ nav.toc ol li a:hover {
justify-content: center;
}

.dark input {
--tw-text-opacity: 1;
color: rgba(156, 163, 175, var(--tw-text-opacity));
}

.container {
width: 100%;
margin-right: auto;
Expand Down
6 changes: 6 additions & 0 deletions styles/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
nav.toc ol li a:hover {
@apply text-gray-900
}
.prose .footer-nav a:hover {
@apply dark:text-gray-400 !important
}

/* Utilities and misc */
.adjust p img, .adjust img, .adjust p iframe, .adjust iframe, .twitter-tweet {
Expand All @@ -121,4 +124,7 @@
.icon-spacer {
width: "24px";
}
input {
@apply dark:text-gray-400
}
}

0 comments on commit 1a23e32

Please sign in to comment.