daisyui 2.0.8 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -12
- package/dist/full.css +1 -1
- package/dist/styled.css +1 -1
- package/dist/styled.js +1 -1
- package/dist/styled.rtl.js +1 -1
- package/dist/themes.css +1 -1
- package/dist/unstyled.css +1 -1
- package/dist/unstyled.js +1 -1
- package/dist/unstyled.rtl.js +1 -1
- package/dist/utilities-unstyled.js +1 -1
- package/dist/utilities.js +1 -1
- package/package.json +1 -2
- package/src/colors/functions.js +307 -0
- package/src/colors/themes.js +89 -615
- package/src/index.js +4 -139
- package/src/colors/windi.js +0 -12
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ Adds component classes like `btn`, `card` and more to Tailwind CSS
|
|
|
45
45
|
- **RTL supported**
|
|
46
46
|
Enable `rtl` config for right to left layouts.
|
|
47
47
|
- **Pure CSS**
|
|
48
|
-
No script file
|
|
48
|
+
No script file. Pure CSS. Works on all frameworks!
|
|
49
49
|
|
|
50
50
|
</details>
|
|
51
51
|
|
|
@@ -71,19 +71,11 @@ module.exports = {
|
|
|
71
71
|
Or use a CDN
|
|
72
72
|
</summary>
|
|
73
73
|
|
|
74
|
-
Loading CSS files from CDN is not recommended for production. It's better to install Tailwind and daisyUI as Nodejs dependencies so you can config/customize everything, and purge unused styles
|
|
74
|
+
Loading CSS files from CDN is not recommended for production. It's better to install Tailwind and daisyUI as Nodejs dependencies so you can config/customize everything, and purge unused styles.
|
|
75
75
|
|
|
76
76
|
```html
|
|
77
|
-
<link
|
|
78
|
-
|
|
79
|
-
rel="stylesheet"
|
|
80
|
-
type="text/css"
|
|
81
|
-
/>
|
|
82
|
-
<link
|
|
83
|
-
href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2/dist/tailwind.min.css"
|
|
84
|
-
rel="stylesheet"
|
|
85
|
-
type="text/css"
|
|
86
|
-
/>
|
|
77
|
+
<link href="https://cdn.jsdelivr.net/npm/daisyui@2.1.0/dist/full.css" rel="stylesheet" type="text/css" />
|
|
78
|
+
<script src="https://cdn.tailwindcss.com"></script>
|
|
87
79
|
```
|
|
88
80
|
|
|
89
81
|
</details>
|