@code-coaching/vuetiful 0.24.2 → 0.24.4
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/vuetiful.es.mjs +153 -4
- package/dist/vuetiful.umd.js +41 -12
- package/package.json +1 -1
- package/src/themes/theme-seafoam.css +1 -3
- package/src/themes/theme-skeleton.css +0 -3
- package/src/themes/theme-vuetiful.css +27 -10
- package/src/utils/theme/theme-switcher.vue +1 -1
- package/src/utils/theme/themes.ts +160 -5
package/dist/vuetiful.es.mjs
CHANGED
|
@@ -50114,10 +50114,10 @@ const themes = [
|
|
|
50114
50114
|
surface: { key: "surface", label: "Surface", hex: "#6366F1", rgb: "0 0 0", on: "255 255 255" }
|
|
50115
50115
|
},
|
|
50116
50116
|
fonts: {
|
|
50117
|
-
base: "system",
|
|
50117
|
+
base: "system-ui",
|
|
50118
50118
|
customBase: "Quicksand",
|
|
50119
50119
|
baseImports: '@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");',
|
|
50120
|
-
headings: "system",
|
|
50120
|
+
headings: "system-ui",
|
|
50121
50121
|
customHeadings: "Quicksand",
|
|
50122
50122
|
headingImports: ""
|
|
50123
50123
|
},
|
|
@@ -50154,10 +50154,10 @@ const themes = [
|
|
|
50154
50154
|
surface: { key: "surface", label: "Surface", hex: "#64748b", rgb: "0 0 0", on: "255 255 255" }
|
|
50155
50155
|
},
|
|
50156
50156
|
fonts: {
|
|
50157
|
-
base: "system",
|
|
50157
|
+
base: "system-ui",
|
|
50158
50158
|
customBase: "Roboto",
|
|
50159
50159
|
baseImports: '@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");',
|
|
50160
|
-
headings: "system",
|
|
50160
|
+
headings: "system-ui",
|
|
50161
50161
|
customHeadings: "Space Grotesk",
|
|
50162
50162
|
headingImports: '@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap");'
|
|
50163
50163
|
},
|
|
@@ -50175,6 +50175,155 @@ const themes = [
|
|
|
50175
50175
|
[data-theme='rocket'] h6 {
|
|
50176
50176
|
font-weight: bold;
|
|
50177
50177
|
}`
|
|
50178
|
+
},
|
|
50179
|
+
{
|
|
50180
|
+
name: "sahara",
|
|
50181
|
+
gradients: {
|
|
50182
|
+
light: "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%)",
|
|
50183
|
+
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%)"
|
|
50184
|
+
},
|
|
50185
|
+
colors: {
|
|
50186
|
+
primary: { key: "primary", label: "Primary", hex: "#ecaa36", rgb: "0 0 0", on: "0 0 0" },
|
|
50187
|
+
secondary: { key: "secondary", label: "Secondary", hex: "#3acbba", rgb: "0 0 0", on: "0 0 0" },
|
|
50188
|
+
tertiary: { key: "tertiary", label: "Tertiary", hex: "#bbdf86", rgb: "0 0 0", on: "0 0 0" },
|
|
50189
|
+
success: { key: "success", label: "Success", hex: "#84cc16", rgb: "0 0 0", on: "0 0 0" },
|
|
50190
|
+
warning: { key: "warning", label: "Warning", hex: "#e5c157", rgb: "0 0 0", on: "0 0 0" },
|
|
50191
|
+
error: { key: "error", label: "Error", hex: "#db5c9c", rgb: "0 0 0", on: "255 255 255" },
|
|
50192
|
+
surface: { key: "surface", label: "Surface", hex: "#da4e65", rgb: "0 0 0", on: "255 255 255" }
|
|
50193
|
+
},
|
|
50194
|
+
fonts: {
|
|
50195
|
+
base: "sans-serif",
|
|
50196
|
+
customBase: "Lato",
|
|
50197
|
+
baseImports: '@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");',
|
|
50198
|
+
headings: "sans-serif",
|
|
50199
|
+
customHeadings: "Raleway",
|
|
50200
|
+
headingImports: '@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");'
|
|
50201
|
+
},
|
|
50202
|
+
textColorLight: "0 0 0",
|
|
50203
|
+
textColorDark: "255 255 255",
|
|
50204
|
+
roundedBase: "9999px",
|
|
50205
|
+
roundedContainer: "24px",
|
|
50206
|
+
borderBase: "1px",
|
|
50207
|
+
customCss: `
|
|
50208
|
+
[data-theme='sahara'] h1,
|
|
50209
|
+
[data-theme='sahara'] h2,
|
|
50210
|
+
[data-theme='sahara'] h3,
|
|
50211
|
+
[data-theme='sahara'] h4,
|
|
50212
|
+
[data-theme='sahara'] h5,
|
|
50213
|
+
[data-theme='sahara'] h6 {
|
|
50214
|
+
font-weight: 600;
|
|
50215
|
+
}
|
|
50216
|
+
[data-theme='sahara'] p {
|
|
50217
|
+
font-weight: 400;
|
|
50218
|
+
}`
|
|
50219
|
+
},
|
|
50220
|
+
{
|
|
50221
|
+
name: "seafoam",
|
|
50222
|
+
gradients: {
|
|
50223
|
+
light: "linear-gradient(0deg, rgba(203, 221, 254, 0.75) 0%, rgba(163, 209, 206, 0.75) 100%)",
|
|
50224
|
+
dark: "linear-gradient(0deg, rgba(203, 221, 254, 0.75) 0%, rgba(163, 209, 206, 0.75) 100%)"
|
|
50225
|
+
},
|
|
50226
|
+
colors: {
|
|
50227
|
+
primary: { key: "primary", label: "Primary", hex: "#86d0cb", rgb: "0 0 0", on: "0 0 0" },
|
|
50228
|
+
secondary: { key: "secondary", label: "Secondary", hex: "#213355", rgb: "0 0 0", on: "255 255 255" },
|
|
50229
|
+
tertiary: { key: "tertiary", label: "Tertiary", hex: "#ff3d00", rgb: "0 0 0", on: "255 255 255" },
|
|
50230
|
+
success: { key: "success", label: "Success", hex: "#06e5a2", rgb: "0 0 0", on: "0 0 0" },
|
|
50231
|
+
warning: { key: "warning", label: "Warning", hex: "#eae557", rgb: "0 0 0", on: "0 0 0" },
|
|
50232
|
+
error: { key: "error", label: "Error", hex: "#d24646", rgb: "0 0 0", on: "255 255 255" },
|
|
50233
|
+
surface: { key: "surface", label: "Surface", hex: "#25d1d4", rgb: "0 0 0", on: "0 0 0" }
|
|
50234
|
+
},
|
|
50235
|
+
fonts: {
|
|
50236
|
+
base: "system-ui",
|
|
50237
|
+
customBase: "",
|
|
50238
|
+
baseImports: "",
|
|
50239
|
+
headings: "serif",
|
|
50240
|
+
customHeadings: "Playfair Display",
|
|
50241
|
+
headingImports: '@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");'
|
|
50242
|
+
},
|
|
50243
|
+
textColorLight: "0 0 0",
|
|
50244
|
+
textColorDark: "255 255 255",
|
|
50245
|
+
roundedBase: "16px",
|
|
50246
|
+
roundedContainer: "16px",
|
|
50247
|
+
borderBase: "3px",
|
|
50248
|
+
customCss: `
|
|
50249
|
+
[data-theme='seafoam'] h1,
|
|
50250
|
+
[data-theme='seafoam'] h2,
|
|
50251
|
+
[data-theme='seafoam'] h3,
|
|
50252
|
+
[data-theme='seafoam'] h4,
|
|
50253
|
+
[data-theme='seafoam'] h5,
|
|
50254
|
+
[data-theme='seafoam'] h6 {
|
|
50255
|
+
font-weight: bold;
|
|
50256
|
+
font-style: italic;
|
|
50257
|
+
letter-spacing: 1px;
|
|
50258
|
+
}`
|
|
50259
|
+
},
|
|
50260
|
+
{
|
|
50261
|
+
name: "seasonal",
|
|
50262
|
+
gradients: {
|
|
50263
|
+
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%)",
|
|
50264
|
+
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%)"
|
|
50265
|
+
},
|
|
50266
|
+
colors: {
|
|
50267
|
+
primary: { key: "primary", label: "Primary", hex: "#40b09d", rgb: "0 0 0", on: "0 0 0" },
|
|
50268
|
+
secondary: { key: "secondary", label: "Secondary", hex: "#d7a12d", rgb: "0 0 0", on: "255 255 255" },
|
|
50269
|
+
tertiary: { key: "tertiary", label: "Tertiary", hex: "#411d96", rgb: "0 0 0", on: "255 255 255" },
|
|
50270
|
+
success: { key: "success", label: "Success", hex: "#aad765", rgb: "0 0 0", on: "0 0 0" },
|
|
50271
|
+
warning: { key: "warning", label: "Warning", hex: "#e1ca84", rgb: "0 0 0", on: "0 0 0" },
|
|
50272
|
+
error: { key: "error", label: "Error", hex: "#e1565d", rgb: "0 0 0", on: "255 255 255" },
|
|
50273
|
+
surface: { key: "surface", label: "Surface", hex: "#0f233e", rgb: "0 0 0", on: "255 255 255" }
|
|
50274
|
+
},
|
|
50275
|
+
fonts: {
|
|
50276
|
+
base: "system-ui",
|
|
50277
|
+
customBase: "",
|
|
50278
|
+
baseImports: "",
|
|
50279
|
+
headings: "sans-serif",
|
|
50280
|
+
customHeadings: "Quicksand",
|
|
50281
|
+
headingImports: '@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");'
|
|
50282
|
+
},
|
|
50283
|
+
textColorLight: "0 0 0",
|
|
50284
|
+
textColorDark: "255 255 255",
|
|
50285
|
+
roundedBase: "12px",
|
|
50286
|
+
roundedContainer: "12px",
|
|
50287
|
+
borderBase: "0px",
|
|
50288
|
+
customCss: ""
|
|
50289
|
+
},
|
|
50290
|
+
{
|
|
50291
|
+
name: "skeleton",
|
|
50292
|
+
gradients: {
|
|
50293
|
+
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%);",
|
|
50294
|
+
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%);"
|
|
50295
|
+
},
|
|
50296
|
+
colors: {
|
|
50297
|
+
primary: { key: "primary", label: "Primary", hex: "#0FBA81", rgb: "0 0 0", on: "0 0 0" },
|
|
50298
|
+
secondary: { key: "secondary", label: "Secondary", hex: "#4F46E5", rgb: "0 0 0", on: "255 255 255" },
|
|
50299
|
+
tertiary: { key: "tertiary", label: "Tertiary", hex: "#0EA5E9", rgb: "0 0 0", on: "0 0 0" },
|
|
50300
|
+
success: { key: "success", label: "Success", hex: "#84cc16", rgb: "0 0 0", on: "0 0 0" },
|
|
50301
|
+
warning: { key: "warning", label: "Warning", hex: "#EAB308", rgb: "0 0 0", on: "0 0 0" },
|
|
50302
|
+
error: { key: "error", label: "Error", hex: "#D41976", rgb: "0 0 0", on: "255 255 255" },
|
|
50303
|
+
surface: { key: "surface", label: "Surface", hex: "#495a8f", rgb: "0 0 0", on: "255 255 255" }
|
|
50304
|
+
},
|
|
50305
|
+
fonts: {
|
|
50306
|
+
base: "system-ui",
|
|
50307
|
+
customBase: "",
|
|
50308
|
+
baseImports: "",
|
|
50309
|
+
headings: "system-ui",
|
|
50310
|
+
customHeadings: "",
|
|
50311
|
+
headingImports: ""
|
|
50312
|
+
},
|
|
50313
|
+
textColorLight: "0 0 0",
|
|
50314
|
+
textColorDark: "255 255 255",
|
|
50315
|
+
roundedBase: "9999px",
|
|
50316
|
+
roundedContainer: "8px",
|
|
50317
|
+
borderBase: "px",
|
|
50318
|
+
customCss: `
|
|
50319
|
+
[data-theme='skeleton'] h1,
|
|
50320
|
+
[data-theme='skeleton'] h2,
|
|
50321
|
+
[data-theme='skeleton'] h3,
|
|
50322
|
+
[data-theme='skeleton'] h4,
|
|
50323
|
+
[data-theme='skeleton'] h5,
|
|
50324
|
+
[data-theme='skeleton'] h6 {
|
|
50325
|
+
font-weight: bold;
|
|
50326
|
+
}`
|
|
50178
50327
|
}
|
|
50179
50328
|
];
|
|
50180
50329
|
const THEME = {
|