Skip to content

Commit bfd6d62

Browse files
committed
fix: ShikiEditor's caret color in light mode
1 parent 76aadcd commit bfd6d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client/internals/ShikiEditor.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ watchEffect((onCleanup) => {
3535
<div class="relative w-full h-max" v-html="html" />
3636
<textarea
3737
ref="textareaEl" v-model="content" :placeholder="props.placeholder"
38-
class="absolute inset-0 resize-none text-transparent bg-transparent focus:outline-none caret-white overflow-y-hidden"
38+
class="absolute inset-0 resize-none text-transparent bg-transparent focus:outline-none caret-black dark:caret-white overflow-y-hidden"
3939
/>
4040
</div>
4141
</div>

0 commit comments

Comments
 (0)