Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhixuan <59254886+zhixuan666@users.noreply.github.com>2021-08-07 18:29:01 +0300
committerGitHub <noreply@github.com>2021-08-07 18:29:01 +0300
commit61c021dae2e60668103d4d0ec93e82135810a3df (patch)
treeb4435c286c9e503630fed29bcf5d3d12854ed8ae
parent2fd3bde9a40790bf98893b0c5062a2f4c0ac9d8f (diff)
fix(comments): improve Twikoo style (#289)
-rw-r--r--layouts/partials/comments/provider/twikoo.html14
1 files changed, 10 insertions, 4 deletions
diff --git a/layouts/partials/comments/provider/twikoo.html b/layouts/partials/comments/provider/twikoo.html
index bf1de6c..4dbf976 100644
--- a/layouts/partials/comments/provider/twikoo.html
+++ b/layouts/partials/comments/provider/twikoo.html
@@ -7,12 +7,15 @@
box-shadow: var(--shadow-l1);
padding: var(--card-padding);
}
+ :root[data-scheme="dark"] {
+ --twikoo-body-text-color-main: rgba(255, 255, 255, 0.9);
+ --twikoo-body-text-color: rgba(255, 255, 255, 0.7);
+ }
.twikoo .el-input-group__prepend,
.twikoo .tk-action-icon,
.twikoo .tk-time,
- .twikoo .tk-comments-count,
- .twikoo .el-button {
- color: var(--body-text-color);
+ .twikoo .tk-comments-count {
+ color: var(--twikoo-body-text-color);
}
.twikoo .el-input__inner,
.twikoo .el-textarea__inner,
@@ -20,7 +23,10 @@
.twikoo .tk-content,
.twikoo .tk-nick,
.twikoo .tk-send {
- color: var(--card-text-color-main);
+ color: var(--twikoo-body-text-color-main);
+ }
+ .twikoo .el-button{
+ color: var(--twikoo-body-text-color)!important;
}
</style>