@code-coaching/vuetiful 0.24.0 → 0.24.1

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.
@@ -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;
@@ -1,5 +1,9 @@
1
1
  import { ColorSettings } from '../colors/colors.service';
2
2
  export declare const themes: Array<Theme>;
3
+ export declare const THEME: {
4
+ VUETIFUL: Theme;
5
+ ROCKET: Theme;
6
+ };
3
7
  export interface Theme {
4
8
  name: string;
5
9
  gradients: Gradients;
@@ -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,