daisyui 2.3.0 → 2.3.3

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/src/index.js CHANGED
@@ -63,12 +63,12 @@ const mainFunction = ({ addBase, addComponents, addUtilities, config }) => {
63
63
  console.log("\x1b[36m%s\x1b[0m", " Direction:", "\x1b[0m", "RTL");
64
64
  file = styledRtl;
65
65
  }
66
-
66
+
67
67
  // add prefix to class names if specified
68
- const prefix = config('daisyui.prefix');
69
- if (prefix) {
70
- file = postcssJs.sync(postcssPrefix(prefix))(file);
71
- }
68
+ // const prefix = config('daisyui.prefix');
69
+ // if (prefix) {
70
+ // file = postcssJs.sync(postcssPrefix(prefix))(file);
71
+ // }
72
72
 
73
73
  addComponents(file);
74
74
 
@@ -80,13 +80,13 @@ const mainFunction = ({ addBase, addComponents, addUtilities, config }) => {
80
80
  // inject @utilities style needed by components
81
81
  if (config("daisyui.utils") != false) {
82
82
  addComponents(utilities, { variants: ["responsive"] });
83
- if (prefix) {
84
- utilitiesUnstyled = postcssJs.sync(postcssPrefix(prefix))(utilitiesUnstyled);
85
- }
83
+ // if (prefix) {
84
+ // utilitiesUnstyled = postcssJs.sync(postcssPrefix(prefix))(utilitiesUnstyled);
85
+ // }
86
86
  addComponents(utilitiesUnstyled, { variants: ["responsive"] });
87
- if (prefix) {
88
- utilitiesStyled = postcssJs.sync(postcssPrefix(prefix))(utilitiesStyled);
89
- }
87
+ // if (prefix) {
88
+ // utilitiesStyled = postcssJs.sync(postcssPrefix(prefix))(utilitiesStyled);
89
+ // }
90
90
  addComponents(utilitiesStyled, { variants: ["responsive"] });
91
91
  diasyuiIncludedItems.push("utilities");
92
92
  }