Skip to content

Commit 0df7186

Browse files
authored
docs: add dark class (#1836)
* docs: add dark class * docs: fix ex height
1 parent 639819d commit 0df7186

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/routes/docs-examples/extend/tags/Default.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<form>
1010
<Tags class="mt-5 mb-3" bind:value={tags} />
1111
{#if tags.length > 0}
12-
<pre>{JSON.stringify(tags, null, 2)}</pre>
12+
<pre class="dark:text-white">{JSON.stringify(tags, null, 2)}</pre>
1313
{/if}
1414
<Button onclick={handleClick}>Submit</Button>
1515
</form>

src/routes/docs/extend/tags.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Import the `Tags` component in a script tag.
3535

3636
## Input Props
3737

38-
```svelte example class="h-40"
38+
```svelte example
3939
{#include InputProps.svelte}
4040
```
4141

0 commit comments

Comments
 (0)