update eslint and prettier
This commit is contained in:
parent
73fdec95ef
commit
060f413336
8 changed files with 260 additions and 377 deletions
|
|
@ -47,7 +47,7 @@ description: MANDATORY color usage rules for daisyUI 5
|
|||
The default configuration enables `light` and `dark`. Choose specific themes, every theme, or no built-in themes in the daisyUI plugin:
|
||||
|
||||
```css
|
||||
@plugin "daisyui" {
|
||||
@plugin 'daisyui' {
|
||||
themes:
|
||||
light --default,
|
||||
dark --prefersdark,
|
||||
|
|
@ -73,8 +73,8 @@ A CSS file with Tailwind CSS, daisyUI and a custom daisyUI theme looks like this
|
|||
|
||||
```css
|
||||
@import 'tailwindcss';
|
||||
@plugin "daisyui";
|
||||
@plugin "daisyui/theme" {
|
||||
@plugin 'daisyui';
|
||||
@plugin 'daisyui/theme' {
|
||||
name: 'mytheme';
|
||||
default: true; /* set as default */
|
||||
prefersdark: false; /* set as default dark mode (prefers-color-scheme:dark) */
|
||||
|
|
@ -129,7 +129,7 @@ People can use https://daisyui.com/theme-generator/ visual tool to create their
|
|||
Use the built-in theme's name and override only the values that need to change. Other values are inherited:
|
||||
|
||||
```css
|
||||
@plugin "daisyui/theme" {
|
||||
@plugin 'daisyui/theme' {
|
||||
name: 'light';
|
||||
default: true;
|
||||
--color-primary: blue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue