@@ -11,7 +11,7 @@ html.dark {
1111}
1212
1313.tk-comments {
14- @apply text-[ var (--tk-text )] ;
14+ @apply text- (--tk-text );
1515}
1616
1717.tk-submit {
@@ -26,7 +26,7 @@ html.dark {
2626 @apply flex-col-reverse;
2727 .tk-input {
2828 textarea {
29- @apply rounded-[ var (--radius-large )] py-4 px-6 ! min-h-[150px ] focus:border-[ var (--primary )] ;
29+ @apply rounded- (--radius-large ) py-4 px-6 min-h-[150px ]! focus: bor der- (--primary );
3030 }
3131 }
3232 }
@@ -38,58 +38,58 @@ html.dark {
3838 div {
3939 @apply min-h-10;
4040 .el-input-group__prepend {
41- @apply ! bg- inherit rounded- l- lg;
41+ @apply bg-inherit! rounded-l-lg;
4242 min-height : inherit;
4343 }
4444 input {
45- @apply px-4 rounded-r-lg focus:! bor der- [ var (--primary )] ;
45+ @apply px-4 rounded-r-lg focus:border-(--primary )! ;
4646 min-height : inherit;
4747 }
4848 }
4949}
5050
5151/* Button */
5252.tk-row .actions {
53- @apply w-full ! ml-0 ! mt-0 ;
53+ @apply w-full ml-0! mt-0 ! ;
5454 .__markdown {
55- @apply ! hidden;
55+ @apply hidden! ;
5656 }
5757 .tk-preview ,
5858 .tk-send ,
5959 .tk-cancel {
6060 @apply border-none rounded-lg px-3 py-0 h-8
61- ! bg- [ var (--btn-regular-bg-active )] disabled:! bg- [ var (--btn-regular-bg )]
62- ! text- [ var (--btn-content )] disabled:! text- [# ffffffa1 ];
61+ bg- (--btn-regular-bg-active )! dis abled: bg- (--btn-regular-bg )!
62+ text- (--btn-content )! dis abled: text- [# ffffffa1 ]! ;
6363 }
6464}
6565
6666/* Comment title */
6767.tk-comments-title {
6868 .__comments svg {
69- @apply fill-[ var (--primary )] ;
69+ @apply fill- (--primary );
7070 }
7171}
7272
7373.tk-comment {
7474 @apply border-[1px ] border-[rgba (144 , 147 , 153 , 0.31 )] p-4 rounded-2xl hover:shadow-md transition-all;
7575 .tk-action-icon svg {
76- @apply fill-[ var (--primary )] ;
76+ @apply fill- (--primary );
7777 }
7878}
7979
8080.tk-action {
8181 .tk-action-count {
82- @apply text-[ var (--btn-content )] ;
82+ @apply text- (--btn-content );
8383 }
8484}
8585
8686.tk-meta {
8787 .tk-tag {
88- @apply border-none rounded-lg text-[ var (--btn-content )] ;
88+ @apply border-none rounded-lg text- (--btn-content );
8989 }
9090
9191 .tk-tag-green {
92- @apply bg-[ var (--btn-regular-bg )] dark:bg-[ var (--primary )] dark:text-[ var (--deep-text )] ;
92+ @apply bg- (--btn-regular-bg ) dark:bg-(--primary ) dark:text-(--deep-text );
9393 }
9494}
9595
@@ -104,26 +104,26 @@ html.dark {
104104 }
105105
106106 a {
107- @apply underline text-[ var (--primary )] font-medium;
107+ @apply underline text- (--primary ) font-medium;
108108 }
109109
110110 .tk-ruser {
111111 @apply no-underline;
112112 }
113113
114114 : not (pre ) > code {
115- @apply bg-[ var (--inline-code-bg )] rounded-md text-[ --inline-code-color ] px-1 py-0.5 font-semibold;
115+ @apply bg- (--inline-code-bg ) rounded-md text- ( --inline-code-color ) px-1 py-0.5 font-semibold;
116116 }
117117
118118 li {
119- @apply before:content-["•" ] before:text-[ var (--primary )] ;
119+ @apply before:content-["•" ] before:text-(--primary );
120120 }
121121}
122122
123123/* Replies */
124124.tk-replies {
125125 .tk-comment {
126- @apply bg-[ var (--page-bg )] ;
126+ @apply bg- (--page-bg );
127127 .tk-content {
128128 > span : first-of-type {
129129 @apply text-xs;
@@ -134,12 +134,12 @@ html.dark {
134134
135135.twikoo .code-block {
136136 pre {
137- @apply ! rounded- xl;
137+ @apply rounded-xl! ;
138138 }
139139
140140 /* Code block fall back */
141141 pre : not ([class ]) {
142- @apply bg-[ var (--codeblock-bg )] overflow-auto p-2 text-[ var (--code-block-text )] ;
142+ @apply bg- (--codeblock-bg ) overflow-auto p-2 text- (--code-block-text );
143143 }
144144
145145 .copy-btn-icon {
@@ -150,7 +150,7 @@ html.dark {
150150
151151.tk-expand-wrap .tk-expand ,
152152.tk-collapse-wrap .tk-expand {
153- @apply hover:rounded-lg mt-1 hover:bg-[ var (--btn-plain-bg-hover )] ;
153+ @apply hover:rounded-lg mt-1 hover:bg-(--btn-plain-bg-hover );
154154}
155155
156156/* by @SirTamago
0 commit comments