Skip to content

Commit 5b0ebef

Browse files
committed
fix: remove unnecessary is-dark attributes from admonition and table node wrappers
1 parent 37fb15e commit 5b0ebef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/e2e/__snapshots__/node-renderer.e2e.test.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exports[`markdownRender node e2e coverage > renders admonition node 1`] = `
55
<div data-v-8dfe8a80="">
66
<!-- Skip wrapping code_block nodes in transitions to avoid touching Monaco editor internals -->
77
<transition-stub data-v-8dfe8a80="" name="typewriter" appear="true" persisted="false" css="true">
8-
<div data-v-c8910e11="" data-v-8dfe8a80="" class="admonition admonition-stable" is-dark="false">
8+
<div data-v-c8910e11="" data-v-8dfe8a80="" class="admonition admonition-stable">
99
<div data-v-c8910e11="" id="admonition-stable" class="admonition-stable"><span data-v-c8910e11="" class="admonition-stable">⚠️</span><span data-v-c8910e11="" class="admonition-stable">Warning</span><!-- 可选的折叠控制(放在 header 末端) -->
1010
<!--v-if-->
1111
</div>
@@ -402,23 +402,23 @@ exports[`markdownRender node e2e coverage > renders table node 1`] = `
402402
<div data-v-8dfe8a80="">
403403
<!-- Skip wrapping code_block nodes in transitions to avoid touching Monaco editor internals -->
404404
<transition-stub data-v-8dfe8a80="" name="typewriter" appear="true" persisted="false" css="true">
405-
<div data-v-8fb37ab3="" data-v-8dfe8a80="" class="table-node-wrapper" loading="false" is-dark="false">
405+
<div data-v-8fb37ab3="" data-v-8dfe8a80="" class="table-node-wrapper" loading="false">
406406
<table data-v-8fb37ab3="" class="w-full my-8 text-sm text-left table-fixed table-node" aria-busy="false">
407407
<colgroup data-v-8fb37ab3="">
408408
<col data-v-8fb37ab3="" style="width: 50%;">
409409
<col data-v-8fb37ab3="" style="width: 50%;">
410410
</colgroup>
411411
<thead data-v-8fb37ab3="" class="border-[var(--table-border,#cbd5e1)]">
412412
<tr data-v-8fb37ab3="" class="border-b">
413-
<th data-v-8fb37ab3="" dir="auto" class="text-left font-semibold dark:text-white truncate p-[calc(4/7*1em)]">
413+
<th data-v-8fb37ab3="" dir="auto" class="text-left font-semibold truncate p-[calc(4/7*1em)]">
414414
<div data-v-8dfe8a80="" data-v-8fb37ab3="" class="markdown-renderer">
415415
<div data-v-8dfe8a80="">
416416
<!-- Skip wrapping code_block nodes in transitions to avoid touching Monaco editor internals -->
417417
<transition-stub data-v-8dfe8a80="" name="typewriter" appear="true" persisted="false" css="true"><span data-v-a84b8095="" data-v-8dfe8a80="" class="whitespace-pre-wrap break-words text-node" index-key="table-th-markdown-renderer-0-0" is-dark="false">Name</span></transition-stub>
418418
</div>
419419
</div>
420420
</th>
421-
<th data-v-8fb37ab3="" dir="auto" class="text-left font-semibold dark:text-white truncate p-[calc(4/7*1em)]">
421+
<th data-v-8fb37ab3="" dir="auto" class="text-left font-semibold truncate p-[calc(4/7*1em)]">
422422
<div data-v-8dfe8a80="" data-v-8fb37ab3="" class="markdown-renderer">
423423
<div data-v-8dfe8a80="">
424424
<!-- Skip wrapping code_block nodes in transitions to avoid touching Monaco editor internals -->

0 commit comments

Comments
 (0)