format project
This commit is contained in:
parent
7651afaa0b
commit
a6d4064af8
83 changed files with 942 additions and 536 deletions
|
|
@ -1,15 +1,19 @@
|
|||
### theme-controller
|
||||
|
||||
If a checked checkbox input or a checked radio input with theme-controller class exists in the page, The page will have the same theme as that input's value
|
||||
|
||||
[theme-controller docs](https://daisyui.com/components/theme-controller/)
|
||||
|
||||
#### Class names
|
||||
|
||||
- component: `theme-controller`
|
||||
|
||||
#### Syntax
|
||||
|
||||
```html
|
||||
<input type="checkbox" value="{theme-name}" class="theme-controller" />
|
||||
```
|
||||
|
||||
#### Rules
|
||||
|
||||
- The value attribute of the input element should be a valid daisyUI theme name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue