@code-coaching/vuetiful 0.24.0 → 0.24.2
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/types/utils/theme/theme.service.d.ts +4 -0
- package/dist/types/utils/theme/themes.d.ts +4 -0
- package/dist/vuetiful.es.mjs +5 -0
- package/dist/vuetiful.umd.js +9 -9
- package/package.json +1 -1
- package/src/themes/{theme-vuetiful-0.0.1.css → theme-vuetiful.css} +38 -46
- package/src/utils/theme/theme.service.ts +2 -1
- package/src/utils/theme/themes.ts +5 -0
|
@@ -3,6 +3,10 @@ import { Theme } from './themes';
|
|
|
3
3
|
declare const useTheme: () => {
|
|
4
4
|
chosenTheme: Ref<Theme>;
|
|
5
5
|
themes: Theme[];
|
|
6
|
+
THEME: {
|
|
7
|
+
VUETIFUL: Theme;
|
|
8
|
+
ROCKET: Theme;
|
|
9
|
+
};
|
|
6
10
|
applyThemeSSR: (html: string, theme: Theme) => string;
|
|
7
11
|
applyTheme: (theme: Theme, callback?: Function | undefined) => void;
|
|
8
12
|
getThemeFromCookie: (cookies: string) => Theme;
|
package/dist/vuetiful.es.mjs
CHANGED
|
@@ -50177,6 +50177,10 @@ const themes = [
|
|
|
50177
50177
|
}`
|
|
50178
50178
|
}
|
|
50179
50179
|
];
|
|
50180
|
+
const THEME = {
|
|
50181
|
+
VUETIFUL: themes[0],
|
|
50182
|
+
ROCKET: themes[1]
|
|
50183
|
+
};
|
|
50180
50184
|
const { isBrowser } = usePlatform();
|
|
50181
50185
|
const chosenTheme = ref(themes[0]);
|
|
50182
50186
|
const { generatePalette, hexValuesAreValid } = useColors();
|
|
@@ -50315,6 +50319,7 @@ ${generateColorCSS(theme)}
|
|
|
50315
50319
|
return {
|
|
50316
50320
|
chosenTheme,
|
|
50317
50321
|
themes,
|
|
50322
|
+
THEME,
|
|
50318
50323
|
applyThemeSSR,
|
|
50319
50324
|
applyTheme,
|
|
50320
50325
|
getThemeFromCookie,
|