@varlet/preset-tailwindcss 3.3.7-alpha.1721369238992 → 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 +5 -3
- package/lib/index.d.cts +5 -3
- package/lib/index.d.ts +5 -3
- package/lib/index.js +5 -3
- package/package.json +1 -1
package/lib/index.cjs
CHANGED
|
@@ -146,9 +146,11 @@ function getColors(options = {}) {
|
|
|
146
146
|
function presetVarlet(options = {}) {
|
|
147
147
|
return {
|
|
148
148
|
theme: {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
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
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
-
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
extend: {
|
|
129
|
+
colors: getColors(options),
|
|
130
|
+
screens: getScreens(options),
|
|
131
|
+
fontSize: getFontSize(options)
|
|
132
|
+
}
|
|
131
133
|
}
|
|
132
134
|
};
|
|
133
135
|
}
|