diff --git a/static/src/scss/_commento.scss b/static/src/scss/_commento.scss new file mode 100644 index 0000000..146682e --- /dev/null +++ b/static/src/scss/_commento.scss @@ -0,0 +1,35 @@ +#commento { + .commento-profile-button { + @include dark-mode { + fill: $dark-mode-text; + } + } + + .commento-name, + #commento-mod-tools-lock-button, + .commento-login-text, + .commento-anonymous-checkbox-container label { + @include dark-mode { + color: $dark-mode-text; + } + } + + #commento-textarea-root, + #commento-guest-details-input-root, + .commento-textarea-container textarea { + @include dark-mode { + background-color: $black; + color: $dark-mode-text; + } + } + + .commento-card { + @include dark-mode { + border-top: 1px solid color.adjust($black, $alpha: -0.4); + + p { + color: $dark-mode-text; + } + } + } +} diff --git a/static/src/scss/base.scss b/static/src/scss/base.scss index 251e082..f903a0e 100644 --- a/static/src/scss/base.scss +++ b/static/src/scss/base.scss @@ -20,6 +20,7 @@ @import "404"; @import "contact"; @import "password_required"; +@import "commento"; html, body { diff --git a/website/common/templates/common/comments.html b/website/common/templates/common/comments.html index e3b270c..fd358ca 100644 --- a/website/common/templates/common/comments.html +++ b/website/common/templates/common/comments.html @@ -2,6 +2,4 @@
-{% if not DEBUG %} - -{% endif %} +