@code-coaching/vuetiful 0.24.3 → 0.24.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-coaching/vuetiful",
3
- "version": "0.24.3",
3
+ "version": "0.24.5",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "dev": "onchange 'src/**/*.vue' 'src/**/*.ts' 'src/**/*.css' -- npm run build",
@@ -14,8 +14,8 @@
14
14
  --theme-border-base: 0px;
15
15
  /* =~= Theme On-X Colors =~= */
16
16
  --on-primary: 0 0 0;
17
- --on-secondary: 255 255 255;
18
- --on-tertiary: 255 255 255;
17
+ --on-secondary: 0 0 0;
18
+ --on-tertiary: 0 0 0;
19
19
  --on-success: 0 0 0;
20
20
  --on-warning: 0 0 0;
21
21
  --on-error: 255 255 255;
@@ -18,8 +18,8 @@
18
18
  --on-tertiary: 0 0 0;
19
19
  --on-success: 0 0 0;
20
20
  --on-warning: 0 0 0;
21
- --on-error: 255 255 255;
22
- --on-surface: 255 255 255;
21
+ --on-error: 0 0 0;
22
+ --on-surface: 0 0 0;
23
23
  /* =~= Theme Colors =~= */
24
24
  /* primary | #ecaa36 */
25
25
  --color-primary-50: 252 242 225; /* ⬅ #fcf2e1 */
@@ -3,9 +3,7 @@
3
3
 
4
4
  :root {
5
5
  /* =~= Theme Styles =~= */
6
- --theme-font-family-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
7
- 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
8
- 'Noto Color Emoji';
6
+ --theme-font-family-base: system-ui;
9
7
  --theme-font-family-heading: 'Playfair Display', serif;
10
8
  --theme-font-color-base: var(--color-surface-900);
11
9
  --theme-font-color-dark: var(--color-secondary-100);
@@ -1,6 +1,3 @@
1
- /* https://fonts.google.com/specimen/Lato?query=lato&noto.query=Abril */
2
- @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
3
-
4
1
  :root {
5
2
  /* =~= Theme Properties =~= */
6
3
  --theme-font-family-base: system-ui;
@@ -3,8 +3,8 @@
3
3
 
4
4
  :root {
5
5
  /* =~= Theme Properties =~= */
6
- --theme-font-family-base: 'Quicksand', system;
7
- --theme-font-family-heading: 'Quicksand', system;
6
+ --theme-font-family-base: 'Quicksand', system-ui;
7
+ --theme-font-family-heading: 'Quicksand', system-ui;
8
8
  --theme-font-color-base: 0 0 0;
9
9
  --theme-font-color-dark: 255 255 255;
10
10
  --theme-rounded-base: 12px;
@@ -14,15 +14,15 @@ export const themes: Array<Theme> = [
14
14
  tertiary: { key: 'tertiary', label: 'Tertiary', hex: '#14B8A6', rgb: '0 0 0', on: '0 0 0' },
15
15
  success: { key: 'success', label: 'Success', hex: '#84CC16', rgb: '0 0 0', on: '0 0 0' },
16
16
  warning: { key: 'warning', label: 'Warning', hex: '#EAB308', rgb: '0 0 0', on: '0 0 0' },
17
- error: { key: 'error', label: 'Error', hex: '#EF4444', rgb: '0 0 0', on: '255 255 255' },
18
- surface: { key: 'surface', label: 'Surface', hex: '#6366F1', rgb: '0 0 0', on: '255 255 255' },
17
+ error: { key: 'error', label: 'Error', hex: '#EF4444', rgb: '0 0 0', on: '0 0 0' },
18
+ surface: { key: 'surface', label: 'Surface', hex: '#6366F1', rgb: '0 0 0', on: '0 0 0' },
19
19
  },
20
20
  fonts: {
21
- base: 'system',
21
+ base: 'system-ui',
22
22
  customBase: 'Quicksand',
23
23
  baseImports:
24
24
  '@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");',
25
- headings: 'system',
25
+ headings: 'system-ui',
26
26
  customHeadings: 'Quicksand',
27
27
  headingImports: '',
28
28
  },
@@ -52,18 +52,18 @@ export const themes: Array<Theme> = [
52
52
  },
53
53
  colors: {
54
54
  primary: { key: 'primary', label: 'Primary', hex: '#06b6d4', rgb: '0 0 0', on: '0 0 0' },
55
- secondary: { key: 'secondary', label: 'Secondary', hex: '#3b82f6', rgb: '0 0 0', on: '255 255 255' },
56
- tertiary: { key: 'tertiary', label: 'Tertiary', hex: '#3b82f6', rgb: '0 0 0', on: '255 255 255' },
55
+ secondary: { key: 'secondary', label: 'Secondary', hex: '#3b82f6', rgb: '0 0 0', on: '0 0 0' },
56
+ tertiary: { key: 'tertiary', label: 'Tertiary', hex: '#3b82f6', rgb: '0 0 0', on: '0 0 0' },
57
57
  success: { key: 'success', label: 'Success', hex: '#4ccb15', rgb: '0 0 0', on: '0 0 0' },
58
58
  warning: { key: 'warning', label: 'Warning', hex: '#f4c12a', rgb: '0 0 0', on: '0 0 0' },
59
59
  error: { key: 'error', label: 'Error', hex: '#b52c55', rgb: '0 0 0', on: '255 255 255' },
60
60
  surface: { key: 'surface', label: 'Surface', hex: '#64748b', rgb: '0 0 0', on: '255 255 255' },
61
61
  },
62
62
  fonts: {
63
- base: 'system',
63
+ base: 'system-ui',
64
64
  customBase: 'Roboto',
65
65
  baseImports: '@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");',
66
- headings: 'system',
66
+ headings: 'system-ui',
67
67
  customHeadings: 'Space Grotesk',
68
68
  headingImports:
69
69
  '@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap");',
@@ -83,12 +83,167 @@ export const themes: Array<Theme> = [
83
83
  font-weight: bold;
84
84
  }`,
85
85
  },
86
+ {
87
+ name: 'sahara',
88
+ gradients: {
89
+ light:
90
+ 'radial-gradient(at 100% 36%, hsla(37,81%,56%,0.15) 0px, transparent 50%), radial-gradient(at 7% 0%, hsla(37,81%,56%,0.20) 0px, transparent 50%)',
91
+ dark: 'radial-gradient(at 100% 36%, hsla(37,81%,56%,0.15) 0px, transparent 50%), radial-gradient(at 7% 0%, hsla(37,81%,56%,0.20) 0px, transparent 50%)',
92
+ },
93
+ colors: {
94
+ primary: { key: 'primary', label: 'Primary', hex: '#ecaa36', rgb: '0 0 0', on: '0 0 0' },
95
+ secondary: { key: 'secondary', label: 'Secondary', hex: '#3acbba', rgb: '0 0 0', on: '0 0 0' },
96
+ tertiary: { key: 'tertiary', label: 'Tertiary', hex: '#bbdf86', rgb: '0 0 0', on: '0 0 0' },
97
+ success: { key: 'success', label: 'Success', hex: '#84cc16', rgb: '0 0 0', on: '0 0 0' },
98
+ warning: { key: 'warning', label: 'Warning', hex: '#e5c157', rgb: '0 0 0', on: '0 0 0' },
99
+ error: { key: 'error', label: 'Error', hex: '#db5c9c', rgb: '0 0 0', on: '0 0 0' },
100
+ surface: { key: 'surface', label: 'Surface', hex: '#da4e65', rgb: '0 0 0', on: '0 0 0' },
101
+ },
102
+ fonts: {
103
+ base: 'sans-serif',
104
+ customBase: 'Lato',
105
+ baseImports:
106
+ '@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");',
107
+ headings: 'sans-serif',
108
+ customHeadings: 'Raleway',
109
+ headingImports:
110
+ '@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");',
111
+ },
112
+ textColorLight: '0 0 0',
113
+ textColorDark: '255 255 255',
114
+ roundedBase: '9999px',
115
+ roundedContainer: '24px',
116
+ borderBase: '1px',
117
+ customCss: `
118
+ [data-theme='sahara'] h1,
119
+ [data-theme='sahara'] h2,
120
+ [data-theme='sahara'] h3,
121
+ [data-theme='sahara'] h4,
122
+ [data-theme='sahara'] h5,
123
+ [data-theme='sahara'] h6 {
124
+ font-weight: 600;
125
+ }
126
+ [data-theme='sahara'] p {
127
+ font-weight: 400;
128
+ }`,
129
+ },
130
+ // {
131
+ // name: 'seafoam',
132
+ // gradients: {
133
+ // light: 'linear-gradient(0deg, rgba(203, 221, 254, 0.75) 0%, rgba(163, 209, 206, 0.75) 100%)',
134
+ // dark: 'linear-gradient(0deg, rgba(203, 221, 254, 0.75) 0%, rgba(163, 209, 206, 0.75) 100%)',
135
+ // },
136
+ // colors: {
137
+ // primary: { key: 'primary', label: 'Primary', hex: '#86d0cb', rgb: '0 0 0', on: '0 0 0' },
138
+ // secondary: { key: 'secondary', label: 'Secondary', hex: '#213355', rgb: '0 0 0', on: '255 255 255' },
139
+ // tertiary: { key: 'tertiary', label: 'Tertiary', hex: '#ff3d00', rgb: '0 0 0', on: '255 255 255' },
140
+ // success: { key: 'success', label: 'Success', hex: '#06e5a2', rgb: '0 0 0', on: '0 0 0' },
141
+ // warning: { key: 'warning', label: 'Warning', hex: '#eae557', rgb: '0 0 0', on: '0 0 0' },
142
+ // error: { key: 'error', label: 'Error', hex: '#d24646', rgb: '0 0 0', on: '255 255 255' },
143
+ // surface: { key: 'surface', label: 'Surface', hex: '#25d1d4', rgb: '0 0 0', on: '0 0 0' },
144
+ // },
145
+ // fonts: {
146
+ // base: 'system-ui',
147
+ // customBase: '',
148
+ // baseImports:
149
+ // '',
150
+ // headings: 'serif',
151
+ // customHeadings: 'Playfair Display',
152
+ // headingImports:
153
+ // '@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");',
154
+ // },
155
+ // textColorLight: '0 0 0',
156
+ // textColorDark: '255 255 255',
157
+ // roundedBase: '16px',
158
+ // roundedContainer: '16px',
159
+ // borderBase: '3px',
160
+ // customCss: `
161
+ // [data-theme='seafoam'] h1,
162
+ // [data-theme='seafoam'] h2,
163
+ // [data-theme='seafoam'] h3,
164
+ // [data-theme='seafoam'] h4,
165
+ // [data-theme='seafoam'] h5,
166
+ // [data-theme='seafoam'] h6 {
167
+ // font-weight: bold;
168
+ // font-style: italic;
169
+ // letter-spacing: 1px;
170
+ // }`
171
+ // },
172
+ {
173
+ name: 'seasonal',
174
+ gradients: {
175
+ light: 'radial-gradient(at 22% 100%, hsla(39,68%,50%,0.23) 0px, transparent 50%), radial-gradient(at 80% 100%, hsla(189,100%,56%,0.33) 0px, transparent 50%)',
176
+ dark: 'radial-gradient(at 22% 0%, hsla(39,68%,50%,0.15) 0px, transparent 50%), radial-gradient(at 80% 0%, hsla(189,100%,56%,0.15) 0px, transparent 50%)',
177
+ },
178
+ colors: {
179
+ primary: { key: 'primary', label: 'Primary', hex: '#40b09d', rgb: '0 0 0', on: '0 0 0' },
180
+ secondary: { key: 'secondary', label: 'Secondary', hex: '#d7a12d', rgb: '0 0 0', on: '0 0 0' },
181
+ tertiary: { key: 'tertiary', label: 'Tertiary', hex: '#411d96', rgb: '0 0 0', on: '0 0 0' },
182
+ success: { key: 'success', label: 'Success', hex: '#aad765', rgb: '0 0 0', on: '0 0 0' },
183
+ warning: { key: 'warning', label: 'Warning', hex: '#e1ca84', rgb: '0 0 0', on: '0 0 0' },
184
+ error: { key: 'error', label: 'Error', hex: '#e1565d', rgb: '0 0 0', on: '0 0 0' },
185
+ surface: { key: 'surface', label: 'Surface', hex: '#0f233e', rgb: '0 0 0', on: '255 255 255' },
186
+ },
187
+ fonts: {
188
+ base: 'system-ui',
189
+ customBase: '',
190
+ baseImports: '',
191
+ headings: 'sans-serif',
192
+ customHeadings: 'Quicksand',
193
+ headingImports:
194
+ '@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");',
195
+ },
196
+ textColorLight: '0 0 0',
197
+ textColorDark: '255 255 255',
198
+ roundedBase: '12px',
199
+ roundedContainer: '12px',
200
+ borderBase: '0px',
201
+ customCss: ''
202
+ },
203
+ {
204
+ name: 'skeleton',
205
+ gradients: {
206
+ light: 'radial-gradient(at 0% 0%, rgba(var(--color-secondary-500) / 0.33) 0px, transparent 50%), radial-gradient(at 98% 1%, rgba(var(--color-error-500) / 0.33) 0px, transparent 50%);',
207
+ dark: 'radial-gradient(at 0% 0%, rgba(var(--color-secondary-500) / 0.33) 0px, transparent 50%), radial-gradient(at 98% 1%, rgba(var(--color-error-500) / 0.33) 0px, transparent 50%);',
208
+ },
209
+ colors: {
210
+ primary: { key: 'primary', label: 'Primary', hex: '#0FBA81', rgb: '0 0 0', on: '0 0 0' },
211
+ secondary: { key: 'secondary', label: 'Secondary', hex: '#4F46E5', rgb: '0 0 0', on: '255 255 255' },
212
+ tertiary: { key: 'tertiary', label: 'Tertiary', hex: '#0EA5E9', rgb: '0 0 0', on: '0 0 0' },
213
+ success: { key: 'success', label: 'Success', hex: '#84cc16', rgb: '0 0 0', on: '0 0 0' },
214
+ warning: { key: 'warning', label: 'Warning', hex: '#EAB308', rgb: '0 0 0', on: '0 0 0' },
215
+ error: { key: 'error', label: 'Error', hex: '#D41976', rgb: '0 0 0', on: '255 255 255' },
216
+ surface: { key: 'surface', label: 'Surface', hex: '#495a8f', rgb: '0 0 0', on: '255 255 255' },
217
+ },
218
+ fonts: {
219
+ base: 'system-ui',
220
+ customBase: '',
221
+ baseImports: '',
222
+ headings: 'system-ui',
223
+ customHeadings: '',
224
+ headingImports: '',
225
+ },
226
+ textColorLight: '0 0 0',
227
+ textColorDark: '255 255 255',
228
+ roundedBase: '9999px',
229
+ roundedContainer: '8px',
230
+ borderBase: 'px',
231
+ customCss: `
232
+ [data-theme='skeleton'] h1,
233
+ [data-theme='skeleton'] h2,
234
+ [data-theme='skeleton'] h3,
235
+ [data-theme='skeleton'] h4,
236
+ [data-theme='skeleton'] h5,
237
+ [data-theme='skeleton'] h6 {
238
+ font-weight: bold;
239
+ }`
240
+ }
86
241
  ];
87
242
 
88
243
  export const THEME = {
89
244
  VUETIFUL: themes[0],
90
245
  ROCKET: themes[1],
91
- }
246
+ };
92
247
 
93
248
  export interface Theme {
94
249
  name: string;