diff --git a/isso/css/isso.css b/isso/css/isso.css index 1c315e62b..2d94d6b22 100644 --- a/isso/css/isso.css +++ b/isso/css/isso.css @@ -264,3 +264,21 @@ width: 100%; } } + +@media (prefers-color-scheme: dark) { + .isso-postbox > .form-wrapper .textarea, + .isso-postbox > .form-wrapper > .auth-section .input-wrapper input { + background-color: rgba(0, 0, 0, 0.2); + color: white; + } + + .isso-postbox > .form-wrapper .preview { + background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4) 10px, rgba(0, 0, 0, 0.2) 10px, rgba(0, 0, 0, 0.2) 20px); + color: white; + } + + #isso-thread > h4, + .isso-comment > div.text-wrapper > .isso-comment-header .author { + color: rgba(255, 255, 255, 0.5); + } +}