fix(comments): improve Twikoo style (#289)

This commit is contained in:
zhixuan 2021-08-08 00:29:01 +09:00 committed by GitHub
parent 2fd3bde9a4
commit 61c021dae2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>