fix(twikoo): certain Twikoo elements wouldn’t automatically switch colours in dark mode and update to Twikoo version 1.6.44 (#1163)

This commit is contained in:
powerfullz
2025-11-01 21:35:09 +01:00
committed by GitHub
parent 6d98e8463f
commit c413980b89
@@ -1,4 +1,4 @@
<script src="//cdn.jsdelivr.net/npm/twikoo@1.6.39/dist/twikoo.all.min.js"></script> <script src="//cdn.jsdelivr.net/npm/twikoo@1.6.44/dist/twikoo.all.min.js"></script>
<div id="tcomment"></div> <div id="tcomment"></div>
<style> <style>
.twikoo { .twikoo {
@@ -24,8 +24,11 @@
.twikoo .tk-preview-container, .twikoo .tk-preview-container,
.twikoo .tk-content, .twikoo .tk-content,
.twikoo .tk-nick, .twikoo .tk-nick,
.twikoo .tk-send { .twikoo .tk-send,
color: var(--twikoo-body-text-color-main); .twikoo .tk-comments-no,
.twikoo .el-input__count,
.twikoo .tk-submit-action-icon {
color: var(--twikoo-body-text-color-main)!important;
} }
.twikoo .el-button{ .twikoo .el-button{
color: var(--twikoo-body-text-color)!important; color: var(--twikoo-body-text-color)!important;