daisyui 2.3.5 → 2.3.6
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 +1 -1
- package/package.json +1 -1
- package/src/index.js +13 -13
package/README.md
CHANGED
|
@@ -74,7 +74,7 @@ module.exports = {
|
|
|
74
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 href="https://cdn.jsdelivr.net/npm/daisyui@2.3.
|
|
77
|
+
<link href="https://cdn.jsdelivr.net/npm/daisyui@2.3.5/dist/full.css" rel="stylesheet" type="text/css" />
|
|
78
78
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
79
79
|
```
|
|
80
80
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -11,7 +11,7 @@ let utilitiesStyled = require("../dist/utilities-styled");
|
|
|
11
11
|
const themes = require("./colors/themes");
|
|
12
12
|
const colorFunctions = require("./colors/functions");
|
|
13
13
|
const postcssJs = require('postcss-js');
|
|
14
|
-
const postcssPrefix = require('postcss-prefixer');
|
|
14
|
+
// const postcssPrefix = require('postcss-prefixer');
|
|
15
15
|
|
|
16
16
|
const mainFunction = ({ addBase, addComponents, addUtilities, config }) => {
|
|
17
17
|
let diasyuiIncludedItems = [];
|
|
@@ -67,10 +67,10 @@ const mainFunction = ({ addBase, addComponents, addUtilities, config }) => {
|
|
|
67
67
|
// add prefix to class names if specified
|
|
68
68
|
const prefix = config('daisyui.prefix');
|
|
69
69
|
if (prefix) {
|
|
70
|
-
file = postcssJs.sync(postcssPrefix({
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}))(file)
|
|
70
|
+
// file = postcssJs.sync(postcssPrefix({
|
|
71
|
+
// prefix: prefix,
|
|
72
|
+
// ignore: []
|
|
73
|
+
// }))(file)
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
addComponents(file);
|
|
@@ -84,17 +84,17 @@ const mainFunction = ({ addBase, addComponents, addUtilities, config }) => {
|
|
|
84
84
|
if (config("daisyui.utils") != false) {
|
|
85
85
|
addComponents(utilities, { variants: ["responsive"] });
|
|
86
86
|
if (prefix) {
|
|
87
|
-
utilitiesUnstyled = postcssJs.sync(postcssPrefix({
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}))(utilitiesUnstyled)
|
|
87
|
+
// utilitiesUnstyled = postcssJs.sync(postcssPrefix({
|
|
88
|
+
// prefix: prefix,
|
|
89
|
+
// ignore: []
|
|
90
|
+
// }))(utilitiesUnstyled)
|
|
91
91
|
}
|
|
92
92
|
addComponents(utilitiesUnstyled, { variants: ["responsive"] });
|
|
93
93
|
if (prefix) {
|
|
94
|
-
utilitiesStyled = postcssJs.sync(postcssPrefix({
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}))(utilitiesStyled)
|
|
94
|
+
// utilitiesStyled = postcssJs.sync(postcssPrefix({
|
|
95
|
+
// prefix: prefix,
|
|
96
|
+
// ignore: []
|
|
97
|
+
// }))(utilitiesStyled)
|
|
98
98
|
}
|
|
99
99
|
addComponents(utilitiesStyled, { variants: ["responsive"] });
|
|
100
100
|
diasyuiIncludedItems.push("utilities");
|