@finema/core 1.4.175 → 1.4.176
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/dist/module.json +1 -1
- package/dist/module.mjs +7 -1
- package/package.json +1 -1
- package/dist/runtime/utils/theme.d.ts +0 -2
- package/dist/runtime/utils/theme.mjs +0 -25
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { defineNuxtModule, createResolver, installModule, addPlugin, addComponen
|
|
|
2
2
|
import { defu } from 'defu';
|
|
3
3
|
|
|
4
4
|
const name = "@finema/core";
|
|
5
|
-
const version = "1.4.
|
|
5
|
+
const version = "1.4.176";
|
|
6
6
|
|
|
7
7
|
const colorModeOptions = {
|
|
8
8
|
preference: "light"
|
|
@@ -216,6 +216,12 @@ const module = defineNuxtModule({
|
|
|
216
216
|
},
|
|
217
217
|
tailwindConfig.content
|
|
218
218
|
);
|
|
219
|
+
tailwindConfig.safelist = [
|
|
220
|
+
...tailwindConfig.safelist || [],
|
|
221
|
+
{
|
|
222
|
+
pattern: /^bg-(success|info|danger|warning)-200$/
|
|
223
|
+
}
|
|
224
|
+
];
|
|
219
225
|
});
|
|
220
226
|
await installModule("@nuxt/ui", {
|
|
221
227
|
safelistColors: ["secondary", "success", "info", "danger", "warning"]
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export const withCoreUITheme = (theme) => {
|
|
2
|
-
return {
|
|
3
|
-
...theme,
|
|
4
|
-
content: [
|
|
5
|
-
"app.vue",
|
|
6
|
-
"error.vue",
|
|
7
|
-
"./components/**/*.{js,vue,ts}",
|
|
8
|
-
"./features/**/*.{js,vue,ts}",
|
|
9
|
-
"./containers/**/*.{js,vue,ts}",
|
|
10
|
-
"./layouts/**/*.{js,vue,ts}",
|
|
11
|
-
"./pages/**/*.{js,vue,ts}",
|
|
12
|
-
"./error.{js,vue,ts}",
|
|
13
|
-
"./utils/**/*.{js,vue,ts}",
|
|
14
|
-
...Array.isArray(theme.content) ? theme.content : []
|
|
15
|
-
],
|
|
16
|
-
safelist: [
|
|
17
|
-
"bg-success-200",
|
|
18
|
-
"bg-danger-200",
|
|
19
|
-
"bg-info-200",
|
|
20
|
-
"bg-danger-200",
|
|
21
|
-
"bg-warning-200",
|
|
22
|
-
...theme.safelist || []
|
|
23
|
-
]
|
|
24
|
-
};
|
|
25
|
-
};
|