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;
|
||||
|
|
|
|||
|
|
@ -10,13 +10,13 @@ daisyUI 5 config docs: https://daisyui.com/docs/config/
|
|||
daisyUI without config:
|
||||
|
||||
```css
|
||||
@plugin "daisyui";
|
||||
@plugin 'daisyui';
|
||||
```
|
||||
|
||||
daisyUI config with `light` theme only:
|
||||
|
||||
```css
|
||||
@plugin "daisyui" {
|
||||
@plugin 'daisyui' {
|
||||
themes: light --default;
|
||||
}
|
||||
```
|
||||
|
|
@ -24,7 +24,7 @@ daisyUI config with `light` theme only:
|
|||
daisyUI with all the default configs:
|
||||
|
||||
```css
|
||||
@plugin "daisyui" {
|
||||
@plugin 'daisyui' {
|
||||
themes:
|
||||
light --default,
|
||||
dark --prefersdark;
|
||||
|
|
@ -42,7 +42,7 @@ All the other themes are enabled and can be used by adding `data-theme="THEME_NA
|
|||
root scrollbar gutter is excluded. `daisy-` prefix is used for all daisyUI classes and console.log is disabled
|
||||
|
||||
```css
|
||||
@plugin "daisyui" {
|
||||
@plugin 'daisyui' {
|
||||
themes:
|
||||
light,
|
||||
dark,
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ description: Installation notes for daisyUI 5
|
|||
|
||||
```css
|
||||
@import 'tailwindcss';
|
||||
@plugin "daisyui";
|
||||
@plugin 'daisyui';
|
||||
```
|
||||
|
||||
### CDN
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ Use Tailwind's `@utility` directive to customize a daisyUI component globally:
|
|||
daisyUI includes the `properties`, `rootcolor`, `scrollbar`, `rootscrolllock`, `rootscrollgutter`, and `svg` base modules. Exclude an unwanted module from the plugin config by its module name:
|
||||
|
||||
```css
|
||||
@plugin "daisyui" {
|
||||
@plugin 'daisyui' {
|
||||
exclude: rootscrollgutter;
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue