daisyui 4.0.0-alpha.7 → 4.0.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 +9 -45
- package/dist/base.js +1 -1
- package/dist/full.css +19485 -24446
- package/dist/styled.css +1182 -1117
- package/dist/styled.js +1 -1
- package/dist/themes.css +611 -670
- package/dist/unstyled.css +41 -41
- package/dist/unstyled.js +1 -1
- package/dist/utilities-styled.js +1 -1
- package/dist/utilities-unstyled.js +1 -1
- package/dist/utilities.js +1 -1
- package/package.json +9 -11
- package/src/index.d.ts +3 -0
- package/src/index.js +16 -27
- package/src/lib/responsiveRegex.js +2 -2
- package/src/theming/colorNames.js +0 -4
- package/src/theming/functions.js +59 -72
- package/src/theming/index.js +20 -24
- package/src/theming/themeDefaults.js +3 -1
- package/src/theming/themes.d.ts +1 -1
- package/src/theming/themes.js +181 -125
- package/dist/styled.rtl.js +0 -1
- package/dist/unstyled.rtl.js +0 -1
package/README.md
CHANGED
|
@@ -2,56 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
[![][logo-url]][docs-url]
|
|
4
4
|
|
|
5
|
-
**The most popular, free and open-source Tailwind CSS
|
|
5
|
+
**The most popular, free and open-source component library for Tailwind CSS**
|
|
6
6
|
|
|
7
|
-
[ [
|
|
8
|
-
|
|
9
|
-
[![][tweet]][tweet-url]
|
|
10
|
-
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
# daisyUI 3.0
|
|
14
|
-
|
|
15
|
-
[![][build]][build-url] [![][npm]][npm-url] [![][number-of-components]][docs-url] [![][license]][license-url]
|
|
7
|
+
[![][build]][build-url] [![][npm]][npm-url] [![][license]][license-url]
|
|
16
8
|
[![][dl]][npm-url] [![][stars]][gh-url] [![][commit]][gh-url]
|
|
17
9
|
|
|
18
|
-
|
|
19
|
-
- [See all components →](https://daisyui.com/components/)
|
|
20
|
-
- [How to use →](https://daisyui.com/docs/install/)
|
|
21
|
-
|
|
22
|
-
## 🌼 Features
|
|
23
|
-
|
|
24
|
-
- A plugin for Tailwind CSS
|
|
25
|
-
- Faster development
|
|
26
|
-
- Cleaner HTML
|
|
27
|
-
- Customizable and themeable
|
|
28
|
-
- Pure CSS. Works on all frameworks
|
|
29
|
-
|
|
30
|
-
## 📀 Install now!
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
npm i -D daisyui@latest
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
Then add daisyUI to your `tailwind.config.js`:
|
|
37
|
-
|
|
38
|
-
```js
|
|
39
|
-
module.exports = {
|
|
40
|
-
plugins: [require("daisyui")],
|
|
41
|
-
};
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
[ [Read more →][docs-url-install] ]
|
|
10
|
+
</div>
|
|
45
11
|
|
|
46
|
-
|
|
12
|
+
# daisyUI 4
|
|
47
13
|
|
|
48
|
-
[
|
|
14
|
+
### 🌼 [Official website →](https://daisyui.com/)
|
|
49
15
|
|
|
50
|
-
|
|
16
|
+
### 🌼 [See all components →](https://daisyui.com/components/)
|
|
51
17
|
|
|
52
|
-
|
|
18
|
+
### 🌼 [How to use →](https://daisyui.com/docs/install/)
|
|
53
19
|
|
|
54
|
-
##
|
|
20
|
+
## Sponsors
|
|
55
21
|
|
|
56
22
|
| | |
|
|
57
23
|
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -59,8 +25,6 @@ See the official site: [ [daisyui.com →](https://daisyui.com/)]
|
|
|
59
25
|
| **Backers** <br /> Thank you to all our backers! <br /> [[Become a backer](https://opencollective.com/daisyui)] | <a href="https://opencollective.com/daisyui" target="_blank"><img src="https://opencollective.com/daisyui/backers.svg?button=false&width=500&avatarHeight=46"><img src="https://opencollective.com/daisyui/organizations.svg?button=false&width=500&avatarHeight=46"></a> |
|
|
60
26
|
| **Contributors** <br /> This project exists thanks to all the people who contribute. <br /> [[Contribute](https://github.com/saadeghi/daisyui/blob/master/.github/CONTRIBUTING.md)] | <a href="https://github.com/saadeghi/daisyui/graphs/contributors" target="_blank"><img src="https://contrib.rocks/image?repo=saadeghi/daisyui&columns=14&anon=1&max=300" width="500"></a> |
|
|
61
27
|
|
|
62
|
-
[![][banner-url]][docs-url]
|
|
63
|
-
|
|
64
28
|
---
|
|
65
29
|
|
|
66
30
|
<div align="center">
|
|
@@ -91,7 +55,7 @@ See the official site: [ [daisyui.com →](https://daisyui.com/)]
|
|
|
91
55
|
[jsdeliver-url]: https://www.jsdelivr.com/package/npm/daisyui
|
|
92
56
|
[build-url]: https://github.com/saadeghi/daisyui/actions
|
|
93
57
|
[tweet-url]: https://twitter.com/intent/tweet?text=daisyUI%20%0D%0AComponents%20for%20Tailwind%20CSS%20%0D%0Ahttps://github.com/saadeghi/daisyui
|
|
94
|
-
[number-of-components]: https://badgen.net/badge/total%20components/
|
|
58
|
+
[number-of-components]: https://badgen.net/badge/total%20components/55/green
|
|
95
59
|
[docs-url-install]: https://daisyui.com/docs/install
|
|
96
60
|
[docs-url]: https://daisyui.com/
|
|
97
61
|
[logo-url]: https://raw.githubusercontent.com/saadeghi/daisyui/master/src/docs/static/images/daisyui-logo/favicon-192.png
|
package/dist/base.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports = {":root,\n[data-theme]":{"backgroundColor":"
|
|
1
|
+
module.exports = {":root,\n[data-theme]":{"backgroundColor":"theme(colors.base-100)","color":"theme(colors.base-content)"},"@supports not (color: oklch(0 0 0))":{":root":{"colorScheme":"light","-FallbackP":"#491eff","-FallbackPc":"#d4dbff","-FallbackS":"#ff41c7","-FallbackSc":"#fff9fc","-FallbackA":"#00cfbd","-FallbackAc":"#00100d","-FallbackN":"#2b3440","-FallbackNc":"#d7dde4","-FallbackB1":"#ffffff","-FallbackB2":"#e5e6e6","-FallbackB3":"#e5e6e6","-FallbackBc":"#1f2937","-FallbackIn":"#00b3f0","-FallbackInc":"#000000","-FallbackSu":"#00ca92","-FallbackSuc":"#000000","-FallbackWa":"#ffc22d","-FallbackWac":"#000000","-FallbackEr":"#ff6f70","-FallbackErc":"#000000"},"@media (prefers-color-scheme: dark)":{":root":{"colorScheme":"dark","-FallbackP":"#7582ff","-FallbackPc":"#050617","-FallbackS":"#ff71cf","-FallbackSc":"#190211","-FallbackA":"#00c7b5","-FallbackAc":"#000e0c","-FallbackN":"#2a323c","-FallbackNc":"#a6adbb","-FallbackB1":"#1d232a","-FallbackB2":"#191e24","-FallbackB3":"#15191e","-FallbackBc":"#a6adbb","-FallbackIn":"#00b3f0","-FallbackInc":"#000000","-FallbackSu":"#00ca92","-FallbackSuc":"#000000","-FallbackWa":"#ffc22d","-FallbackWac":"#000000","-FallbackEr":"#ff6f70","-FallbackErc":"#000000"}}},"html":{"WebkitTapHighlightColor":"transparent"}};
|