@maltjoy/themes 5.4.1 → 5.6.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.
package/dist/default.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--joy-transition-duration-short: 100ms;--joy-transition-duration-default: 200ms;--joy-transition-duration-long: 400ms;--joy-transition-timing-function: ease-in-out;--joy-color-primary-10: #fff3f3;--joy-color-primary-30: #ff7370;--joy-color-primary-50: #fc5757;--joy-color-primary-70: #d4524f;--joy-color-primary-90: #a63633;--joy-color-secondary-10: #ecf3f4;--joy-color-secondary-30: #0f6378;--joy-color-secondary-50: #035266;--joy-color-secondary-90: #014554;--joy-color-tertiary-10: #e3f8fb;--joy-color-tertiary-30: #a8eaf3;--joy-color-tertiary-50: #00c0db;--joy-color-tertiary-70: #00aac1;--joy-color-quaternary-10: #fffbed;--joy-color-quaternary-30: #fccf5e;--joy-color-quaternary-50: #ffc200;--joy-color-quaternary-70: #f0b021;--joy-color-quaternary-100: #d29614;--joy-color-brand-primary-10: #ffe5fc;--joy-color-brand-primary-30: #ffb0f7;--joy-color-brand-primary-50: #ff91f0;--joy-color-brand-primary-70: #eb73de;--joy-color-brand-secondary-10: #e4eaff;--joy-color-brand-secondary-30: #264ffa;--joy-color-brand-secondary-50: #0529fc;--joy-color-brand-secondary-70: #0833bd;--joy-color-neutral-10: #fcfcfc;--joy-color-neutral-20: #f7f7f5;--joy-color-neutral-30: #e0ded9;--joy-color-neutral-40: #737370;--joy-color-neutral-50: #4b4b4b;--joy-color-neutral-60: #333330;--joy-color-neutral-70: #181818;--joy-color-success-10: #f2f8e9;--joy-color-success-50: #81b928;--joy-color-success-90: #659b1c;--joy-color-information-10: #eaf5ff;--joy-color-information-50: #2fa0fc;--joy-color-information-90: #175db5;--joy-color-warning-10: #fef6e7;--joy-color-warning-50: #f2a10c;--joy-color-warning-90: #ae6606;--joy-color-error-10: #fceaea;--joy-color-error-50: #e02d2d;--joy-color-error-90: #a1162e;--joy-color-ai-primary-10: #f2e0f5;--joy-color-ai-primary-30: #9035a2;--joy-color-ai-primary-70: #5f246a;--joy-color-ai-primary-100: #3d1744;--joy-color-ai-gradient-10: linear-gradient(90deg, rgba(144,53,162,0.3) 0%, rgba(252,87,87,0.3) 100%);--joy-color-ai-gradient-30: linear-gradient(90deg, rgba(144,53,162,1) 0%, rgba(252,87,87,0.85) 100%);--joy-color-ai-gradient-70: linear-gradient(90deg, rgba(109,40,123,1) 0%, rgba(251,35,35,0.85) 100%);--joy-color-ai-gradient-100: linear-gradient(90deg, rgba(75,28,85,1) 0%, rgba(230,4,4,0.85) 100%);--joy-color-text-body: var(--joy-color-neutral-50);--joy-color-text-title: var(--joy-color-neutral-60);--joy-color-text-disabled: var(--joy-color-neutral-30);--joy-color-state-disabled-border: var(--joy-color-neutral-30);--joy-color-state-disabled-background: var(--joy-color-neutral-30);--joy-color-state-focus: var(--joy-color-secondary-50);--joy-color-state-hover: var(--joy-color-secondary-50);--joy-color-state-error: var(--joy-color-error-50);--joy-color-state-hover-error: var(--joy-color-error-90);--joy-color-overlay: rgba(51, 51, 48, 0.4);--joy-color-background-skeleton: linear-gradient(110deg, var(--joy-color-neutral-20) 8%, var(--joy-color-neutral-10) 18%, var(--joy-color-neutral-20) 33%);--joy-color-shadow-base: rgba(24, 24, 24, 0.16);--joy-core-spacing-1: calc(var(--joy-core-spacing-base) * 1);--joy-core-spacing-2: calc(var(--joy-core-spacing-base) * 2);--joy-core-spacing-3: calc(var(--joy-core-spacing-base) * 3);--joy-core-spacing-4: calc(var(--joy-core-spacing-base) * 4);--joy-core-spacing-5: calc(var(--joy-core-spacing-base) * 5);--joy-core-spacing-6: calc(var(--joy-core-spacing-base) * 6);--joy-core-spacing-7: calc(var(--joy-core-spacing-base) * 7);--joy-core-spacing-8: calc(var(--joy-core-spacing-base) * 8);--joy-core-spacing-9: calc(var(--joy-core-spacing-base) * 10);--joy-core-spacing-10: calc(var(--joy-core-spacing-base) * 12);--joy-core-spacing-11: calc(var(--joy-core-spacing-base) * 14);--joy-core-spacing-12: calc(var(--joy-core-spacing-base) * 16);--joy-core-spacing-base: 4px;--joy-core-z-index-fixed-content: 20;--joy-core-z-index-dropdown: 23;--joy-core-z-index-backdrop: 1050;--joy-core-z-index-product-tour: 1060;--joy-core-z-index-walkthrough: 1070;--joy-core-z-index-dialog: 1080;--joy-core-z-index-tooltip: 1090;--joy-core-z-index-snackbar: 1100;--joy-core-radius-0: 0;--joy-core-radius-1: 2px;--joy-core-radius-2: 4px;--joy-core-radius-3: 8px;--joy-core-radius-4: 16px;--joy-core-radius-5: 32px;--joy-core-radius-6: 50%;--joy-core-elevation-0: 0 0 0 0 rgba(24, 24, 24, 0.16);--joy-core-elevation-1: 0 2px 4px 0 rgba(24, 24, 24, 0.16);--joy-core-elevation-2: 0 4px 12px 0 rgba(24, 24, 24, 0.16);--joy-core-elevation-3: 0 6px 24px 0 rgba(24, 24, 24, 0.16);--joy-core-elevation-4: 0 8px 32px 0 rgba(24, 24, 24, 0.16);--joy-line-height-small: 1.05;--joy-line-height-large: 1.25;--joy-font-weight-normal: 500;--joy-font-weight-bold: 700;--joy-font-family-base: "Moderat", Arial, Helvetica, sans-serif;--joy-font-family-title: "Agrandir Tight", Arial, Helvetica, sans-serif;--joy-font-size-primary-100: 11px;--joy-font-size-primary-200: 12px;--joy-font-size-primary-300: 14px;--joy-font-size-primary-400: 16px;--joy-font-size-primary-600: 20px;--joy-font-size-primary-800: 24px;--joy-font-size-secondary-200: 28px;--joy-font-size-secondary-400: 36px;--joy-font-size-secondary-600: 46px;--joy-font-size-secondary-800: 52px;--joy-form-border-width: 2px;--joy-form-field-height-xxsmall: var(--joy-core-spacing-6);--joy-form-field-height-xsmall: var(--joy-core-spacing-8);--joy-form-field-height-small: var(--joy-core-spacing-9);--joy-form-field-height-medium: var(--joy-core-spacing-10);--joy-form-field-height-large: var(--joy-core-spacing-12);--joy-form-field-radius-xxsmall: calc(var(--joy-
|
|
1
|
+
:root{--joy-transition-duration-short: 100ms;--joy-transition-duration-default: 200ms;--joy-transition-duration-long: 400ms;--joy-transition-timing-function: ease-in-out;--joy-color-primary-10: #fff3f3;--joy-color-primary-30: #ff7370;--joy-color-primary-50: #fc5757;--joy-color-primary-70: #d4524f;--joy-color-primary-90: #a63633;--joy-color-secondary-10: #ecf3f4;--joy-color-secondary-30: #0f6378;--joy-color-secondary-50: #035266;--joy-color-secondary-90: #014554;--joy-color-tertiary-10: #e3f8fb;--joy-color-tertiary-30: #a8eaf3;--joy-color-tertiary-50: #00c0db;--joy-color-tertiary-70: #00aac1;--joy-color-quaternary-10: #fffbed;--joy-color-quaternary-30: #fccf5e;--joy-color-quaternary-50: #ffc200;--joy-color-quaternary-70: #f0b021;--joy-color-quaternary-100: #d29614;--joy-color-brand-primary-10: #ffe5fc;--joy-color-brand-primary-30: #ffb0f7;--joy-color-brand-primary-50: #ff91f0;--joy-color-brand-primary-70: #eb73de;--joy-color-brand-secondary-10: #e4eaff;--joy-color-brand-secondary-30: #264ffa;--joy-color-brand-secondary-50: #0529fc;--joy-color-brand-secondary-70: #0833bd;--joy-color-neutral-10: #fcfcfc;--joy-color-neutral-20: #f7f7f5;--joy-color-neutral-30: #e0ded9;--joy-color-neutral-40: #737370;--joy-color-neutral-50: #4b4b4b;--joy-color-neutral-60: #333330;--joy-color-neutral-70: #181818;--joy-color-success-10: #f2f8e9;--joy-color-success-50: #81b928;--joy-color-success-90: #659b1c;--joy-color-information-10: #eaf5ff;--joy-color-information-50: #2fa0fc;--joy-color-information-90: #175db5;--joy-color-warning-10: #fef6e7;--joy-color-warning-50: #f2a10c;--joy-color-warning-90: #ae6606;--joy-color-error-10: #fceaea;--joy-color-error-50: #e02d2d;--joy-color-error-90: #a1162e;--joy-color-ai-primary-10: #f2e0f5;--joy-color-ai-primary-30: #9035a2;--joy-color-ai-primary-70: #5f246a;--joy-color-ai-primary-100: #3d1744;--joy-color-ai-gradient-10: linear-gradient(90deg, rgba(144,53,162,0.3) 0%, rgba(252,87,87,0.3) 100%);--joy-color-ai-gradient-30: linear-gradient(90deg, rgba(144,53,162,1) 0%, rgba(252,87,87,0.85) 100%);--joy-color-ai-gradient-70: linear-gradient(90deg, rgba(109,40,123,1) 0%, rgba(251,35,35,0.85) 100%);--joy-color-ai-gradient-100: linear-gradient(90deg, rgba(75,28,85,1) 0%, rgba(230,4,4,0.85) 100%);--joy-color-text-body: var(--joy-color-neutral-50);--joy-color-text-title: var(--joy-color-neutral-60);--joy-color-text-disabled: var(--joy-color-neutral-30);--joy-color-state-disabled-border: var(--joy-color-neutral-30);--joy-color-state-disabled-background: var(--joy-color-neutral-30);--joy-color-state-focus: var(--joy-color-secondary-50);--joy-color-state-hover: var(--joy-color-secondary-50);--joy-color-state-error: var(--joy-color-error-50);--joy-color-state-hover-error: var(--joy-color-error-90);--joy-color-overlay: rgba(51, 51, 48, 0.4);--joy-color-background-skeleton: linear-gradient(110deg, var(--joy-color-neutral-20) 8%, var(--joy-color-neutral-10) 18%, var(--joy-color-neutral-20) 33%);--joy-color-shadow-base: rgba(24, 24, 24, 0.16);--joy-core-spacing-1: calc(var(--joy-core-spacing-base) * 1);--joy-core-spacing-2: calc(var(--joy-core-spacing-base) * 2);--joy-core-spacing-3: calc(var(--joy-core-spacing-base) * 3);--joy-core-spacing-4: calc(var(--joy-core-spacing-base) * 4);--joy-core-spacing-5: calc(var(--joy-core-spacing-base) * 5);--joy-core-spacing-6: calc(var(--joy-core-spacing-base) * 6);--joy-core-spacing-7: calc(var(--joy-core-spacing-base) * 7);--joy-core-spacing-8: calc(var(--joy-core-spacing-base) * 8);--joy-core-spacing-9: calc(var(--joy-core-spacing-base) * 10);--joy-core-spacing-10: calc(var(--joy-core-spacing-base) * 12);--joy-core-spacing-11: calc(var(--joy-core-spacing-base) * 14);--joy-core-spacing-12: calc(var(--joy-core-spacing-base) * 16);--joy-core-spacing-base: 4px;--joy-core-z-index-fixed-content: 20;--joy-core-z-index-dropdown: 23;--joy-core-z-index-backdrop: 1050;--joy-core-z-index-product-tour: 1060;--joy-core-z-index-walkthrough: 1070;--joy-core-z-index-dialog: 1080;--joy-core-z-index-tooltip: 1090;--joy-core-z-index-snackbar: 1100;--joy-core-radius-0: 0;--joy-core-radius-1: 2px;--joy-core-radius-2: 4px;--joy-core-radius-3: 8px;--joy-core-radius-4: 16px;--joy-core-radius-5: 32px;--joy-core-radius-6: 50%;--joy-core-elevation-0: 0 0 0 0 rgba(24, 24, 24, 0.16);--joy-core-elevation-1: 0 2px 4px 0 rgba(24, 24, 24, 0.16);--joy-core-elevation-2: 0 4px 12px 0 rgba(24, 24, 24, 0.16);--joy-core-elevation-3: 0 6px 24px 0 rgba(24, 24, 24, 0.16);--joy-core-elevation-4: 0 8px 32px 0 rgba(24, 24, 24, 0.16);--joy-line-height-small: 1.05;--joy-line-height-large: 1.25;--joy-font-weight-normal: 500;--joy-font-weight-bold: 700;--joy-font-family-base: "Moderat", Arial, Helvetica, sans-serif;--joy-font-family-title: "Agrandir Tight", Arial, Helvetica, sans-serif;--joy-font-size-primary-100: 11px;--joy-font-size-primary-200: 12px;--joy-font-size-primary-300: 14px;--joy-font-size-primary-400: 16px;--joy-font-size-primary-600: 20px;--joy-font-size-primary-800: 24px;--joy-font-size-secondary-200: 28px;--joy-font-size-secondary-400: 36px;--joy-font-size-secondary-600: 46px;--joy-font-size-secondary-800: 52px;--joy-form-border-width: 2px;--joy-form-field-height-xxsmall: var(--joy-core-spacing-6);--joy-form-field-height-xsmall: var(--joy-core-spacing-8);--joy-form-field-height-small: var(--joy-core-spacing-9);--joy-form-field-height-medium: var(--joy-core-spacing-10);--joy-form-field-height-large: var(--joy-core-spacing-12);--joy-form-field-radius-xxsmall: calc(var(--joy-form-field-height-xxsmall) / 2);--joy-form-field-radius-xsmall: calc(var(--joy-form-field-height-xsmall) / 2);--joy-form-field-radius-small: calc(var(--joy-form-field-height-small) / 2);--joy-form-field-radius-medium: calc(var(--joy-form-field-height-medium) / 2);--joy-form-field-radius-large: calc(var(--joy-form-field-height-large) / 2);--joy-form-field-focus-color: var(--joy-color-information-50);--joy-form-field-focus-width: 2px;--joy-form-field-focus-shadow: 0 0 0 var(--joy-form-field-focus-width) var(--joy-form-field-focus-color)}@font-face{font-family:"Agrandir Tight";src:url("https://cdn.malt.com/npm/@maltjoy/themes/fonts/agrandir/agrandir-tightmedium-webfont.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:"Agrandir Tight";src:url("https://cdn.malt.com/npm/@maltjoy/themes/fonts/agrandir/agrandir-tightmedium-webfont.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:"Moderat";src:url("https://cdn.malt.com/npm/@maltjoy/themes/fonts/moderat/moderat-bold-webfont.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:"Moderat";src:url("https://cdn.malt.com/npm/@maltjoy/themes/fonts/moderat/moderat-regular-webfont.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}/*# sourceMappingURL=default.css.map */
|
package/dist/default.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../src/themes/_tokens-vars.scss","../src/themes/default.scss"],"names":[],"mappings":"AAIA,MACE,uCACA,yCACA,sCACA,8CACA,gCACA,gCACA,gCACA,gCACA,gCACA,kCACA,kCACA,kCACA,kCACA,iCACA,iCACA,iCACA,iCACA,mCACA,mCACA,mCACA,mCACA,oCACA,sCACA,sCACA,sCACA,sCACA,wCACA,wCACA,wCACA,wCACA,gCACA,gCACA,gCACA,gCACA,gCACA,gCACA,gCACA,gCACA,gCACA,gCACA,oCACA,oCACA,oCACA,gCACA,gCACA,gCACA,8BACA,8BACA,8BACA,mCACA,mCACA,mCACA,oCACA,sGACA,qGACA,qGACA,kGACA,mDACA,oDACA,uDACA,+DACA,mEACA,uDACA,uDACA,mDACA,yDACA,2CACA,2JACA,gDACA,6DACA,6DACA,6DACA,6DACA,6DACA,6DACA,6DACA,6DACA,8DACA,+DACA,+DACA,+DACA,6BACA,qCACA,gCACA,kCACA,sCACA,qCACA,gCACA,iCACA,kCACA,uBACA,yBACA,yBACA,yBACA,0BACA,0BACA,yBACA,uDACA,2DACA,4DACA,4DACA,4DACA,8BACA,8BACA,8BACA,4BACA,gEACA,wEACA,kCACA,kCACA,kCACA,kCACA,kCACA,kCACA,oCACA,oCACA,oCACA,oCACA,6BACA,2DACA,0DACA,yDACA,2DACA,0DACA,
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../src/themes/_tokens-vars.scss","../src/themes/default.scss"],"names":[],"mappings":"AAIA,MACE,uCACA,yCACA,sCACA,8CACA,gCACA,gCACA,gCACA,gCACA,gCACA,kCACA,kCACA,kCACA,kCACA,iCACA,iCACA,iCACA,iCACA,mCACA,mCACA,mCACA,mCACA,oCACA,sCACA,sCACA,sCACA,sCACA,wCACA,wCACA,wCACA,wCACA,gCACA,gCACA,gCACA,gCACA,gCACA,gCACA,gCACA,gCACA,gCACA,gCACA,oCACA,oCACA,oCACA,gCACA,gCACA,gCACA,8BACA,8BACA,8BACA,mCACA,mCACA,mCACA,oCACA,sGACA,qGACA,qGACA,kGACA,mDACA,oDACA,uDACA,+DACA,mEACA,uDACA,uDACA,mDACA,yDACA,2CACA,2JACA,gDACA,6DACA,6DACA,6DACA,6DACA,6DACA,6DACA,6DACA,6DACA,8DACA,+DACA,+DACA,+DACA,6BACA,qCACA,gCACA,kCACA,sCACA,qCACA,gCACA,iCACA,kCACA,uBACA,yBACA,yBACA,yBACA,0BACA,0BACA,yBACA,uDACA,2DACA,4DACA,4DACA,4DACA,8BACA,8BACA,8BACA,4BACA,gEACA,wEACA,kCACA,kCACA,kCACA,kCACA,kCACA,kCACA,oCACA,oCACA,oCACA,oCACA,6BACA,2DACA,0DACA,yDACA,2DACA,0DACA,gFACA,8EACA,4EACA,8EACA,4EACA,8DACA,kCACA,yGCtIF,WACE,6BACA,sHACA,gBACA,kBACA,kBAKF,WACE,6BACA,sHACA,gBACA,kBACA,kBAGF,WACE,sBACA,6GACA,gBACA,kBACA,kBAGF,WACE,sBACA,gHACA,gBACA,kBACA","file":"default.css"}
|
package/dist/tokens-vars.js
CHANGED
|
@@ -203,11 +203,17 @@ export default {
|
|
|
203
203
|
large: "var(--joy-core-spacing-12)",
|
|
204
204
|
},
|
|
205
205
|
radius: {
|
|
206
|
-
xxsmall: "calc(var(--joy-
|
|
207
|
-
xsmall: "calc(var(--joy-
|
|
208
|
-
small: "calc(var(--joy-
|
|
209
|
-
medium: "calc(var(--joy-
|
|
210
|
-
large: "calc(var(--joy-
|
|
206
|
+
xxsmall: "calc(var(--joy-form-field-height-xxsmall) / 2)",
|
|
207
|
+
xsmall: "calc(var(--joy-form-field-height-xsmall) / 2)",
|
|
208
|
+
small: "calc(var(--joy-form-field-height-small) / 2)",
|
|
209
|
+
medium: "calc(var(--joy-form-field-height-medium) / 2)",
|
|
210
|
+
large: "calc(var(--joy-form-field-height-large) / 2)",
|
|
211
|
+
},
|
|
212
|
+
focus: {
|
|
213
|
+
color: "var(--joy-color-information-50)",
|
|
214
|
+
width: "2px",
|
|
215
|
+
shadow:
|
|
216
|
+
"0 0 0 var(--joy-form-field-focus-width) var(--joy-form-field-focus-color)",
|
|
211
217
|
},
|
|
212
218
|
},
|
|
213
219
|
},
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
let transition: {
|
|
3
|
+
duration: {
|
|
4
|
+
short: string;
|
|
5
|
+
default: string;
|
|
6
|
+
long: string;
|
|
7
|
+
};
|
|
8
|
+
"timing-function": string;
|
|
9
|
+
};
|
|
10
|
+
namespace color {
|
|
11
|
+
let primary: {
|
|
12
|
+
10: string;
|
|
13
|
+
30: string;
|
|
14
|
+
50: string;
|
|
15
|
+
70: string;
|
|
16
|
+
90: string;
|
|
17
|
+
};
|
|
18
|
+
let secondary: {
|
|
19
|
+
10: string;
|
|
20
|
+
30: string;
|
|
21
|
+
50: string;
|
|
22
|
+
90: string;
|
|
23
|
+
};
|
|
24
|
+
let tertiary: {
|
|
25
|
+
10: string;
|
|
26
|
+
30: string;
|
|
27
|
+
50: string;
|
|
28
|
+
70: string;
|
|
29
|
+
};
|
|
30
|
+
let quaternary: {
|
|
31
|
+
10: string;
|
|
32
|
+
30: string;
|
|
33
|
+
50: string;
|
|
34
|
+
70: string;
|
|
35
|
+
100: string;
|
|
36
|
+
};
|
|
37
|
+
namespace brand {
|
|
38
|
+
let primary_1: {
|
|
39
|
+
10: string;
|
|
40
|
+
30: string;
|
|
41
|
+
50: string;
|
|
42
|
+
70: string;
|
|
43
|
+
};
|
|
44
|
+
export { primary_1 as primary };
|
|
45
|
+
let secondary_1: {
|
|
46
|
+
10: string;
|
|
47
|
+
30: string;
|
|
48
|
+
50: string;
|
|
49
|
+
70: string;
|
|
50
|
+
};
|
|
51
|
+
export { secondary_1 as secondary };
|
|
52
|
+
}
|
|
53
|
+
let neutral: {
|
|
54
|
+
10: string;
|
|
55
|
+
20: string;
|
|
56
|
+
30: string;
|
|
57
|
+
40: string;
|
|
58
|
+
50: string;
|
|
59
|
+
60: string;
|
|
60
|
+
70: string;
|
|
61
|
+
};
|
|
62
|
+
let success: {
|
|
63
|
+
10: string;
|
|
64
|
+
50: string;
|
|
65
|
+
90: string;
|
|
66
|
+
};
|
|
67
|
+
let information: {
|
|
68
|
+
10: string;
|
|
69
|
+
50: string;
|
|
70
|
+
90: string;
|
|
71
|
+
};
|
|
72
|
+
let warning: {
|
|
73
|
+
10: string;
|
|
74
|
+
50: string;
|
|
75
|
+
90: string;
|
|
76
|
+
};
|
|
77
|
+
let error: {
|
|
78
|
+
10: string;
|
|
79
|
+
50: string;
|
|
80
|
+
90: string;
|
|
81
|
+
};
|
|
82
|
+
namespace ai {
|
|
83
|
+
let primary_2: {
|
|
84
|
+
10: string;
|
|
85
|
+
30: string;
|
|
86
|
+
70: string;
|
|
87
|
+
100: string;
|
|
88
|
+
};
|
|
89
|
+
export { primary_2 as primary };
|
|
90
|
+
export let gradient: {
|
|
91
|
+
10: string;
|
|
92
|
+
30: string;
|
|
93
|
+
70: string;
|
|
94
|
+
100: string;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
namespace text {
|
|
98
|
+
let body: string;
|
|
99
|
+
let title: string;
|
|
100
|
+
let disabled: string;
|
|
101
|
+
}
|
|
102
|
+
let state: {
|
|
103
|
+
"disabled-border": string;
|
|
104
|
+
"disabled-background": string;
|
|
105
|
+
focus: string;
|
|
106
|
+
hover: string;
|
|
107
|
+
error: string;
|
|
108
|
+
"hover-error": string;
|
|
109
|
+
};
|
|
110
|
+
let overlay: string;
|
|
111
|
+
namespace background {
|
|
112
|
+
let skeleton: string;
|
|
113
|
+
}
|
|
114
|
+
namespace shadow {
|
|
115
|
+
let base: string;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
namespace core {
|
|
119
|
+
let spacing: {
|
|
120
|
+
1: string;
|
|
121
|
+
2: string;
|
|
122
|
+
3: string;
|
|
123
|
+
4: string;
|
|
124
|
+
5: string;
|
|
125
|
+
6: string;
|
|
126
|
+
7: string;
|
|
127
|
+
8: string;
|
|
128
|
+
9: string;
|
|
129
|
+
10: string;
|
|
130
|
+
11: string;
|
|
131
|
+
12: string;
|
|
132
|
+
base: string;
|
|
133
|
+
};
|
|
134
|
+
namespace zIndex {
|
|
135
|
+
let fixedContent: number;
|
|
136
|
+
let dropdown: number;
|
|
137
|
+
let backdrop: number;
|
|
138
|
+
let productTour: number;
|
|
139
|
+
let walkthrough: number;
|
|
140
|
+
let dialog: number;
|
|
141
|
+
let tooltip: number;
|
|
142
|
+
let snackbar: number;
|
|
143
|
+
}
|
|
144
|
+
let radius: {
|
|
145
|
+
0: string;
|
|
146
|
+
1: string;
|
|
147
|
+
2: string;
|
|
148
|
+
3: string;
|
|
149
|
+
4: string;
|
|
150
|
+
5: string;
|
|
151
|
+
6: string;
|
|
152
|
+
};
|
|
153
|
+
let elevation: {
|
|
154
|
+
0: string;
|
|
155
|
+
1: string;
|
|
156
|
+
2: string;
|
|
157
|
+
3: string;
|
|
158
|
+
4: string;
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
namespace lineHeight {
|
|
162
|
+
let small: string;
|
|
163
|
+
let large: string;
|
|
164
|
+
}
|
|
165
|
+
namespace font {
|
|
166
|
+
namespace weight {
|
|
167
|
+
let normal: string;
|
|
168
|
+
let bold: string;
|
|
169
|
+
}
|
|
170
|
+
namespace family {
|
|
171
|
+
let base_1: string;
|
|
172
|
+
export { base_1 as base };
|
|
173
|
+
let title_1: string;
|
|
174
|
+
export { title_1 as title };
|
|
175
|
+
}
|
|
176
|
+
namespace size {
|
|
177
|
+
let primary_3: {
|
|
178
|
+
100: string;
|
|
179
|
+
200: string;
|
|
180
|
+
300: string;
|
|
181
|
+
400: string;
|
|
182
|
+
600: string;
|
|
183
|
+
800: string;
|
|
184
|
+
};
|
|
185
|
+
export { primary_3 as primary };
|
|
186
|
+
let secondary_2: {
|
|
187
|
+
200: string;
|
|
188
|
+
400: string;
|
|
189
|
+
600: string;
|
|
190
|
+
800: string;
|
|
191
|
+
};
|
|
192
|
+
export { secondary_2 as secondary };
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
namespace form {
|
|
196
|
+
namespace border {
|
|
197
|
+
let width: string;
|
|
198
|
+
}
|
|
199
|
+
namespace field {
|
|
200
|
+
export namespace height {
|
|
201
|
+
export let xxsmall: string;
|
|
202
|
+
export let xsmall: string;
|
|
203
|
+
let small_1: string;
|
|
204
|
+
export { small_1 as small };
|
|
205
|
+
export let medium: string;
|
|
206
|
+
let large_1: string;
|
|
207
|
+
export { large_1 as large };
|
|
208
|
+
}
|
|
209
|
+
export namespace radius_1 {
|
|
210
|
+
let xxsmall_1: string;
|
|
211
|
+
export { xxsmall_1 as xxsmall };
|
|
212
|
+
let xsmall_1: string;
|
|
213
|
+
export { xsmall_1 as xsmall };
|
|
214
|
+
let small_2: string;
|
|
215
|
+
export { small_2 as small };
|
|
216
|
+
let medium_1: string;
|
|
217
|
+
export { medium_1 as medium };
|
|
218
|
+
let large_2: string;
|
|
219
|
+
export { large_2 as large };
|
|
220
|
+
}
|
|
221
|
+
export { radius_1 as radius };
|
|
222
|
+
export namespace focus {
|
|
223
|
+
let color_1: string;
|
|
224
|
+
export { color_1 as color };
|
|
225
|
+
let width_1: string;
|
|
226
|
+
export { width_1 as width };
|
|
227
|
+
let shadow_1: string;
|
|
228
|
+
export { shadow_1 as shadow };
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maltjoy/themes",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Malt design system themes modules based on tokens",
|
|
6
|
+
"main": "dist/tokens-vars.js",
|
|
7
|
+
"types": "dist/types/tokens-vars.d.ts",
|
|
6
8
|
"files": [
|
|
7
9
|
"build",
|
|
8
10
|
"dist",
|
|
@@ -15,13 +17,16 @@
|
|
|
15
17
|
"fs-extra": "11.1.0",
|
|
16
18
|
"jssha": "3.2.0",
|
|
17
19
|
"sass": "1.77.8",
|
|
18
|
-
"style-dictionary": "5.0.4"
|
|
20
|
+
"style-dictionary": "5.0.4",
|
|
21
|
+
"typescript": "5.3.3",
|
|
22
|
+
"vue-tsc": "2.1.6"
|
|
19
23
|
},
|
|
20
24
|
"scripts": {
|
|
21
25
|
"postinstall": "pnpm sass:compile",
|
|
22
26
|
"build": "pnpm build:tokens && pnpm sass:compile && pnpm postbuild",
|
|
23
27
|
"build:tokens": "node ./style-dictionary.config.js --verbose",
|
|
24
|
-
"
|
|
28
|
+
"ts:generate": "tsc",
|
|
29
|
+
"postbuild": "pnpm ts:generate && node copy-task.js && node manifest-and-integrity.js",
|
|
25
30
|
"sass:dev": "sass --load-path=node_modules src:dist",
|
|
26
31
|
"sass:compile": "sass --load-path=node_modules src/themes/default.scss dist/default.css --style=compressed",
|
|
27
32
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -127,9 +127,12 @@
|
|
|
127
127
|
--joy-form-field-height-small: var(--joy-core-spacing-9);
|
|
128
128
|
--joy-form-field-height-medium: var(--joy-core-spacing-10);
|
|
129
129
|
--joy-form-field-height-large: var(--joy-core-spacing-12);
|
|
130
|
-
--joy-form-field-radius-xxsmall: calc(var(--joy-
|
|
131
|
-
--joy-form-field-radius-xsmall: calc(var(--joy-
|
|
132
|
-
--joy-form-field-radius-small: calc(var(--joy-
|
|
133
|
-
--joy-form-field-radius-medium: calc(var(--joy-
|
|
134
|
-
--joy-form-field-radius-large: calc(var(--joy-
|
|
130
|
+
--joy-form-field-radius-xxsmall: calc(var(--joy-form-field-height-xxsmall) / 2);
|
|
131
|
+
--joy-form-field-radius-xsmall: calc(var(--joy-form-field-height-xsmall) / 2);
|
|
132
|
+
--joy-form-field-radius-small: calc(var(--joy-form-field-height-small) / 2);
|
|
133
|
+
--joy-form-field-radius-medium: calc(var(--joy-form-field-height-medium) / 2);
|
|
134
|
+
--joy-form-field-radius-large: calc(var(--joy-form-field-height-large) / 2);
|
|
135
|
+
--joy-form-field-focus-color: var(--joy-color-information-50);
|
|
136
|
+
--joy-form-field-focus-width: 2px;
|
|
137
|
+
--joy-form-field-focus-shadow: 0 0 0 var(--joy-form-field-focus-width) var(--joy-form-field-focus-color);
|
|
135
138
|
}
|