@code-coaching/vuetiful 0.4.1 → 0.5.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.
Files changed (45) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/styles/all.css +62 -54
  3. package/dist/types/components/molecules/VDrawer.vue.d.ts +0 -18
  4. package/dist/types/services/drawer.service.d.ts +2 -3
  5. package/dist/types/types/index.d.ts +1 -1
  6. package/dist/types/utils/platform/platform.service.d.ts +1 -1
  7. package/dist/vuetiful.es.mjs +23 -23
  8. package/dist/vuetiful.umd.js +9 -9
  9. package/package.json +3 -2
  10. package/src/assets/main.css +6 -6
  11. package/src/components/molecules/VDrawer.vue +8 -14
  12. package/src/env.d.ts +4 -4
  13. package/src/services/drawer.service.ts +15 -12
  14. package/src/styles/core.css +49 -49
  15. package/src/styles/elements/alerts.css +13 -13
  16. package/src/styles/elements/badges.css +24 -24
  17. package/src/styles/elements/breadcrumbs.css +19 -19
  18. package/src/styles/elements/buttons.css +86 -86
  19. package/src/styles/elements/cards.css +22 -22
  20. package/src/styles/elements/chips.css +17 -17
  21. package/src/styles/elements/forms.css +237 -236
  22. package/src/styles/elements/lists.css +39 -39
  23. package/src/styles/elements/logo-clouds.css +21 -21
  24. package/src/styles/elements/modals.css +3 -3
  25. package/src/styles/elements/placeholders.css +10 -10
  26. package/src/styles/elements/popups.css +7 -7
  27. package/src/styles/elements/tables.css +73 -73
  28. package/src/styles/elements.css +13 -13
  29. package/src/styles/highlight-js.css +33 -33
  30. package/src/styles/typography.css +97 -97
  31. package/src/styles/variants.css +145 -145
  32. package/src/tailwind/generated/intellisense-classes.cjs +106 -106
  33. package/src/themes/theme-rocket.css +104 -104
  34. package/src/themes/theme-sahara.css +111 -111
  35. package/src/themes/theme-seafoam.css +110 -109
  36. package/src/themes/theme-seasonal.css +101 -101
  37. package/src/themes/theme-skeleton.css +102 -102
  38. package/src/themes/theme-vintage.css +109 -109
  39. package/src/themes/theme-vuetiful-0.0.1.css +110 -110
  40. package/src/types/index.ts +1 -1
  41. package/src/types/tailwind.ts +21 -2
  42. package/src/utils/code-block/highlight.service.test.ts +1 -1
  43. package/src/utils/index.test.ts +1 -1
  44. package/src/utils/platform/platform.service.ts +3 -5
  45. package/src/utils/theme/theme.service.test.ts +2 -3
@@ -1,126 +1,126 @@
1
1
  /* https://fonts.google.com/specimen/Quicksand?query=Quicksand */
2
- @import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
2
+ @import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");
3
3
 
4
4
  :root {
5
- /* =~= Theme Properties =~= */
6
- --theme-font-family-base: 'Quicksand', sans-serif;
7
- --theme-font-family-heading: 'Quicksand', sans-serif;
8
- --theme-font-color-base: var(--color-surface-900);
9
- --theme-font-color-dark: var(--color-tertiary-50);
10
- --theme-rounded-base: 12px;
11
- --theme-rounded-container: 12px;
12
- --theme-border-base: 0px;
13
- /* =~= Theme On-X Colors =~= */
14
- --on-primary: 0 0 0;
15
- --on-secondary: 0 0 0;
16
- --on-tertiary: 0 0 0;
17
- --on-success: 0 0 0;
18
- --on-warning: 0 0 0;
19
- --on-error: 255 255 255;
20
- --on-surface: 255 255 255;
21
- /* =~= Theme Colors =~= */
22
- /* primary | #ec4899 */
23
- --color-primary-50: 252 228 240; /* ⬅ #fce4f0 */
24
- --color-primary-100: 251 218 235; /* ⬅ #fbdaeb */
25
- --color-primary-200: 250 209 230; /* ⬅ #fad1e6 */
26
- --color-primary-300: 247 182 214; /* ⬅ #f7b6d6 */
27
- --color-primary-400: 242 127 184; /* ⬅ #f27fb8 */
28
- --color-primary-500: 236 72 153; /* ⬅ #ec4899 */
29
- --color-primary-600: 212 65 138; /* ⬅ #d4418a */
30
- --color-primary-700: 177 54 115; /* ⬅ #b13673 */
31
- --color-primary-800: 142 43 92; /* ⬅ #8e2b5c */
32
- --color-primary-900: 116 35 75; /* ⬅ #74234b */
33
- /* secondary | #06b6d4 */
34
- --color-secondary-50: 218 244 249; /* ⬅ #daf4f9 */
35
- --color-secondary-100: 205 240 246; /* ⬅ #cdf0f6 */
36
- --color-secondary-200: 193 237 244; /* ⬅ #c1edf4 */
37
- --color-secondary-300: 155 226 238; /* ⬅ #9be2ee */
38
- --color-secondary-400: 81 204 225; /* ⬅ #51cce1 */
39
- --color-secondary-500: 6 182 212; /* ⬅ #06b6d4 */
40
- --color-secondary-600: 5 164 191; /* ⬅ #05a4bf */
41
- --color-secondary-700: 5 137 159; /* ⬅ #05899f */
42
- --color-secondary-800: 4 109 127; /* ⬅ #046d7f */
43
- --color-secondary-900: 3 89 104; /* ⬅ #035968 */
44
- /* tertiary | #14b8a6 */
45
- --color-tertiary-50: 220 244 242; /* ⬅ #dcf4f2 */
46
- --color-tertiary-100: 208 241 237; /* ⬅ #d0f1ed */
47
- --color-tertiary-200: 196 237 233; /* ⬅ #c4ede9 */
48
- --color-tertiary-300: 161 227 219; /* ⬅ #a1e3db */
49
- --color-tertiary-400: 91 205 193; /* ⬅ #5bcdc1 */
50
- --color-tertiary-500: 20 184 166; /* ⬅ #14b8a6 */
51
- --color-tertiary-600: 18 166 149; /* ⬅ #12a695 */
52
- --color-tertiary-700: 15 138 125; /* ⬅ #0f8a7d */
53
- --color-tertiary-800: 12 110 100; /* ⬅ #0c6e64 */
54
- --color-tertiary-900: 10 90 81; /* ⬅ #0a5a51 */
55
- /* success | #84cc16 */
56
- --color-success-50: 237 247 220; /* ⬅ #edf7dc */
57
- --color-success-100: 230 245 208; /* ⬅ #e6f5d0 */
58
- --color-success-200: 224 242 197; /* ⬅ #e0f2c5 */
59
- --color-success-300: 206 235 162; /* ⬅ #ceeba2 */
60
- --color-success-400: 169 219 92; /* ⬅ #a9db5c */
61
- --color-success-500: 132 204 22; /* ⬅ #84cc16 */
62
- --color-success-600: 119 184 20; /* ⬅ #77b814 */
63
- --color-success-700: 99 153 17; /* ⬅ #639911 */
64
- --color-success-800: 79 122 13; /* ⬅ #4f7a0d */
65
- --color-success-900: 65 100 11; /* ⬅ #41640b */
66
- /* warning | #eab308 */
67
- --color-warning-50: 252 244 218; /* ⬅ #fcf4da */
68
- --color-warning-100: 251 240 206; /* ⬅ #fbf0ce */
69
- --color-warning-200: 250 236 193; /* ⬅ #faecc1 */
70
- --color-warning-300: 247 225 156; /* ⬅ #f7e19c */
71
- --color-warning-400: 240 202 82; /* ⬅ #f0ca52 */
72
- --color-warning-500: 234 179 8; /* ⬅ #eab308 */
73
- --color-warning-600: 211 161 7; /* ⬅ #d3a107 */
74
- --color-warning-700: 176 134 6; /* ⬅ #b08606 */
75
- --color-warning-800: 140 107 5; /* ⬅ #8c6b05 */
76
- --color-warning-900: 115 88 4; /* ⬅ #735804 */
77
- /* error | #ef4444 */
78
- --color-error-50: 253 227 227; /* ⬅ #fde3e3 */
79
- --color-error-100: 252 218 218; /* ⬅ #fcdada */
80
- --color-error-200: 251 208 208; /* ⬅ #fbd0d0 */
81
- --color-error-300: 249 180 180; /* ⬅ #f9b4b4 */
82
- --color-error-400: 244 124 124; /* ⬅ #f47c7c */
83
- --color-error-500: 239 68 68; /* ⬅ #ef4444 */
84
- --color-error-600: 215 61 61; /* ⬅ #d73d3d */
85
- --color-error-700: 179 51 51; /* ⬅ #b33333 */
86
- --color-error-800: 143 41 41; /* ⬅ #8f2929 */
87
- --color-error-900: 117 33 33; /* ⬅ #752121 */
88
- /* surface | #6366f1 */
89
- --color-surface-50: 232 232 253; /* ⬅ #e8e8fd */
90
- --color-surface-100: 224 224 252; /* ⬅ #e0e0fc */
91
- --color-surface-200: 216 217 252; /* ⬅ #d8d9fc */
92
- --color-surface-300: 193 194 249; /* ⬅ #c1c2f9 */
93
- --color-surface-400: 146 148 245; /* ⬅ #9294f5 */
94
- --color-surface-500: 99 102 241; /* ⬅ #6366f1 */
95
- --color-surface-600: 89 92 217; /* ⬅ #595cd9 */
96
- --color-surface-700: 74 77 181; /* ⬅ #4a4db5 */
97
- --color-surface-800: 59 61 145; /* ⬅ #3b3d91 */
98
- --color-surface-900: 49 50 118; /* ⬅ #313276 */
5
+ /* =~= Theme Properties =~= */
6
+ --theme-font-family-base: "Quicksand", sans-serif;
7
+ --theme-font-family-heading: "Quicksand", sans-serif;
8
+ --theme-font-color-base: var(--color-surface-900);
9
+ --theme-font-color-dark: var(--color-tertiary-50);
10
+ --theme-rounded-base: 12px;
11
+ --theme-rounded-container: 12px;
12
+ --theme-border-base: 0px;
13
+ /* =~= Theme On-X Colors =~= */
14
+ --on-primary: 0 0 0;
15
+ --on-secondary: 0 0 0;
16
+ --on-tertiary: 0 0 0;
17
+ --on-success: 0 0 0;
18
+ --on-warning: 0 0 0;
19
+ --on-error: 255 255 255;
20
+ --on-surface: 255 255 255;
21
+ /* =~= Theme Colors =~= */
22
+ /* primary | #ec4899 */
23
+ --color-primary-50: 252 228 240; /* ⬅ #fce4f0 */
24
+ --color-primary-100: 251 218 235; /* ⬅ #fbdaeb */
25
+ --color-primary-200: 250 209 230; /* ⬅ #fad1e6 */
26
+ --color-primary-300: 247 182 214; /* ⬅ #f7b6d6 */
27
+ --color-primary-400: 242 127 184; /* ⬅ #f27fb8 */
28
+ --color-primary-500: 236 72 153; /* ⬅ #ec4899 */
29
+ --color-primary-600: 212 65 138; /* ⬅ #d4418a */
30
+ --color-primary-700: 177 54 115; /* ⬅ #b13673 */
31
+ --color-primary-800: 142 43 92; /* ⬅ #8e2b5c */
32
+ --color-primary-900: 116 35 75; /* ⬅ #74234b */
33
+ /* secondary | #06b6d4 */
34
+ --color-secondary-50: 218 244 249; /* ⬅ #daf4f9 */
35
+ --color-secondary-100: 205 240 246; /* ⬅ #cdf0f6 */
36
+ --color-secondary-200: 193 237 244; /* ⬅ #c1edf4 */
37
+ --color-secondary-300: 155 226 238; /* ⬅ #9be2ee */
38
+ --color-secondary-400: 81 204 225; /* ⬅ #51cce1 */
39
+ --color-secondary-500: 6 182 212; /* ⬅ #06b6d4 */
40
+ --color-secondary-600: 5 164 191; /* ⬅ #05a4bf */
41
+ --color-secondary-700: 5 137 159; /* ⬅ #05899f */
42
+ --color-secondary-800: 4 109 127; /* ⬅ #046d7f */
43
+ --color-secondary-900: 3 89 104; /* ⬅ #035968 */
44
+ /* tertiary | #14b8a6 */
45
+ --color-tertiary-50: 220 244 242; /* ⬅ #dcf4f2 */
46
+ --color-tertiary-100: 208 241 237; /* ⬅ #d0f1ed */
47
+ --color-tertiary-200: 196 237 233; /* ⬅ #c4ede9 */
48
+ --color-tertiary-300: 161 227 219; /* ⬅ #a1e3db */
49
+ --color-tertiary-400: 91 205 193; /* ⬅ #5bcdc1 */
50
+ --color-tertiary-500: 20 184 166; /* ⬅ #14b8a6 */
51
+ --color-tertiary-600: 18 166 149; /* ⬅ #12a695 */
52
+ --color-tertiary-700: 15 138 125; /* ⬅ #0f8a7d */
53
+ --color-tertiary-800: 12 110 100; /* ⬅ #0c6e64 */
54
+ --color-tertiary-900: 10 90 81; /* ⬅ #0a5a51 */
55
+ /* success | #84cc16 */
56
+ --color-success-50: 237 247 220; /* ⬅ #edf7dc */
57
+ --color-success-100: 230 245 208; /* ⬅ #e6f5d0 */
58
+ --color-success-200: 224 242 197; /* ⬅ #e0f2c5 */
59
+ --color-success-300: 206 235 162; /* ⬅ #ceeba2 */
60
+ --color-success-400: 169 219 92; /* ⬅ #a9db5c */
61
+ --color-success-500: 132 204 22; /* ⬅ #84cc16 */
62
+ --color-success-600: 119 184 20; /* ⬅ #77b814 */
63
+ --color-success-700: 99 153 17; /* ⬅ #639911 */
64
+ --color-success-800: 79 122 13; /* ⬅ #4f7a0d */
65
+ --color-success-900: 65 100 11; /* ⬅ #41640b */
66
+ /* warning | #eab308 */
67
+ --color-warning-50: 252 244 218; /* ⬅ #fcf4da */
68
+ --color-warning-100: 251 240 206; /* ⬅ #fbf0ce */
69
+ --color-warning-200: 250 236 193; /* ⬅ #faecc1 */
70
+ --color-warning-300: 247 225 156; /* ⬅ #f7e19c */
71
+ --color-warning-400: 240 202 82; /* ⬅ #f0ca52 */
72
+ --color-warning-500: 234 179 8; /* ⬅ #eab308 */
73
+ --color-warning-600: 211 161 7; /* ⬅ #d3a107 */
74
+ --color-warning-700: 176 134 6; /* ⬅ #b08606 */
75
+ --color-warning-800: 140 107 5; /* ⬅ #8c6b05 */
76
+ --color-warning-900: 115 88 4; /* ⬅ #735804 */
77
+ /* error | #ef4444 */
78
+ --color-error-50: 253 227 227; /* ⬅ #fde3e3 */
79
+ --color-error-100: 252 218 218; /* ⬅ #fcdada */
80
+ --color-error-200: 251 208 208; /* ⬅ #fbd0d0 */
81
+ --color-error-300: 249 180 180; /* ⬅ #f9b4b4 */
82
+ --color-error-400: 244 124 124; /* ⬅ #f47c7c */
83
+ --color-error-500: 239 68 68; /* ⬅ #ef4444 */
84
+ --color-error-600: 215 61 61; /* ⬅ #d73d3d */
85
+ --color-error-700: 179 51 51; /* ⬅ #b33333 */
86
+ --color-error-800: 143 41 41; /* ⬅ #8f2929 */
87
+ --color-error-900: 117 33 33; /* ⬅ #752121 */
88
+ /* surface | #6366f1 */
89
+ --color-surface-50: 232 232 253; /* ⬅ #e8e8fd */
90
+ --color-surface-100: 224 224 252; /* ⬅ #e0e0fc */
91
+ --color-surface-200: 216 217 252; /* ⬅ #d8d9fc */
92
+ --color-surface-300: 193 194 249; /* ⬅ #c1c2f9 */
93
+ --color-surface-400: 146 148 245; /* ⬅ #9294f5 */
94
+ --color-surface-500: 99 102 241; /* ⬅ #6366f1 */
95
+ --color-surface-600: 89 92 217; /* ⬅ #595cd9 */
96
+ --color-surface-700: 74 77 181; /* ⬅ #4a4db5 */
97
+ --color-surface-800: 59 61 145; /* ⬅ #3b3d91 */
98
+ --color-surface-900: 49 50 118; /* ⬅ #313276 */
99
99
  }
100
100
 
101
- [data-theme='vuetiful'] h1,
102
- [data-theme='vuetiful'] h2,
103
- [data-theme='vuetiful'] h3,
104
- [data-theme='vuetiful'] h4,
105
- [data-theme='vuetiful'] h5,
106
- [data-theme='vuetiful'] h6,
107
- [data-theme='vuetiful'] a,
108
- [data-theme='vuetiful'] button {
109
- font-weight: bold;
101
+ [data-theme="vuetiful"] h1,
102
+ [data-theme="vuetiful"] h2,
103
+ [data-theme="vuetiful"] h3,
104
+ [data-theme="vuetiful"] h4,
105
+ [data-theme="vuetiful"] h5,
106
+ [data-theme="vuetiful"] h6,
107
+ [data-theme="vuetiful"] a,
108
+ [data-theme="vuetiful"] button {
109
+ font-weight: bold;
110
110
  }
111
111
 
112
112
  /* Applied to body with `<body data-theme="vuetiful">` */
113
113
  /* Created with: https://csshero.org/mesher/ */
114
- [data-theme='vuetiful'] {
115
- /* prettier-ignore */
116
- background-image:
114
+ [data-theme="vuetiful"] {
115
+ /* prettier-ignore */
116
+ background-image:
117
117
  radial-gradient(at 76% 0%, hsla(189,100%,56%,0.36) 0px, transparent 50%),
118
118
  radial-gradient(at 1% 0%, hsla(340,100%,76%,0.26) 0px, transparent 50%),
119
119
  radial-gradient(at 20% 100%, hsla(241,100%,70%,0.47) 0px, transparent 50%);
120
120
  }
121
- .dark [data-theme='vuetiful'] {
122
- /* prettier-ignore */
123
- background-image:
121
+ .dark [data-theme="vuetiful"] {
122
+ /* prettier-ignore */
123
+ background-image:
124
124
  radial-gradient(at 76% 0%, hsla(189,100%,56%,0.20) 0px, transparent 50%),
125
125
  radial-gradient(at 1% 0%, hsla(340,100%,76%,0.15) 0px, transparent 50%),
126
126
  radial-gradient(at 20% 100%, hsla(241,100%,70%,0.30) 0px, transparent 50%);
@@ -1 +1 @@
1
- export * from './tailwind';
1
+ export * from "./tailwind";
@@ -1,7 +1,26 @@
1
- export const tailwindNumbers = ['50', '100', '200', '300', '400', '500', '600', '700', '800', '900'] as const;
1
+ export const tailwindNumbers = [
2
+ "50",
3
+ "100",
4
+ "200",
5
+ "300",
6
+ "400",
7
+ "500",
8
+ "600",
9
+ "700",
10
+ "800",
11
+ "900",
12
+ ] as const;
2
13
 
3
14
  export type TailwindNumbers = (typeof tailwindNumbers)[number];
4
15
 
5
- export const semanticNames = ['primary', 'secondary', 'tertiary', 'success', 'warning', 'error' , 'surface'] as const;
16
+ export const semanticNames = [
17
+ "primary",
18
+ "secondary",
19
+ "tertiary",
20
+ "success",
21
+ "warning",
22
+ "error",
23
+ "surface",
24
+ ] as const;
6
25
 
7
26
  export type SemanticNames = (typeof semanticNames)[number];
@@ -19,6 +19,6 @@ describe("useHighlight", () => {
19
19
  '<span class="hljs-keyword">const</span> <span class="hljs-keyword">name</span> = <span class="hljs-string">&#x27;John Duck&#x27;</span>'
20
20
  );
21
21
  });
22
- })
22
+ });
23
23
  });
24
24
  });
@@ -8,4 +8,4 @@ describe("utils", () => {
8
8
  expect(value).toBeDefined();
9
9
  });
10
10
  });
11
- })
11
+ });
@@ -2,9 +2,7 @@ const usePlatform = () => {
2
2
  const isBrowser = typeof window !== "undefined";
3
3
  return {
4
4
  isBrowser,
5
- }
6
- }
5
+ };
6
+ };
7
7
 
8
- export {
9
- usePlatform,
10
- }
8
+ export { usePlatform };
@@ -154,7 +154,6 @@ describe("useTheme", () => {
154
154
 
155
155
  expect(localStorageSpy).not.toHaveBeenCalled();
156
156
  });
157
- })
158
- })
159
-
157
+ });
158
+ });
160
159
  });