@xleddyl/443-components-vue 0.2.2 → 0.2.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/dist/nuxt/module.d.ts +4 -4
- package/dist/nuxt/module.mjs +3 -3
- package/dist/styles/base.css +5 -0
- package/package.json +1 -1
package/dist/nuxt/module.d.ts
CHANGED
|
@@ -30,12 +30,12 @@ export interface ModuleOptions {
|
|
|
30
30
|
aliases?: Record<string, string>;
|
|
31
31
|
};
|
|
32
32
|
theme: {
|
|
33
|
-
cookie
|
|
34
|
-
default
|
|
33
|
+
cookie?: string | false;
|
|
34
|
+
default?: ThemePreference;
|
|
35
35
|
};
|
|
36
36
|
preset: {
|
|
37
|
-
cookie
|
|
38
|
-
default
|
|
37
|
+
cookie?: string | false;
|
|
38
|
+
default?: ThemePreset;
|
|
39
39
|
};
|
|
40
40
|
fonts: boolean | ThemePreset[];
|
|
41
41
|
locale: string;
|
package/dist/nuxt/module.mjs
CHANGED
|
@@ -109,9 +109,9 @@ export default defineNuxtModule({
|
|
|
109
109
|
viteBuild.cssTarget = options.cssTarget;
|
|
110
110
|
const runtimeConfig = {
|
|
111
111
|
global: options.global,
|
|
112
|
-
themeCookie: options.theme.cookie,
|
|
113
|
-
themeDefault: options.theme.default,
|
|
114
|
-
presetCookie: options.preset.cookie,
|
|
112
|
+
themeCookie: options.theme.cookie ?? "k-theme",
|
|
113
|
+
themeDefault: options.theme.default ?? "system",
|
|
114
|
+
presetCookie: options.preset.cookie ?? "k-preset",
|
|
115
115
|
presetDefault,
|
|
116
116
|
locale: options.locale,
|
|
117
117
|
messages: options.messages
|
package/dist/styles/base.css
CHANGED
|
@@ -26,6 +26,11 @@ html.k-root > body {
|
|
|
26
26
|
color: var(--k-text);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
:where(.k-root) :where(a) {
|
|
30
|
+
color: inherit;
|
|
31
|
+
text-decoration: inherit;
|
|
32
|
+
}
|
|
33
|
+
|
|
29
34
|
:where(.k-root) :where(button, input, select, textarea, optgroup) {
|
|
30
35
|
font: inherit;
|
|
31
36
|
font-feature-settings: inherit;
|
package/package.json
CHANGED