@code-coaching/vuetiful 0.26.0 → 0.28.0

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.
Files changed (266) hide show
  1. package/README.md +47 -55
  2. package/dist/css/animations.css +2 -0
  3. package/{src → dist}/css/overrides/quasar.css +73 -58
  4. package/dist/css/transitions/fade.css +9 -0
  5. package/{src/styles → dist/css}/transitions/slide.css +0 -24
  6. package/dist/favicon.ico +0 -0
  7. package/dist/types/components/atoms/VAvatar.vue.d.ts +39 -90
  8. package/dist/types/components/atoms/VBadge.vue.d.ts +34 -21
  9. package/dist/types/components/atoms/VButton.vue.d.ts +42 -48
  10. package/dist/types/components/atoms/VChip.vue.d.ts +33 -21
  11. package/dist/types/components/atoms/VRadio/VRadioDescription.vue.d.ts +7 -12
  12. package/dist/types/components/atoms/VRadio/VRadioGroup.vue.d.ts +54 -83
  13. package/dist/types/components/atoms/VRadio/VRadioItem.vue.d.ts +46 -12
  14. package/dist/types/components/atoms/VRadio/VRadioLabel.vue.d.ts +7 -12
  15. package/dist/types/components/atoms/VSwitch/VSwitch.vue.d.ts +52 -73
  16. package/dist/types/components/atoms/VSwitch/VSwitchDescription.vue.d.ts +32 -11
  17. package/dist/types/components/atoms/VSwitch/VSwitchGroup.vue.d.ts +32 -11
  18. package/dist/types/components/atoms/VSwitch/VSwitchLabel.vue.d.ts +33 -20
  19. package/dist/types/components/atoms/index.d.ts +1 -2
  20. package/dist/types/components/molecules/VAccordion/VAccordion.vue.d.ts +39 -28
  21. package/dist/types/components/molecules/VAccordion/VAccordionItem.vue.d.ts +35 -19
  22. package/dist/types/components/molecules/VAlert.vue.d.ts +50 -73
  23. package/dist/types/components/molecules/VCard/VCard.vue.d.ts +37 -48
  24. package/dist/types/components/molecules/VCard/VCardBody.vue.d.ts +33 -12
  25. package/dist/types/components/molecules/VCard/VCardFooter.vue.d.ts +36 -20
  26. package/dist/types/components/molecules/VCard/VCardHeader.vue.d.ts +36 -20
  27. package/dist/types/components/molecules/VCodeBlock.vue.d.ts +15 -16
  28. package/dist/types/components/molecules/VDrawer.vue.d.ts +13 -7
  29. package/dist/types/components/molecules/VListbox/VListbox.vue.d.ts +54 -132
  30. package/dist/types/components/molecules/VListbox/VListboxButton.vue.d.ts +22 -21
  31. package/dist/types/components/molecules/VListbox/VListboxItem.vue.d.ts +22 -19
  32. package/dist/types/components/molecules/VListbox/VListboxItems.vue.d.ts +19 -30
  33. package/dist/types/components/molecules/VListbox/VListboxLabel.vue.d.ts +7 -12
  34. package/dist/types/components/molecules/VPreview.vue.d.ts +57 -74
  35. package/dist/types/components/molecules/VRail/VRail.vue.d.ts +28 -13
  36. package/dist/types/components/molecules/VRail/VRailTile.vue.d.ts +49 -16
  37. package/dist/types/components/molecules/VShell.vue.d.ts +76 -44
  38. package/dist/types/components/molecules/VShellConfigurator.vue.d.ts +99 -0
  39. package/dist/types/components/molecules/VTabs/VTab.vue.d.ts +52 -20
  40. package/dist/types/components/molecules/VTabs/VTabPanel.vue.d.ts +8 -1
  41. package/dist/types/components/molecules/VTabs/VTabs.vue.d.ts +43 -101
  42. package/dist/types/components/molecules/Vuetiful.vue.d.ts +22 -0
  43. package/dist/types/components/molecules/index.d.ts +3 -4
  44. package/dist/types/directives/click-outside-group.d.ts +1 -1
  45. package/dist/types/directives/click-outside.d.ts +1 -1
  46. package/dist/types/directives/clipboard.d.ts +1 -1
  47. package/dist/types/index.d.ts +1 -8
  48. package/dist/types/props/props.d.ts +1 -14
  49. package/dist/types/services/drawer.service.d.ts +2 -2
  50. package/dist/types/services/index.d.ts +3 -4
  51. package/dist/types/utils/id-generator.d.ts +1 -0
  52. package/dist/types/utils/index.d.ts +7 -5
  53. package/dist/types/utils/tailwind-merge.d.ts +1 -0
  54. package/dist/types/utils/theme/VLightSwitch.vue.d.ts +16 -0
  55. package/dist/types/utils/theme/VThemeSwitch.vue.d.ts +41 -0
  56. package/dist/types/{services → utils/theme}/dark-mode.service.d.ts +1 -1
  57. package/dist/types/utils/theme/rocket.theme.d.ts +223 -0
  58. package/dist/types/utils/theme/theme.service.d.ts +6 -9
  59. package/dist/types/utils/theme/themes.d.ts +3 -39
  60. package/dist/types/utils/theme/vuetiful.theme.d.ts +224 -0
  61. package/dist/vuetiful.es.mjs +54782 -49507
  62. package/dist/vuetiful.umd.cjs +189 -0
  63. package/package.json +53 -37
  64. package/dist/style.css +0 -10
  65. package/dist/types/components/VBootstrap.vue.d.ts +0 -15
  66. package/dist/types/components/atoms/VAvatar.test.d.ts +0 -1
  67. package/dist/types/components/atoms/VBadge.test.d.ts +0 -1
  68. package/dist/types/components/atoms/VButton.test.d.ts +0 -1
  69. package/dist/types/components/atoms/VChip.test.d.ts +0 -1
  70. package/dist/types/components/atoms/VLightSwitch.test.d.ts +0 -1
  71. package/dist/types/components/atoms/VLightSwitch.vue.d.ts +0 -95
  72. package/dist/types/components/atoms/VRadio/VRadioDescription.test.d.ts +0 -1
  73. package/dist/types/components/atoms/VRadio/VRadioGroup.test.d.ts +0 -1
  74. package/dist/types/components/atoms/VRadio/VRadioItem.test.d.ts +0 -1
  75. package/dist/types/components/atoms/VRadio/VRadioLabel.test.d.ts +0 -1
  76. package/dist/types/components/atoms/VSwitch/VSwitch.test.d.ts +0 -1
  77. package/dist/types/components/atoms/VSwitch/VSwitchDescription.test.d.ts +0 -1
  78. package/dist/types/components/atoms/VSwitch/VSwitchGroup.test.d.ts +0 -1
  79. package/dist/types/components/atoms/VSwitch/VSwitchLabel.test.d.ts +0 -1
  80. package/dist/types/components/molecules/VAccordion/VAccordion.test.d.ts +0 -1
  81. package/dist/types/components/molecules/VAccordion/VAccordionItem.test.d.ts +0 -1
  82. package/dist/types/components/molecules/VAlert.test.d.ts +0 -1
  83. package/dist/types/components/molecules/VCard/VCard.test.d.ts +0 -1
  84. package/dist/types/components/molecules/VCard/VCardBody.test.d.ts +0 -1
  85. package/dist/types/components/molecules/VCard/VCardFooter.test.d.ts +0 -1
  86. package/dist/types/components/molecules/VCard/VCardHeader.test.d.ts +0 -1
  87. package/dist/types/components/molecules/VCodeBlock.test.d.ts +0 -1
  88. package/dist/types/components/molecules/VDrawer.test.d.ts +0 -1
  89. package/dist/types/components/molecules/VListbox/VListbox.test.d.ts +0 -1
  90. package/dist/types/components/molecules/VListbox/VListboxButton.test.d.ts +0 -1
  91. package/dist/types/components/molecules/VListbox/VListboxItem.test.d.ts +0 -1
  92. package/dist/types/components/molecules/VListbox/VListboxItems.test.d.ts +0 -1
  93. package/dist/types/components/molecules/VListbox/VListboxLabel.test.d.ts +0 -1
  94. package/dist/types/components/molecules/VPreview.test.d.ts +0 -1
  95. package/dist/types/components/molecules/VRail/VRail.test.d.ts +0 -1
  96. package/dist/types/components/molecules/VRail/VRailTile.test.d.ts +0 -1
  97. package/dist/types/components/molecules/VShell.test.d.ts +0 -1
  98. package/dist/types/components/molecules/VTabs/VTab.test.d.ts +0 -1
  99. package/dist/types/components/molecules/VTabs/VTabPanel.test.d.ts +0 -1
  100. package/dist/types/components/molecules/VTabs/VTabs.test.d.ts +0 -1
  101. package/dist/types/directives/click-outside-group.test.d.ts +0 -1
  102. package/dist/types/directives/click-outside.test.d.ts +0 -1
  103. package/dist/types/directives/clipboard.test.d.ts +0 -1
  104. package/dist/types/services/dark-mode.service.test.d.ts +0 -1
  105. package/dist/types/services/drawer.service.test.d.ts +0 -1
  106. package/dist/types/services/highlight.service.test.d.ts +0 -1
  107. package/dist/types/services/rail.service.test.d.ts +0 -1
  108. package/dist/types/services/settings.service.test.d.ts +0 -1
  109. package/dist/types/types/index.d.ts +0 -54
  110. package/dist/types/types/tailwind.d.ts +0 -4
  111. package/dist/types/utils/colors/colors.service.d.ts +0 -69
  112. package/dist/types/utils/platform/platform.service.test.d.ts +0 -1
  113. package/dist/types/utils/theme/callback.test.d.ts +0 -1
  114. package/dist/types/utils/theme/remove.test.d.ts +0 -1
  115. package/dist/types/utils/theme/theme-switcher.vue.d.ts +0 -69
  116. package/dist/types/utils/theme/theme.service.test.d.ts +0 -1
  117. package/dist/vuetiful.umd.js +0 -99
  118. package/src/assets/fonts/myfont.woff +0 -0
  119. package/src/assets/main.css +0 -17
  120. package/src/components/VBootstrap.vue +0 -62
  121. package/src/components/atoms/VAvatar.test.ts +0 -175
  122. package/src/components/atoms/VAvatar.vue +0 -89
  123. package/src/components/atoms/VBadge.test.ts +0 -28
  124. package/src/components/atoms/VBadge.vue +0 -17
  125. package/src/components/atoms/VButton.test.ts +0 -180
  126. package/src/components/atoms/VButton.vue +0 -76
  127. package/src/components/atoms/VChip.test.ts +0 -33
  128. package/src/components/atoms/VChip.vue +0 -17
  129. package/src/components/atoms/VLightSwitch.test.ts +0 -69
  130. package/src/components/atoms/VLightSwitch.vue +0 -121
  131. package/src/components/atoms/VRadio/VRadioDescription.test.ts +0 -55
  132. package/src/components/atoms/VRadio/VRadioDescription.vue +0 -14
  133. package/src/components/atoms/VRadio/VRadioGroup.test.ts +0 -81
  134. package/src/components/atoms/VRadio/VRadioGroup.vue +0 -88
  135. package/src/components/atoms/VRadio/VRadioItem.test.ts +0 -183
  136. package/src/components/atoms/VRadio/VRadioItem.vue +0 -36
  137. package/src/components/atoms/VRadio/VRadioLabel.test.ts +0 -55
  138. package/src/components/atoms/VRadio/VRadioLabel.vue +0 -16
  139. package/src/components/atoms/VSwitch/VSwitch.test.ts +0 -100
  140. package/src/components/atoms/VSwitch/VSwitch.vue +0 -106
  141. package/src/components/atoms/VSwitch/VSwitchDescription.test.ts +0 -55
  142. package/src/components/atoms/VSwitch/VSwitchDescription.vue +0 -16
  143. package/src/components/atoms/VSwitch/VSwitchGroup.test.ts +0 -26
  144. package/src/components/atoms/VSwitch/VSwitchGroup.vue +0 -16
  145. package/src/components/atoms/VSwitch/VSwitchLabel.test.ts +0 -89
  146. package/src/components/atoms/VSwitch/VSwitchLabel.vue +0 -20
  147. package/src/components/atoms/index.ts +0 -31
  148. package/src/components/index.ts +0 -2
  149. package/src/components/molecules/VAccordion/VAccordion.test.ts +0 -27
  150. package/src/components/molecules/VAccordion/VAccordion.vue +0 -32
  151. package/src/components/molecules/VAccordion/VAccordionItem.test.ts +0 -134
  152. package/src/components/molecules/VAccordion/VAccordionItem.vue +0 -68
  153. package/src/components/molecules/VAlert.test.ts +0 -100
  154. package/src/components/molecules/VAlert.vue +0 -137
  155. package/src/components/molecules/VCard/VCard.test.ts +0 -47
  156. package/src/components/molecules/VCard/VCard.vue +0 -74
  157. package/src/components/molecules/VCard/VCardBody.test.ts +0 -39
  158. package/src/components/molecules/VCard/VCardBody.vue +0 -16
  159. package/src/components/molecules/VCard/VCardFooter.test.ts +0 -63
  160. package/src/components/molecules/VCard/VCardFooter.vue +0 -31
  161. package/src/components/molecules/VCard/VCardHeader.test.ts +0 -86
  162. package/src/components/molecules/VCard/VCardHeader.vue +0 -53
  163. package/src/components/molecules/VCodeBlock.test.ts +0 -133
  164. package/src/components/molecules/VCodeBlock.vue +0 -113
  165. package/src/components/molecules/VDrawer.test.ts +0 -14
  166. package/src/components/molecules/VDrawer.vue +0 -87
  167. package/src/components/molecules/VListbox/VListbox.test.ts +0 -146
  168. package/src/components/molecules/VListbox/VListbox.vue +0 -149
  169. package/src/components/molecules/VListbox/VListboxButton.test.ts +0 -66
  170. package/src/components/molecules/VListbox/VListboxButton.vue +0 -57
  171. package/src/components/molecules/VListbox/VListboxItem.test.ts +0 -51
  172. package/src/components/molecules/VListbox/VListboxItem.vue +0 -39
  173. package/src/components/molecules/VListbox/VListboxItems.test.ts +0 -44
  174. package/src/components/molecules/VListbox/VListboxItems.vue +0 -42
  175. package/src/components/molecules/VListbox/VListboxLabel.test.ts +0 -30
  176. package/src/components/molecules/VListbox/VListboxLabel.vue +0 -14
  177. package/src/components/molecules/VPreview.test.ts +0 -73
  178. package/src/components/molecules/VPreview.vue +0 -230
  179. package/src/components/molecules/VRail/VRail.test.ts +0 -14
  180. package/src/components/molecules/VRail/VRail.vue +0 -33
  181. package/src/components/molecules/VRail/VRailTile.test.ts +0 -97
  182. package/src/components/molecules/VRail/VRailTile.vue +0 -49
  183. package/src/components/molecules/VShell.test.ts +0 -14
  184. package/src/components/molecules/VShell.vue +0 -63
  185. package/src/components/molecules/VTabs/VTab.test.ts +0 -143
  186. package/src/components/molecules/VTabs/VTab.vue +0 -50
  187. package/src/components/molecules/VTabs/VTabPanel.test.ts +0 -24
  188. package/src/components/molecules/VTabs/VTabPanel.vue +0 -9
  189. package/src/components/molecules/VTabs/VTabs.test.ts +0 -92
  190. package/src/components/molecules/VTabs/VTabs.vue +0 -104
  191. package/src/components/molecules/index.ts +0 -51
  192. package/src/directives/click-outside-group.test.ts +0 -44
  193. package/src/directives/click-outside-group.ts +0 -39
  194. package/src/directives/click-outside.test.ts +0 -38
  195. package/src/directives/click-outside.ts +0 -28
  196. package/src/directives/clipboard.test.ts +0 -26
  197. package/src/directives/clipboard.ts +0 -9
  198. package/src/directives/index.ts +0 -5
  199. package/src/env.d.ts +0 -8
  200. package/src/index.ts +0 -21
  201. package/src/props/index.ts +0 -1
  202. package/src/props/props.ts +0 -62
  203. package/src/services/dark-mode.service.test.ts +0 -104
  204. package/src/services/dark-mode.service.ts +0 -75
  205. package/src/services/drawer.service.test.ts +0 -45
  206. package/src/services/drawer.service.ts +0 -46
  207. package/src/services/highlight.service.test.ts +0 -24
  208. package/src/services/highlight.service.ts +0 -19
  209. package/src/services/index.ts +0 -8
  210. package/src/services/rail.service.test.ts +0 -13
  211. package/src/services/rail.service.ts +0 -11
  212. package/src/services/settings.service.test.ts +0 -17
  213. package/src/services/settings.service.ts +0 -136
  214. package/src/styles/all.css +0 -24
  215. package/src/styles/core.css +0 -66
  216. package/src/styles/elements/alerts.css +0 -17
  217. package/src/styles/elements/badges.css +0 -31
  218. package/src/styles/elements/breadcrumbs.css +0 -26
  219. package/src/styles/elements/buttons.css +0 -103
  220. package/src/styles/elements/cards.css +0 -32
  221. package/src/styles/elements/chips.css +0 -22
  222. package/src/styles/elements/forms.css +0 -269
  223. package/src/styles/elements/lists.css +0 -48
  224. package/src/styles/elements/logo-clouds.css +0 -29
  225. package/src/styles/elements/modals.css +0 -15
  226. package/src/styles/elements/placeholders.css +0 -17
  227. package/src/styles/elements/popups.css +0 -16
  228. package/src/styles/elements/tables.css +0 -102
  229. package/src/styles/elements.css +0 -19
  230. package/src/styles/highlight-js.css +0 -116
  231. package/src/styles/tailwind.css +0 -16
  232. package/src/styles/transitions/fade.css +0 -14
  233. package/src/styles/transitions.css +0 -2
  234. package/src/styles/typography.css +0 -101
  235. package/src/styles/variants.css +0 -156
  236. package/src/tailwind/core.cjs +0 -37
  237. package/src/tailwind/generated/intellisense-classes.cjs +0 -558
  238. package/src/tailwind/intellisense.cjs +0 -21
  239. package/src/tailwind/settings.cjs +0 -20
  240. package/src/tailwind/theme/colors.cjs +0 -20
  241. package/src/tailwind/tokens/backgrounds.cjs +0 -48
  242. package/src/tailwind/tokens/border-radius.cjs +0 -21
  243. package/src/tailwind/tokens/borders.cjs +0 -24
  244. package/src/tailwind/tokens/fills.cjs +0 -20
  245. package/src/tailwind/tokens/rings.cjs +0 -50
  246. package/src/tailwind/tokens/text.cjs +0 -35
  247. package/src/tailwind/vuetiful.cjs +0 -19
  248. package/src/themes/theme-rocket.css +0 -119
  249. package/src/themes/theme-sahara.css +0 -128
  250. package/src/themes/theme-seafoam.css +0 -120
  251. package/src/themes/theme-seasonal.css +0 -115
  252. package/src/themes/theme-skeleton.css +0 -115
  253. package/src/themes/theme-vintage.css +0 -125
  254. package/src/themes/theme-vuetiful.css +0 -136
  255. package/src/types/index.ts +0 -59
  256. package/src/types/tailwind.ts +0 -7
  257. package/src/utils/colors/colors.service.ts +0 -293
  258. package/src/utils/index.ts +0 -8
  259. package/src/utils/platform/platform.service.test.ts +0 -19
  260. package/src/utils/platform/platform.service.ts +0 -8
  261. package/src/utils/theme/callback.test.ts +0 -28
  262. package/src/utils/theme/remove.test.ts +0 -27
  263. package/src/utils/theme/theme-switcher.vue +0 -78
  264. package/src/utils/theme/theme.service.test.ts +0 -269
  265. package/src/utils/theme/theme.service.ts +0 -173
  266. package/src/utils/theme/themes.ts +0 -282
@@ -12,12 +12,12 @@ declare const useDrawer: () => {
12
12
  readonly [x: string]: Readonly<unknown>;
13
13
  readonly id?: string | undefined;
14
14
  readonly open?: boolean | undefined;
15
- readonly position?: "left" | "top" | "right" | "bottom" | undefined;
15
+ readonly position?: "bottom" | "left" | "right" | "top" | undefined;
16
16
  readonly duration?: 150 | 300 | undefined;
17
17
  readonly regionBackdrop?: string | undefined;
18
18
  readonly regionDrawer?: string | undefined;
19
19
  };
20
- open: (settings?: DrawerSettings | undefined) => void;
20
+ open: (settings?: DrawerSettings) => void;
21
21
  close: () => void;
22
22
  };
23
23
  export { useDrawer };
@@ -1,7 +1,6 @@
1
- import { useDarkMode, Mode } from './dark-mode.service';
2
1
  import { useDrawer } from './drawer.service';
3
2
  import { useHighlight } from './highlight.service';
4
3
  import { useRail } from './rail.service';
5
- import { useSettings, VuetifulSettings } from './settings.service';
6
- export { useDarkMode, useDrawer, useHighlight, useRail, useSettings };
7
- export type { VuetifulSettings, Mode };
4
+ import { useSettings, type VuetifulSettings } from './settings.service';
5
+ export { useDrawer, useHighlight, useRail, useSettings };
6
+ export type { VuetifulSettings };
@@ -0,0 +1 @@
1
+ export declare const idGenerator: (prefix?: string) => string;
@@ -1,7 +1,9 @@
1
- import type { ColorSettings, Palette, PassReport, Report, SemanticNames } from './colors/colors.service';
2
- import { useColors } from './colors/colors.service';
3
1
  import { usePlatform } from './platform/platform.service';
4
- import ThemeSwitcher from './theme/theme-switcher.vue';
2
+ import { useDarkMode, type Mode } from './theme/dark-mode.service';
3
+ import VLightSwitch from './theme/VLightSwitch.vue';
4
+ import VThemeSwitch from './theme/VThemeSwitch.vue';
5
5
  import { useTheme } from './theme/theme.service';
6
- export { ThemeSwitcher, useColors, usePlatform, useTheme };
7
- export type { ColorSettings, Palette, PassReport, Report, SemanticNames };
6
+ import { idGenerator } from './id-generator';
7
+ import { tm } from './tailwind-merge';
8
+ export { VThemeSwitch, usePlatform, useTheme, idGenerator, tm, useDarkMode, VLightSwitch };
9
+ export type { Mode };
@@ -0,0 +1 @@
1
+ export declare const tm: (...classLists: import("tailwind-merge").ClassNameValue[]) => string;
@@ -0,0 +1,16 @@
1
+ interface LightSwitchProps {
2
+ class?: string;
3
+ classThumb?: string;
4
+ classIcon?: string;
5
+ }
6
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<LightSwitchProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<LightSwitchProps>>>, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
@@ -0,0 +1,41 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ class: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ classButton: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ classItem: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ classItemActive: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
+ class: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ classButton: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ classItem: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ classItemActive: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ }>>, {
36
+ class: string;
37
+ classButton: string;
38
+ classItem: string;
39
+ classItemActive: string;
40
+ }, {}>;
41
+ export default _default;
@@ -2,7 +2,7 @@ declare const MODE: {
2
2
  LIGHT: string;
3
3
  DARK: string;
4
4
  };
5
- export declare type Mode = (typeof MODE)[keyof typeof MODE];
5
+ export type Mode = (typeof MODE)[keyof typeof MODE];
6
6
  declare const useDarkMode: () => {
7
7
  chosenMode: import("vue").Ref<string>;
8
8
  isDark: Readonly<import("vue").Ref<boolean>>;
@@ -0,0 +1,223 @@
1
+ declare const rocket: {
2
+ name: string;
3
+ properties: {
4
+ "--space-scale-factor": string;
5
+ "--type-scale-factor": string;
6
+ "--type-scale-1": string;
7
+ "--type-scale-2": string;
8
+ "--type-scale-3": string;
9
+ "--type-scale-4": string;
10
+ "--type-scale-5": string;
11
+ "--type-scale-6": string;
12
+ "--type-scale-7": string;
13
+ "--type-scale-8": string;
14
+ "--type-scale-9": string;
15
+ "--type-scale-10": string;
16
+ "--type-scale-11": string;
17
+ "--type-scale-12": string;
18
+ "--type-scale-13": string;
19
+ "--base-font-color": string;
20
+ "--base-font-color-dark": string;
21
+ "--base-font-family": string;
22
+ "--base-font-size": string;
23
+ "--base-line-height": string;
24
+ "--base-font-weight": string;
25
+ "--base-font-style": string;
26
+ "--base-letter-spacing": string;
27
+ "--heading-font-color": string;
28
+ "--heading-font-color-dark": string;
29
+ "--heading-font-family": string;
30
+ "--heading-font-weight": string;
31
+ "--heading-font-style": string;
32
+ "--heading-letter-spacing": string;
33
+ "--anchor-font-color": string;
34
+ "--anchor-font-color-dark": string;
35
+ "--anchor-font-family": string;
36
+ "--anchor-font-size": string;
37
+ "--anchor-line-height": string;
38
+ "--anchor-font-weight": string;
39
+ "--anchor-font-style": string;
40
+ "--anchor-letter-spacing": string;
41
+ "--anchor-text-decoration": string;
42
+ "--anchor-text-decoration-hover": string;
43
+ "--anchor-text-decoration-active": string;
44
+ "--anchor-text-decoration-focus": string;
45
+ "--body-background-color": string;
46
+ "--body-background-color-dark": string;
47
+ "--radii-default": string;
48
+ "--radii-container": string;
49
+ "--border-width-default": string;
50
+ "--ring-width-default": string;
51
+ "--outline-width-default": string;
52
+ "--divide-width-default": string;
53
+ "--color-primary-50": string;
54
+ "--color-primary-100": string;
55
+ "--color-primary-200": string;
56
+ "--color-primary-300": string;
57
+ "--color-primary-400": string;
58
+ "--color-primary-500": string;
59
+ "--color-primary-600": string;
60
+ "--color-primary-700": string;
61
+ "--color-primary-800": string;
62
+ "--color-primary-900": string;
63
+ "--color-primary-950": string;
64
+ "--color-primary-contrast-dark": string;
65
+ "--color-primary-contrast-light": string;
66
+ "--color-primary-contrast-50": string;
67
+ "--color-primary-contrast-100": string;
68
+ "--color-primary-contrast-200": string;
69
+ "--color-primary-contrast-300": string;
70
+ "--color-primary-contrast-400": string;
71
+ "--color-primary-contrast-500": string;
72
+ "--color-primary-contrast-600": string;
73
+ "--color-primary-contrast-700": string;
74
+ "--color-primary-contrast-800": string;
75
+ "--color-primary-contrast-900": string;
76
+ "--color-primary-contrast-950": string;
77
+ "--color-secondary-50": string;
78
+ "--color-secondary-100": string;
79
+ "--color-secondary-200": string;
80
+ "--color-secondary-300": string;
81
+ "--color-secondary-400": string;
82
+ "--color-secondary-500": string;
83
+ "--color-secondary-600": string;
84
+ "--color-secondary-700": string;
85
+ "--color-secondary-800": string;
86
+ "--color-secondary-900": string;
87
+ "--color-secondary-950": string;
88
+ "--color-secondary-contrast-dark": string;
89
+ "--color-secondary-contrast-light": string;
90
+ "--color-secondary-contrast-50": string;
91
+ "--color-secondary-contrast-100": string;
92
+ "--color-secondary-contrast-200": string;
93
+ "--color-secondary-contrast-300": string;
94
+ "--color-secondary-contrast-400": string;
95
+ "--color-secondary-contrast-500": string;
96
+ "--color-secondary-contrast-600": string;
97
+ "--color-secondary-contrast-700": string;
98
+ "--color-secondary-contrast-800": string;
99
+ "--color-secondary-contrast-900": string;
100
+ "--color-secondary-contrast-950": string;
101
+ "--color-tertiary-50": string;
102
+ "--color-tertiary-100": string;
103
+ "--color-tertiary-200": string;
104
+ "--color-tertiary-300": string;
105
+ "--color-tertiary-400": string;
106
+ "--color-tertiary-500": string;
107
+ "--color-tertiary-600": string;
108
+ "--color-tertiary-700": string;
109
+ "--color-tertiary-800": string;
110
+ "--color-tertiary-900": string;
111
+ "--color-tertiary-950": string;
112
+ "--color-tertiary-contrast-dark": string;
113
+ "--color-tertiary-contrast-light": string;
114
+ "--color-tertiary-contrast-50": string;
115
+ "--color-tertiary-contrast-100": string;
116
+ "--color-tertiary-contrast-200": string;
117
+ "--color-tertiary-contrast-300": string;
118
+ "--color-tertiary-contrast-400": string;
119
+ "--color-tertiary-contrast-500": string;
120
+ "--color-tertiary-contrast-600": string;
121
+ "--color-tertiary-contrast-700": string;
122
+ "--color-tertiary-contrast-800": string;
123
+ "--color-tertiary-contrast-900": string;
124
+ "--color-tertiary-contrast-950": string;
125
+ "--color-success-50": string;
126
+ "--color-success-100": string;
127
+ "--color-success-200": string;
128
+ "--color-success-300": string;
129
+ "--color-success-400": string;
130
+ "--color-success-500": string;
131
+ "--color-success-600": string;
132
+ "--color-success-700": string;
133
+ "--color-success-800": string;
134
+ "--color-success-900": string;
135
+ "--color-success-950": string;
136
+ "--color-success-contrast-dark": string;
137
+ "--color-success-contrast-light": string;
138
+ "--color-success-contrast-50": string;
139
+ "--color-success-contrast-100": string;
140
+ "--color-success-contrast-200": string;
141
+ "--color-success-contrast-300": string;
142
+ "--color-success-contrast-400": string;
143
+ "--color-success-contrast-500": string;
144
+ "--color-success-contrast-600": string;
145
+ "--color-success-contrast-700": string;
146
+ "--color-success-contrast-800": string;
147
+ "--color-success-contrast-900": string;
148
+ "--color-success-contrast-950": string;
149
+ "--color-warning-50": string;
150
+ "--color-warning-100": string;
151
+ "--color-warning-200": string;
152
+ "--color-warning-300": string;
153
+ "--color-warning-400": string;
154
+ "--color-warning-500": string;
155
+ "--color-warning-600": string;
156
+ "--color-warning-700": string;
157
+ "--color-warning-800": string;
158
+ "--color-warning-900": string;
159
+ "--color-warning-950": string;
160
+ "--color-warning-contrast-dark": string;
161
+ "--color-warning-contrast-light": string;
162
+ "--color-warning-contrast-50": string;
163
+ "--color-warning-contrast-100": string;
164
+ "--color-warning-contrast-200": string;
165
+ "--color-warning-contrast-300": string;
166
+ "--color-warning-contrast-400": string;
167
+ "--color-warning-contrast-500": string;
168
+ "--color-warning-contrast-600": string;
169
+ "--color-warning-contrast-700": string;
170
+ "--color-warning-contrast-800": string;
171
+ "--color-warning-contrast-900": string;
172
+ "--color-warning-contrast-950": string;
173
+ "--color-error-50": string;
174
+ "--color-error-100": string;
175
+ "--color-error-200": string;
176
+ "--color-error-300": string;
177
+ "--color-error-400": string;
178
+ "--color-error-500": string;
179
+ "--color-error-600": string;
180
+ "--color-error-700": string;
181
+ "--color-error-800": string;
182
+ "--color-error-900": string;
183
+ "--color-error-950": string;
184
+ "--color-error-contrast-dark": string;
185
+ "--color-error-contrast-light": string;
186
+ "--color-error-contrast-50": string;
187
+ "--color-error-contrast-100": string;
188
+ "--color-error-contrast-200": string;
189
+ "--color-error-contrast-300": string;
190
+ "--color-error-contrast-400": string;
191
+ "--color-error-contrast-500": string;
192
+ "--color-error-contrast-600": string;
193
+ "--color-error-contrast-700": string;
194
+ "--color-error-contrast-800": string;
195
+ "--color-error-contrast-900": string;
196
+ "--color-error-contrast-950": string;
197
+ "--color-surface-50": string;
198
+ "--color-surface-100": string;
199
+ "--color-surface-200": string;
200
+ "--color-surface-300": string;
201
+ "--color-surface-400": string;
202
+ "--color-surface-500": string;
203
+ "--color-surface-600": string;
204
+ "--color-surface-700": string;
205
+ "--color-surface-800": string;
206
+ "--color-surface-900": string;
207
+ "--color-surface-950": string;
208
+ "--color-surface-contrast-dark": string;
209
+ "--color-surface-contrast-light": string;
210
+ "--color-surface-contrast-50": string;
211
+ "--color-surface-contrast-100": string;
212
+ "--color-surface-contrast-200": string;
213
+ "--color-surface-contrast-300": string;
214
+ "--color-surface-contrast-400": string;
215
+ "--color-surface-contrast-500": string;
216
+ "--color-surface-contrast-600": string;
217
+ "--color-surface-contrast-700": string;
218
+ "--color-surface-contrast-800": string;
219
+ "--color-surface-contrast-900": string;
220
+ "--color-surface-contrast-950": string;
221
+ };
222
+ };
223
+ export default rocket;
@@ -1,16 +1,13 @@
1
- import { Ref } from 'vue';
2
- import { Theme } from './themes';
1
+ import type { Theme } from '@skeletonlabs/skeleton/themes';
2
+ import { type Ref } from 'vue';
3
3
  declare const useTheme: () => {
4
4
  chosenTheme: Ref<Theme>;
5
- themes: Theme[];
6
- THEME: {
7
- VUETIFUL: Theme;
8
- ROCKET: Theme;
9
- };
5
+ themes: Record<"vuetiful" | "rocket" | "catppuccin" | "cerberus" | "pine" | "rose", Theme>;
6
+ themeArray: Theme[];
10
7
  applyThemeSSR: (html: string, theme: Theme) => string;
11
- applyTheme: (theme: Theme, callback?: Function | undefined) => void;
8
+ applyTheme: (theme: Theme, callback?: Function) => void;
12
9
  getThemeFromCookie: (cookies: string) => Theme;
13
- initializeTheme: (callback?: Function | undefined) => void;
10
+ initializeTheme: (callback?: Function) => void;
14
11
  changeDataTheme: (name: string) => void;
15
12
  registerTheme: (theme: Theme) => void;
16
13
  };
@@ -1,39 +1,3 @@
1
- import { ColorSettings } from '../colors/colors.service';
2
- export declare const themes: Array<Theme>;
3
- export declare const THEME: {
4
- VUETIFUL: Theme;
5
- ROCKET: Theme;
6
- };
7
- export interface Theme {
8
- name: string;
9
- gradients: Gradients;
10
- colors: {
11
- primary: ColorSettings;
12
- secondary: ColorSettings;
13
- tertiary: ColorSettings;
14
- success: ColorSettings;
15
- warning: ColorSettings;
16
- error: ColorSettings;
17
- surface: ColorSettings;
18
- };
19
- fonts: Fonts;
20
- textColorLight: string;
21
- textColorDark: string;
22
- roundedBase: string;
23
- roundedContainer: string;
24
- borderBase: string;
25
- customCss: string;
26
- [key: string]: any;
27
- }
28
- export interface Fonts {
29
- base: string;
30
- customBase: string;
31
- baseImports: string;
32
- headings: string;
33
- customHeadings: string;
34
- headingImports: string;
35
- }
36
- export interface Gradients {
37
- light: string;
38
- dark: string;
39
- }
1
+ import { type Theme } from '@skeletonlabs/skeleton/themes';
2
+ export declare const themes: Record<'vuetiful' | 'rocket' | 'catppuccin' | 'cerberus' | 'pine' | 'rose', Theme>;
3
+ export declare const themeArray: Array<Theme>;
@@ -0,0 +1,224 @@
1
+ declare const vuetiful: {
2
+ name: string;
3
+ properties: {
4
+ '--space-scale-factor': string;
5
+ '--type-scale-factor': string;
6
+ '--type-scale-1': string;
7
+ '--type-scale-2': string;
8
+ '--type-scale-3': string;
9
+ '--type-scale-4': string;
10
+ '--type-scale-5': string;
11
+ '--type-scale-6': string;
12
+ '--type-scale-7': string;
13
+ '--type-scale-8': string;
14
+ '--type-scale-9': string;
15
+ '--type-scale-10': string;
16
+ '--type-scale-11': string;
17
+ '--type-scale-12': string;
18
+ '--type-scale-13': string;
19
+ '--base-font-color': string;
20
+ '--base-font-color-dark': string;
21
+ '--base-font-family': string;
22
+ '--base-font-size': string;
23
+ '--base-line-height': string;
24
+ '--base-font-weight': string;
25
+ '--base-font-style': string;
26
+ '--base-letter-spacing': string;
27
+ '--heading-font-color': string;
28
+ '--heading-font-color-dark': string;
29
+ '--heading-font-family': string;
30
+ '--heading-font-weight': string;
31
+ '--heading-font-style': string;
32
+ '--heading-letter-spacing': string;
33
+ '--anchor-font-color': string;
34
+ '--anchor-font-color-dark': string;
35
+ '--anchor-font-family': string;
36
+ '--anchor-font-size': string;
37
+ '--anchor-line-height': string;
38
+ '--anchor-font-weight': string;
39
+ '--anchor-font-style': string;
40
+ '--anchor-letter-spacing': string;
41
+ '--anchor-text-decoration': string;
42
+ '--anchor-text-decoration-hover': string;
43
+ '--anchor-text-decoration-active': string;
44
+ '--anchor-text-decoration-focus': string;
45
+ '--body-background-color': string;
46
+ '--body-background-color-dark': string;
47
+ '--radii-default': string;
48
+ '--radii-container': string;
49
+ '--border-width-default': string;
50
+ '--ring-width-default': string;
51
+ '--outline-width-default': string;
52
+ '--divide-width-default': string;
53
+ '--color-primary-50': string;
54
+ '--color-primary-100': string;
55
+ '--color-primary-200': string;
56
+ '--color-primary-300': string;
57
+ '--color-primary-400': string;
58
+ '--color-primary-500': string;
59
+ '--color-primary-600': string;
60
+ '--color-primary-700': string;
61
+ '--color-primary-800': string;
62
+ '--color-primary-900': string;
63
+ '--color-primary-950': string;
64
+ '--color-primary-contrast-dark': string;
65
+ '--color-primary-contrast-light': string;
66
+ '--color-primary-contrast-50': string;
67
+ '--color-primary-contrast-100': string;
68
+ '--color-primary-contrast-200': string;
69
+ '--color-primary-contrast-300': string;
70
+ '--color-primary-contrast-400': string;
71
+ '--color-primary-contrast-500': string;
72
+ '--color-primary-contrast-600': string;
73
+ '--color-primary-contrast-700': string;
74
+ '--color-primary-contrast-800': string;
75
+ '--color-primary-contrast-900': string;
76
+ '--color-primary-contrast-950': string;
77
+ '--color-secondary-50': string;
78
+ '--color-secondary-100': string;
79
+ '--color-secondary-200': string;
80
+ '--color-secondary-300': string;
81
+ '--color-secondary-400': string;
82
+ '--color-secondary-500': string;
83
+ '--color-secondary-600': string;
84
+ '--color-secondary-700': string;
85
+ '--color-secondary-800': string;
86
+ '--color-secondary-900': string;
87
+ '--color-secondary-950': string;
88
+ '--color-secondary-contrast-dark': string;
89
+ '--color-secondary-contrast-light': string;
90
+ '--color-secondary-contrast-50': string;
91
+ '--color-secondary-contrast-100': string;
92
+ '--color-secondary-contrast-200': string;
93
+ '--color-secondary-contrast-300': string;
94
+ '--color-secondary-contrast-400': string;
95
+ '--color-secondary-contrast-500': string;
96
+ '--color-secondary-contrast-600': string;
97
+ '--color-secondary-contrast-700': string;
98
+ '--color-secondary-contrast-800': string;
99
+ '--color-secondary-contrast-900': string;
100
+ '--color-secondary-contrast-950': string;
101
+ '--color-tertiary-50': string;
102
+ '--color-tertiary-100': string;
103
+ '--color-tertiary-200': string;
104
+ '--color-tertiary-300': string;
105
+ '--color-tertiary-400': string;
106
+ '--color-tertiary-500': string;
107
+ '--color-tertiary-600': string;
108
+ '--color-tertiary-700': string;
109
+ '--color-tertiary-800': string;
110
+ '--color-tertiary-900': string;
111
+ '--color-tertiary-950': string;
112
+ '--color-tertiary-contrast-dark': string;
113
+ '--color-tertiary-contrast-light': string;
114
+ '--color-tertiary-contrast-50': string;
115
+ '--color-tertiary-contrast-100': string;
116
+ '--color-tertiary-contrast-200': string;
117
+ '--color-tertiary-contrast-300': string;
118
+ '--color-tertiary-contrast-400': string;
119
+ '--color-tertiary-contrast-500': string;
120
+ '--color-tertiary-contrast-600': string;
121
+ '--color-tertiary-contrast-700': string;
122
+ '--color-tertiary-contrast-800': string;
123
+ '--color-tertiary-contrast-900': string;
124
+ '--color-tertiary-contrast-950': string;
125
+ '--color-success-50': string;
126
+ '--color-success-100': string;
127
+ '--color-success-200': string;
128
+ '--color-success-300': string;
129
+ '--color-success-400': string;
130
+ '--color-success-500': string;
131
+ '--color-success-600': string;
132
+ '--color-success-700': string;
133
+ '--color-success-800': string;
134
+ '--color-success-900': string;
135
+ '--color-success-950': string;
136
+ '--color-success-contrast-dark': string;
137
+ '--color-success-contrast-light': string;
138
+ '--color-success-contrast-50': string;
139
+ '--color-success-contrast-100': string;
140
+ '--color-success-contrast-200': string;
141
+ '--color-success-contrast-300': string;
142
+ '--color-success-contrast-400': string;
143
+ '--color-success-contrast-500': string;
144
+ '--color-success-contrast-600': string;
145
+ '--color-success-contrast-700': string;
146
+ '--color-success-contrast-800': string;
147
+ '--color-success-contrast-900': string;
148
+ '--color-success-contrast-950': string;
149
+ '--color-warning-50': string;
150
+ '--color-warning-100': string;
151
+ '--color-warning-200': string;
152
+ '--color-warning-300': string;
153
+ '--color-warning-400': string;
154
+ '--color-warning-500': string;
155
+ '--color-warning-600': string;
156
+ '--color-warning-700': string;
157
+ '--color-warning-800': string;
158
+ '--color-warning-900': string;
159
+ '--color-warning-950': string;
160
+ '--color-warning-contrast-dark': string;
161
+ '--color-warning-contrast-light': string;
162
+ '--color-warning-contrast-50': string;
163
+ '--color-warning-contrast-100': string;
164
+ '--color-warning-contrast-200': string;
165
+ '--color-warning-contrast-300': string;
166
+ '--color-warning-contrast-400': string;
167
+ '--color-warning-contrast-500': string;
168
+ '--color-warning-contrast-600': string;
169
+ '--color-warning-contrast-700': string;
170
+ '--color-warning-contrast-800': string;
171
+ '--color-warning-contrast-900': string;
172
+ '--color-warning-contrast-950': string;
173
+ '--color-error-50': string;
174
+ '--color-error-100': string;
175
+ '--color-error-200': string;
176
+ '--color-error-300': string;
177
+ '--color-error-400': string;
178
+ '--color-error-500': string;
179
+ '--color-error-600': string;
180
+ '--color-error-700': string;
181
+ '--color-error-800': string;
182
+ '--color-error-900': string;
183
+ '--color-error-950': string;
184
+ '--color-error-contrast-dark': string;
185
+ '--color-error-contrast-light': string;
186
+ '--color-error-contrast-50': string;
187
+ '--color-error-contrast-100': string;
188
+ '--color-error-contrast-200': string;
189
+ '--color-error-contrast-300': string;
190
+ '--color-error-contrast-400': string;
191
+ '--color-error-contrast-500': string;
192
+ '--color-error-contrast-600': string;
193
+ '--color-error-contrast-700': string;
194
+ '--color-error-contrast-800': string;
195
+ '--color-error-contrast-900': string;
196
+ '--color-error-contrast-950': string;
197
+ '--color-surface-50': string;
198
+ '--color-surface-100': string;
199
+ '--color-surface-200': string;
200
+ '--color-surface-300': string;
201
+ '--color-surface-400': string;
202
+ '--color-surface-500': string;
203
+ '--color-surface-600': string;
204
+ '--color-surface-700': string;
205
+ '--color-surface-800': string;
206
+ '--color-surface-900': string;
207
+ '--color-surface-950': string;
208
+ '--color-surface-contrast-dark': string;
209
+ '--color-surface-contrast-light': string;
210
+ '--color-surface-contrast-50': string;
211
+ '--color-surface-contrast-100': string;
212
+ '--color-surface-contrast-200': string;
213
+ '--color-surface-contrast-300': string;
214
+ '--color-surface-contrast-400': string;
215
+ '--color-surface-contrast-500': string;
216
+ '--color-surface-contrast-600': string;
217
+ '--color-surface-contrast-700': string;
218
+ '--color-surface-contrast-800': string;
219
+ '--color-surface-contrast-900': string;
220
+ '--color-surface-contrast-950': string;
221
+ };
222
+ custom: string;
223
+ };
224
+ export default vuetiful;