@varlet/preset-tailwindcss 3.3.7-alpha.1721372048764 → 3.3.7

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/lib/index.cjs CHANGED
@@ -146,9 +146,11 @@ function getColors(options = {}) {
146
146
  function presetVarlet(options = {}) {
147
147
  return {
148
148
  theme: {
149
- colors: getColors(options),
150
- screens: getScreens(options),
151
- fontSize: getFontSize(options)
149
+ extend: {
150
+ colors: getColors(options),
151
+ screens: getScreens(options),
152
+ fontSize: getFontSize(options)
153
+ }
152
154
  }
153
155
  };
154
156
  }
package/lib/index.d.cts CHANGED
@@ -81,9 +81,11 @@ interface PresetVarletColors {
81
81
  }
82
82
  declare function presetVarlet(options?: PresetVarletOptions): {
83
83
  theme: {
84
- colors: PresetVarletColors | undefined;
85
- screens: PresetVarletScreens | undefined;
86
- fontSize: PresetVarletFontSize | undefined;
84
+ extend: {
85
+ colors: PresetVarletColors | undefined;
86
+ screens: PresetVarletScreens | undefined;
87
+ fontSize: PresetVarletFontSize | undefined;
88
+ };
87
89
  };
88
90
  };
89
91
 
package/lib/index.d.ts CHANGED
@@ -81,9 +81,11 @@ interface PresetVarletColors {
81
81
  }
82
82
  declare function presetVarlet(options?: PresetVarletOptions): {
83
83
  theme: {
84
- colors: PresetVarletColors | undefined;
85
- screens: PresetVarletScreens | undefined;
86
- fontSize: PresetVarletFontSize | undefined;
84
+ extend: {
85
+ colors: PresetVarletColors | undefined;
86
+ screens: PresetVarletScreens | undefined;
87
+ fontSize: PresetVarletFontSize | undefined;
88
+ };
87
89
  };
88
90
  };
89
91
 
package/lib/index.js CHANGED
@@ -125,9 +125,11 @@ function getColors(options = {}) {
125
125
  function presetVarlet(options = {}) {
126
126
  return {
127
127
  theme: {
128
- colors: getColors(options),
129
- screens: getScreens(options),
130
- fontSize: getFontSize(options)
128
+ extend: {
129
+ colors: getColors(options),
130
+ screens: getScreens(options),
131
+ fontSize: getFontSize(options)
132
+ }
131
133
  }
132
134
  };
133
135
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/preset-tailwindcss",
3
- "version": "3.3.7-alpha.1721372048764",
3
+ "version": "3.3.7",
4
4
  "type": "module",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.js",