Skip to content

Commit 666b18d

Browse files
committed
minor
1 parent 18942b6 commit 666b18d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/docs/src/routes/(routes)/docs/themes

‎packages/docs/src/routes/(routes)/docs/themes/+page.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ To add a new theme, use `@plugin "daisyui/theme" {}` in your CSS file, with the
152152
If you're using CDN and you want to use a custom theme, use it like this:
153153

154154
```css:app.css
155-
:root:has(input.theme-controller[value=mytheme]:checked),[data-theme="mytheme"] { /* mytheme is the name of the custom theme */
155+
:root:has(input.theme-controller[value=mytheme]:checked),[data-theme="mytheme"] {
156+
/* mytheme is the name of the custom theme */
156157
color-scheme: light;
157158
--color-base-100: oklch(98% 0.02 240);
158159
/* ...rest of CSS variables like above example */

0 commit comments

Comments
 (0)