@maltjoy/themes 1.1.0 → 1.1.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.
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@maltjoy/themes",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Malt design system themes modules based on tokens",
5
5
  "files": [
6
6
  "dist",
7
- "src/themes"
7
+ "src/**/*.scss"
8
8
  ],
9
9
  "scripts": {
10
10
  "build": "pnpm sass:compile",
@@ -17,4 +17,4 @@
17
17
  "dependencies": {
18
18
  "sass": "1.56.1"
19
19
  }
20
- }
20
+ }
@@ -0,0 +1,131 @@
1
+ $FONTS_MAP: (
2
+ xxs: (
3
+ fontFamily: var(--joy-font-family),
4
+ fontSize: var(--joy-font-size-xxs),
5
+ fontWeight: var(--joy-font-weight-normal),
6
+ lineHeight: var(--joy-line-height-large)
7
+ ),
8
+ xxs-bold: (
9
+ fontFamily: var(--joy-font-family),
10
+ fontSize: var(--joy-font-size-xxs),
11
+ fontWeight: var(--joy-font-weight-bold),
12
+ lineHeight: var(--joy-line-height-large)
13
+ ),
14
+ xs: (
15
+ fontFamily: var(--joy-font-family),
16
+ fontSize: var(--joy-font-size-xs),
17
+ fontWeight: var(--joy-font-weight-normal),
18
+ lineHeight: var(--joy-line-height-large)
19
+ ),
20
+ xs-bold: (
21
+ fontFamily: var(--joy-font-family),
22
+ fontSize: var(--joy-font-size-xs),
23
+ fontWeight: var(--joy-font-weight-bold),
24
+ lineHeight: var(--joy-line-height-large)
25
+ ),
26
+ s: (
27
+ fontFamily: var(--joy-font-family),
28
+ fontSize: var(--joy-font-size-s),
29
+ fontWeight: var(--joy-font-weight-normal),
30
+ lineHeight: var(--joy-line-height-large)
31
+ ),
32
+ s-bold: (
33
+ fontFamily: var(--joy-font-family),
34
+ fontSize: var(--joy-font-size-s),
35
+ fontWeight: var(--joy-font-weight-bold),
36
+ lineHeight: var(--joy-line-height-large)
37
+ ),
38
+ m: (
39
+ fontFamily: var(--joy-font-family),
40
+ fontSize: var(--joy-font-size-m),
41
+ fontWeight: var(--joy-font-weight-normal),
42
+ lineHeight: var(--joy-line-height-large)
43
+ ),
44
+ m-bold: (
45
+ fontFamily: var(--joy-font-family),
46
+ fontSize: var(--joy-font-size-m),
47
+ fontWeight: var(--joy-font-weight-bold),
48
+ lineHeight: var(--joy-line-height-large)
49
+ ),
50
+ l: (
51
+ fontFamily: var(--joy-font-family),
52
+ fontSize: var(--joy-font-size-l),
53
+ fontWeight: var(--joy-font-weight-normal),
54
+ lineHeight: var(--joy-line-height-large)
55
+ ),
56
+ l-bold: (
57
+ fontFamily: var(--joy-font-family),
58
+ fontSize: var(--joy-font-size-l),
59
+ fontWeight: var(--joy-font-weight-bold),
60
+ lineHeight: var(--joy-line-height-large)
61
+ ),
62
+ xl: (
63
+ fontFamily: var(--joy-font-family-title),
64
+ fontSize: var(--joy-font-size-xl),
65
+ fontWeight: 500,
66
+ lineHeight: var(--joy-line-height-small)
67
+ ),
68
+ xl-title: (
69
+ fontFamily: var(--joy-font-family),
70
+ fontSize: var(--joy-font-size-xl),
71
+ fontWeight: 500,
72
+ fontSizeMobile: var(--joy-font-size-l),
73
+ lineHeight: var(--joy-line-height-large)
74
+ ),
75
+ xl-title-bold: (
76
+ fontFamily: var(--joy-font-family),
77
+ fontSize: var(--joy-font-size-xl),
78
+ fontWeight: 700,
79
+ lineHeight: var(--joy-line-height-small)
80
+ ),
81
+ xxl: (
82
+ fontFamily: var(--joy-font-family-title),
83
+ fontSize: var(--joy-font-size-2xl),
84
+ fontSizeMobile: var(--joy-font-size-2xl-mobile),
85
+ fontWeight: 500,
86
+ lineHeight: var(--joy-line-height-small)
87
+ ),
88
+ xxxl: (
89
+ fontFamily: var(--joy-font-family-title),
90
+ fontSize: var(--joy-font-size-3xl),
91
+ fontSizeMobile: var(--joy-font-size-3xl-mobile),
92
+ fontWeight: 500,
93
+ lineHeight: var(--joy-line-height-small)
94
+ ),
95
+ xxxxl: (
96
+ fontFamily: var(--joy-font-family-title),
97
+ fontSize: var(--joy-font-size-4xl),
98
+ fontSizeMobile: var(--joy-font-size-4xl-mobile),
99
+ fontWeight: 500,
100
+ lineHeight: var(--joy-line-height-small)
101
+ ),
102
+ quote: (
103
+ fontFamily: var(--joy-font-family),
104
+ fontSize: var(--joy-font-size-quote),
105
+ fontSizeMobile: var(--joy-font-size-quote-mobile),
106
+ fontWeight: var(--joy-font-weight-bold),
107
+ lineHeight: var(--joy-line-height-small)
108
+ )
109
+ );
110
+
111
+ @mixin getFontBySize($font: m) {
112
+ $fontProperties: map-get($FONTS_MAP, $font);
113
+ $fontFamily: map-get($fontProperties, fontFamily);
114
+ $fontSize: map-get($fontProperties, fontSize);
115
+ $fontSizeMobile: map-get($fontProperties, fontSizeMobile);
116
+ $fontWeight: map-get($fontProperties, fontWeight);
117
+ $fontLineHeight: map-get($fontProperties, lineHeight);
118
+
119
+ @if $fontFamily != null {
120
+ font-family: $fontFamily;
121
+ }
122
+ font-weight: $fontWeight;
123
+ font-size: $fontSize;
124
+ line-height: $fontLineHeight;
125
+
126
+ @if $fontSizeMobile!= null {
127
+ @media (max-width: 767px) {
128
+ font-size: $fontSizeMobile;
129
+ }
130
+ }
131
+ }
@@ -0,0 +1,11 @@
1
+ $joy-transition-duration-short: 100ms !default;
2
+ $joy-transition-duration-default: 200ms !default;
3
+ $joy-transition-duration-long: 400ms !default;
4
+ $joy-transition-timing-function: ease-in-out !default;
5
+
6
+ @mixin getAnimationsProperties() {
7
+ --joy-transition-duration-short: #{$joy-transition-duration-short};
8
+ --joy-transition-duration-default: #{$joy-transition-duration-default};
9
+ --joy-transition-duration-long: #{$joy-transition-duration-long};
10
+ --joy-transition-timing-function: #{$joy-transition-timing-function};
11
+ }
@@ -0,0 +1,174 @@
1
+ /**
2
+ * Declaring hexa with sass variables, and assign them to custom properties next, allows us to directly @use sass variables
3
+ * in order to easily use sass internal functions like color adjust, transparentize and so on
4
+ * Synthax like so : color: transparentize(var(--joy-color-primary-10, 0.2) is not allowed at the moment.
5
+ */
6
+
7
+ $joy-color-primary-10: #FFF4F4 !default;
8
+ $joy-color-primary-30: #FF7370 !default;
9
+ $joy-color-primary-50: #FC5757 !default;
10
+ $joy-color-primary-70: #D4524F !default;
11
+ $joy-color-primary-90: #A63633 !default;
12
+
13
+ $joy-color-secondary-10: #ECF3F4 !default;
14
+ $joy-color-secondary-30: #0F6378 !default;
15
+ $joy-color-secondary-50: #035266 !default;
16
+ $joy-color-secondary-90: #014554 !default;
17
+
18
+ $joy-color-tertiary-10: #EEFCFB !default;
19
+ $joy-color-tertiary-30: #33E5DB !default;
20
+ $joy-color-tertiary-50: #12CFC9 !default;
21
+ $joy-color-tertiary-70: #0AB8AD !default;
22
+
23
+ $joy-color-quaternary-10: #FFFBED !default;
24
+ $joy-color-quaternary-30: #FCCF5E !default;
25
+ $joy-color-quaternary-50: #FFC200 !default;
26
+ $joy-color-quaternary-70: #F0B021 !default;
27
+
28
+ /** BRAND COLORS **/
29
+ $joy-color-brand-primary-30: #FFB0F7 !default;
30
+ $joy-color-brand-primary-50: #FF91F0 !default;
31
+ $joy-color-brand-primary-70: #EB73DE !default;
32
+
33
+ $joy-color-brand-secondary-30: #264FFA !default;
34
+ $joy-color-brand-secondary-50: #0529FC !default;
35
+ $joy-color-brand-secondary-70: #0833BD !default;
36
+
37
+ /** NEUTRAL COLORS **/
38
+ $joy-color-neutral-1: #FCFCFC !default;
39
+ $joy-color-neutral-2: #f7f7f5 !default;
40
+ $joy-color-neutral-3: #E0DED9 !default;
41
+ $joy-color-neutral-4: #737370 !default;
42
+ $joy-color-neutral-5: #4B4B4B !default;
43
+ $joy-color-neutral-6: #333330 !default;
44
+ $joy-color-neutral-7: #181818 !default;
45
+
46
+ /** FUNCTIONAL **/
47
+ $joy-color-success-10: #F2F8E9 !default;
48
+ $joy-color-success-50: #81B928 !default;
49
+ $joy-color-success-90: #659B1C !default;
50
+
51
+ $joy-color-information-10: #EAF5FF !default;
52
+ $joy-color-information-50: #2FA0FC !default;
53
+ $joy-color-information-90: #175DB5 !default;
54
+
55
+ $joy-color-warning-10: #FEF6E7 !default;
56
+ $joy-color-warning-50: #F2A10C !default;
57
+ $joy-color-warning-90: #AE6606 !default;
58
+
59
+ $joy-color-error-10: #FCEAEA !default;
60
+ $joy-color-error-50: #E02D2D !default;
61
+ $joy-color-error-90: #A1162E !default;
62
+ /** ****** **/
63
+
64
+ /** TEXT **/
65
+ $joy-color-text-disabled: #{$joy-color-neutral-3} !default;
66
+ $joy-color-text-warning: #{$joy-color-warning-50} !default;
67
+ $joy-color-text-information: #{$joy-color-information-50} !default;
68
+ $joy-color-text-error: #{$joy-color-error-50} !default;
69
+ $joy-color-text-success: #{$joy-color-success-50} !default;
70
+ $joy-color-text-body: $joy-color-neutral-5 !default;
71
+ $joy-color-text-title: $joy-color-neutral-6 !default;
72
+ /** ********* **/
73
+
74
+ /** STATES **/
75
+ $joy-color-state-disabled-border: #{$joy-color-neutral-3} !default;
76
+ $joy-color-state-disabled-background: #{$joy-color-neutral-3} !default;
77
+ $joy-color-state-focus: #{$joy-color-secondary-50} !default;
78
+ $joy-color-state-hover: #{$joy-color-secondary-50} !default;
79
+ $joy-color-state-error: #{$joy-color-error-50} !default;
80
+ $joy-color-state-hover-error: #{$joy-color-error-90} !default;
81
+ /** ****** **/
82
+
83
+ $joy-color-overlay: rgba(51, 51, 48, 0.4) !default;
84
+
85
+ @mixin getPaletteProperties() {
86
+ // Palette
87
+ --joy-color-primary-10: #{$joy-color-primary-10};
88
+ --joy-color-primary-30: #{$joy-color-primary-30};
89
+ --joy-color-primary-50: #{$joy-color-primary-50};
90
+ --joy-color-primary-70: #{$joy-color-primary-70};
91
+ --joy-color-primary-90: #{$joy-color-primary-90};
92
+
93
+ --joy-color-secondary-10: #{$joy-color-secondary-10};
94
+ --joy-color-secondary-30: #{$joy-color-secondary-30};
95
+ --joy-color-secondary-50: #{$joy-color-secondary-50};
96
+ --joy-color-secondary-90: #{$joy-color-secondary-90};
97
+
98
+ --joy-color-tertiary-10: #{$joy-color-tertiary-10};
99
+ --joy-color-tertiary-30: #{$joy-color-tertiary-30};
100
+ --joy-color-tertiary-50: #{$joy-color-tertiary-50};
101
+ --joy-color-tertiary-70: #{$joy-color-tertiary-70};
102
+
103
+ --joy-color-quaternary-10: #{$joy-color-quaternary-10};
104
+ --joy-color-quaternary-30: #{$joy-color-quaternary-30};
105
+ --joy-color-quaternary-50: #{$joy-color-quaternary-50};
106
+ --joy-color-quaternary-70: #{$joy-color-quaternary-70};
107
+
108
+ // Brand colors
109
+ --joy-color-brand-primary-30: #{$joy-color-brand-primary-30};
110
+ --joy-color-brand-primary-50: #{$joy-color-brand-primary-50};
111
+ --joy-color-brand-primary-70: #{$joy-color-brand-primary-70};
112
+
113
+ --joy-color-brand-secondary-30: #{$joy-color-brand-secondary-30};
114
+ --joy-color-brand-secondary-50: #{$joy-color-brand-secondary-50};
115
+ --joy-color-brand-secondary-70: #{$joy-color-brand-secondary-70};
116
+ //
117
+
118
+ --joy-color-neutral-1: #{$joy-color-neutral-1};
119
+ --joy-color-neutral-2: #{$joy-color-neutral-2};
120
+ --joy-color-neutral-3: #{$joy-color-neutral-3};
121
+ --joy-color-neutral-4: #{$joy-color-neutral-4};
122
+ --joy-color-neutral-5: #{$joy-color-neutral-5};
123
+ --joy-color-neutral-6: #{$joy-color-neutral-6};
124
+ --joy-color-neutral-7: #{$joy-color-neutral-7};
125
+ }
126
+
127
+ @mixin getFunctionalPaletteProperties() {
128
+ /** SUCCESS **/
129
+ --joy-color-success-10: #{$joy-color-success-10};
130
+ --joy-color-success-50: #{$joy-color-success-50};
131
+ --joy-color-success-90: #{$joy-color-success-90};
132
+
133
+ /** INFO **/
134
+ --joy-color-information-10: #{$joy-color-information-10};
135
+ --joy-color-information-50: #{$joy-color-information-50};
136
+ --joy-color-information-90: #{$joy-color-information-90};
137
+
138
+ /** WARNING **/
139
+ --joy-color-warning-10: #{$joy-color-warning-10};
140
+ --joy-color-warning-50: #{$joy-color-warning-50};
141
+ --joy-color-warning-90: #{$joy-color-warning-90};
142
+
143
+ /** ERROR **/
144
+ --joy-color-error-10: #{$joy-color-error-10};
145
+ --joy-color-error-50: #{$joy-color-error-50};
146
+ --joy-color-error-90: #{$joy-color-error-90};
147
+ }
148
+
149
+ @mixin getContextualPaletteProperties() {
150
+ --joy-color-state-focus: #{$joy-color-state-focus};
151
+ --joy-color-state-hover: #{$joy-color-state-hover};
152
+
153
+ /** ERRORS **/
154
+ --joy-color-state-error: #{$joy-color-state-error};
155
+ --joy-color-state-error-hover: #{$joy-color-state-hover-error};
156
+
157
+ /** DISABLED **/
158
+ --joy-color-state-disabled-border: #{$joy-color-state-disabled-border};
159
+ --joy-color-state-disabled-background: #{$joy-color-state-disabled-background}
160
+ }
161
+
162
+ @mixin getTextPaletteProperties() {
163
+ --joy-color-text-body: #{$joy-color-text-body};
164
+ --joy-color-text-title: #{$joy-color-text-title};
165
+ --joy-color-text-disabled: #{$joy-color-text-disabled};
166
+ --joy-color-text-warning: #{$joy-color-text-warning};
167
+ --joy-color-text-error: #{$joy-color-text-error};
168
+ --joy-color-text-success: #{$joy-color-text-success};
169
+ --joy-color-text-information: #{$joy-color-text-information};
170
+ }
171
+
172
+ @mixin getOverlayProperties() {
173
+ --joy-color-overlay: #{$joy-color-overlay};
174
+ }
@@ -0,0 +1,15 @@
1
+ $shadow-color: rgba(24,24,24, 0.16);
2
+
3
+ $joy-core-elevation-0: 0 0 0 0 #{$shadow-color} !default;
4
+ $joy-core-elevation-1: 0 2px 4px 0 #{$shadow-color} !default;
5
+ $joy-core-elevation-2: 0 4px 12px 0 #{$shadow-color} !default;
6
+ $joy-core-elevation-3: 0 6px 24px 0 #{$shadow-color} !default;
7
+ $joy-core-elevation-4: 0px 8px 32px 0 #{$shadow-color} !default;
8
+
9
+ @mixin getElevationsProperties() {
10
+ --joy-core-elevation-0: #{$joy-core-elevation-0};
11
+ --joy-core-elevation-1: #{$joy-core-elevation-1};
12
+ --joy-core-elevation-2: #{$joy-core-elevation-2};
13
+ --joy-core-elevation-3: #{$joy-core-elevation-3};
14
+ --joy-core-elevation-4: #{$joy-core-elevation-4};
15
+ }
@@ -0,0 +1,54 @@
1
+ $joy-font-size-xxs: 11px !default;
2
+ $joy-font-size-xs: 12px !default;
3
+ $joy-font-size-s: 14px !default;
4
+ $joy-font-size-m: 16px !default;
5
+ $joy-font-size-l: 20px !default;
6
+ $joy-font-size-xl: 24px !default;
7
+ $joy-font-size-2xl: 36px !default;
8
+ $joy-font-size-2xl-mobile: 32px !default;
9
+ $joy-font-size-3xl: 46px !default;
10
+ $joy-font-size-3xl-mobile: 38px !default;
11
+ $joy-font-size-4xl: 52px !default;
12
+ $joy-font-size-4xl-mobile: 42px !default;
13
+ $joy-font-size-quote: 26px !default;
14
+ $joy-font-size-quote-mobile: 22px !default;
15
+
16
+ $joy-font-weight-normal: 500 !default;
17
+ $joy-font-weight-bold: 700 !default;
18
+
19
+ $joy-line-height-small: 1.05 !default;
20
+ $joy-line-height-large: 1.25 !default;
21
+
22
+ $joy-font-family: 'Moderat', Arial, Helvetica, sans-serif !default;
23
+ $joy-font-family-title: 'Agrandir Tight', Arial, Helvetica, sans-serif !default;
24
+
25
+ @mixin getFontsProperties() {
26
+ // Font families:
27
+ --joy-font-family: #{$joy-font-family};
28
+ --joy-font-family-title: #{$joy-font-family-title};
29
+
30
+ // Font sizes
31
+ --joy-font-size-none: 0;
32
+ --joy-font-size-xxs: #{$joy-font-size-xxs};
33
+ --joy-font-size-xs: #{$joy-font-size-xs};
34
+ --joy-font-size-s: #{$joy-font-size-s};
35
+ --joy-font-size-m: #{$joy-font-size-m};
36
+ --joy-font-size-l: #{$joy-font-size-l};
37
+ --joy-font-size-xl: #{$joy-font-size-xl};
38
+ --joy-font-size-2xl: #{$joy-font-size-2xl};
39
+ --joy-font-size-2xl-mobile: #{$joy-font-size-2xl-mobile};
40
+ --joy-font-size-3xl: #{$joy-font-size-3xl};
41
+ --joy-font-size-3xl-mobile: #{$joy-font-size-3xl-mobile};
42
+ --joy-font-size-4xl: #{$joy-font-size-4xl};
43
+ --joy-font-size-4xl-mobile: #{$joy-font-size-4xl-mobile};
44
+ --joy-font-size-quote: #{$joy-font-size-quote};
45
+ --joy-font-size-quote-mobile: #{$joy-font-size-quote-mobile};
46
+
47
+ // Font weights
48
+ --joy-font-weight-normal: #{$joy-font-weight-normal};
49
+ --joy-font-weight-bold: #{$joy-font-weight-bold};
50
+
51
+ // Line heights
52
+ --joy-line-height-small: #{$joy-line-height-small};
53
+ --joy-line-height-large: #{$joy-line-height-large};
54
+ }
@@ -0,0 +1,30 @@
1
+ $joy-form-border-width: 2px !default;
2
+ $joy-form-field-height-xxsmall: var(--joy-core-spacing-6) !default;
3
+ $joy-form-field-height-xsmall: var(--joy-core-spacing-8) !default;
4
+ $joy-form-field-height-small: var(--joy-core-spacing-9) !default;
5
+ $joy-form-field-height-medium: var(--joy-core-spacing-10) !default;
6
+ $joy-form-field-height-large: var(--joy-core-spacing-12) !default;
7
+
8
+ $joy-form-field-radius-xxsmall: calc(#{$joy-form-field-height-xxsmall} / 2) !default;
9
+ $joy-form-field-radius-xsmall: calc(#{$joy-form-field-height-xsmall} / 2) !default;
10
+ $joy-form-field-radius-small: calc(#{$joy-form-field-height-small} / 2) !default;
11
+ $joy-form-field-radius-medium: calc(#{$joy-form-field-height-medium} / 2) !default;
12
+ $joy-form-field-radius-large: calc(#{$joy-form-field-height-large} / 2) !default;
13
+
14
+
15
+ @mixin getFormsProperties() {
16
+ --joy-form-border-width: #{$joy-form-border-width};
17
+
18
+ /** For inputs, buttons **/
19
+ --joy-form-field-height-xxsmall: #{$joy-form-field-height-xxsmall};
20
+ --joy-form-field-height-xsmall: #{$joy-form-field-height-xsmall};
21
+ --joy-form-field-height-small: #{$joy-form-field-height-small};
22
+ --joy-form-field-height-medium: #{$joy-form-field-height-medium};
23
+ --joy-form-field-height-large:#{$joy-form-field-height-large};
24
+
25
+ --joy-form-field-radius-xxsmall: #{$joy-form-field-radius-xxsmall};
26
+ --joy-form-field-radius-xsmall: #{$joy-form-field-radius-xsmall};
27
+ --joy-form-field-radius-small: #{$joy-form-field-radius-small};
28
+ --joy-form-field-radius-medium: #{$joy-form-field-radius-medium};
29
+ --joy-form-field-radius-large: #{$joy-form-field-radius-large};
30
+ }
@@ -0,0 +1,15 @@
1
+ $joy-core-radius-0: 0 !default;
2
+ $joy-core-radius-1: 2px !default;
3
+ $joy-core-radius-2: 4px !default;
4
+ $joy-core-radius-3: 8px !default;
5
+ $joy-core-radius-4: 16px !default;
6
+ $joy-core-radius-5: 50% !default;
7
+
8
+ @mixin getRadiusProperties() {
9
+ --joy-core-radius-0: #{$joy-core-radius-0};
10
+ --joy-core-radius-1: #{$joy-core-radius-1};
11
+ --joy-core-radius-2: #{$joy-core-radius-2};
12
+ --joy-core-radius-3: #{$joy-core-radius-3};
13
+ --joy-core-radius-4: #{$joy-core-radius-4};
14
+ --joy-core-radius-5: #{$joy-core-radius-5};
15
+ }
@@ -0,0 +1,18 @@
1
+ $joy-core-spacing-base: 4px !default;
2
+
3
+ @mixin getSpacingProperties() {
4
+ --joy-core-spacing-base: #{$joy-core-spacing-base};
5
+
6
+ --joy-core-spacing-1: calc(var(--joy-core-spacing-base) * 1);
7
+ --joy-core-spacing-2: calc(var(--joy-core-spacing-base) * 2);
8
+ --joy-core-spacing-3: calc(var(--joy-core-spacing-base) * 3);
9
+ --joy-core-spacing-4: calc(var(--joy-core-spacing-base) * 4);
10
+ --joy-core-spacing-5: calc(var(--joy-core-spacing-base) * 5);
11
+ --joy-core-spacing-6: calc(var(--joy-core-spacing-base) * 6);
12
+ --joy-core-spacing-7: calc(var(--joy-core-spacing-base) * 7);
13
+ --joy-core-spacing-8: calc(var(--joy-core-spacing-base) * 8);
14
+ --joy-core-spacing-9: calc(var(--joy-core-spacing-base) * 10);
15
+ --joy-core-spacing-10: calc(var(--joy-core-spacing-base) * 12);
16
+ --joy-core-spacing-11: calc(var(--joy-core-spacing-base) * 14);
17
+ --joy-core-spacing-12: calc(var(--joy-core-spacing-base) * 16);
18
+ }
@@ -0,0 +1,8 @@
1
+ @forward './animations';
2
+ @forward './colors';
3
+ @forward './elevations';
4
+ @forward './fonts';
5
+ @forward './forms';
6
+ @forward './radius';
7
+ @forward './spacing';
8
+ @forward './zindex';
@@ -0,0 +1,18 @@
1
+ $joy-core-z-index-fixed-content: 20 !default;
2
+ $joy-core-z-index-dropdown: 23 !default;
3
+ $joy-core-z-index-backdrop: 1049 !default;
4
+ $joy-core-z-index-product-tour: 1050 !default;
5
+ $joy-core-z-index-dialog: 1051 !default;
6
+ $joy-core-z-index-tooltip: 1052 !default;
7
+ $joy-core-z-index-snackbar: 1053 !default;
8
+
9
+
10
+ @mixin getZindexProperties() {
11
+ --joy-core-z-index-fixed-content: #{$joy-core-z-index-fixed-content};
12
+ --joy-core-z-index-dropdown: #{$joy-core-z-index-dropdown};
13
+ --joy-core-z-index-backdrop: #{$joy-core-z-index-backdrop};
14
+ --joy-core-z-index-product-tour: #{$joy-core-z-index-product-tour};
15
+ --joy-core-z-index-dialog: #{$joy-core-z-index-dialog};
16
+ --joy-core-z-index-tooltip: #{$joy-core-z-index-tooltip};
17
+ --joy-core-z-index-snackbar: #{$joy-core-z-index-snackbar};
18
+ }