vueless 0.0.478-beta.23 → 0.0.478-beta.24
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/package.json +1 -1
- package/utils/node/tailwindSafelist.js +6 -2
- package/web-types.json +1 -1
package/package.json
CHANGED
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
COMPONENTS,
|
|
14
14
|
BRAND_COLORS,
|
|
15
15
|
BRAND_COLOR,
|
|
16
|
+
GRAY_COLOR,
|
|
16
17
|
DYNAMIC_COLOR_PATTERN,
|
|
17
18
|
TAILWIND_CLASS_DELIMITER,
|
|
18
19
|
TAILWIND_MERGE_EXTENSION,
|
|
@@ -55,7 +56,10 @@ export async function createTailwindSafelist({ mode, env, debug, targetFiles = [
|
|
|
55
56
|
|
|
56
57
|
const vuelessFiles = [...srcVueFiles, ...vuelessVueFiles, ...vuelessConfigFiles];
|
|
57
58
|
|
|
58
|
-
const storybookColors = {
|
|
59
|
+
const storybookColors = {
|
|
60
|
+
colors: [...BRAND_COLORS, BRAND_COLOR, GRAY_COLOR],
|
|
61
|
+
isComponentExists: true,
|
|
62
|
+
};
|
|
59
63
|
const safelist = [];
|
|
60
64
|
|
|
61
65
|
const componentNames = Object.keys(COMPONENTS);
|
|
@@ -225,7 +229,7 @@ async function findComponentColors(files, componentName) {
|
|
|
225
229
|
|
|
226
230
|
return {
|
|
227
231
|
colors: Array.from(colors).filter(
|
|
228
|
-
(color) => color && [...BRAND_COLORS, BRAND_COLOR].includes(color),
|
|
232
|
+
(color) => color && [...BRAND_COLORS, BRAND_COLOR, GRAY_COLOR].includes(color),
|
|
229
233
|
),
|
|
230
234
|
isComponentExists,
|
|
231
235
|
};
|