@esri/calcite-design-tokens 4.0.0-next.2 → 4.0.0-next.20
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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/dist/css/breakpoints.css +8 -4
- package/dist/css/core.css +17 -2
- package/dist/css/dark.css +31 -27
- package/dist/css/global.css +64 -20
- package/dist/css/index.css +175 -150
- package/dist/css/light.css +36 -32
- package/dist/css/semantic.css +64 -20
- package/dist/docs/core.json +402 -3
- package/dist/docs/dark.json +647 -556
- package/dist/docs/global.json +3937 -2619
- package/dist/docs/light.json +667 -576
- package/dist/docs/semantic.json +2760 -1541
- package/dist/es6/breakpoints.d.ts +6 -2
- package/dist/es6/breakpoints.js +4 -2
- package/dist/es6/core.d.ts +15 -0
- package/dist/es6/core.js +17 -2
- package/dist/es6/dark.d.ts +31 -23
- package/dist/es6/dark.js +31 -27
- package/dist/es6/global.d.ts +106 -32
- package/dist/es6/global.js +129 -79
- package/dist/es6/light.d.ts +31 -23
- package/dist/es6/light.js +36 -32
- package/dist/es6/semantic.d.ts +63 -1
- package/dist/es6/semantic.js +64 -20
- package/dist/scss/breakpoints.scss +8 -4
- package/dist/scss/core.scss +17 -2
- package/dist/scss/dark.scss +31 -27
- package/dist/scss/global.scss +64 -20
- package/dist/scss/index.scss +69 -59
- package/dist/scss/light.scss +36 -32
- package/dist/scss/semantic.scss +64 -20
- package/package.json +8 -7
- package/dist/css/component.css +0 -11
package/dist/es6/semantic.js
CHANGED
|
@@ -17,7 +17,7 @@ export const calciteCornerRadiusNone = "0";
|
|
|
17
17
|
export const calciteCornerRadiusXs = "2px";
|
|
18
18
|
export const calciteCornerRadiusSm = "4px";
|
|
19
19
|
export const calciteCornerRadiusRound = "4px"; // deprecated, use --calcite-corner-radius-sm instead
|
|
20
|
-
export const calciteCornerRadiusPill = "
|
|
20
|
+
export const calciteCornerRadiusPill = "9999px";
|
|
21
21
|
export const calciteFontFamily = [
|
|
22
22
|
"Avenir Next",
|
|
23
23
|
"Avenir",
|
|
@@ -43,7 +43,20 @@ export const calciteFontSize = "14px";
|
|
|
43
43
|
export const calciteFontSizeMd = "16px";
|
|
44
44
|
export const calciteFontSizeLg = "18px";
|
|
45
45
|
export const calciteFontSizeXl = "20px";
|
|
46
|
-
export const calciteFontSizeXxl = "24px";
|
|
46
|
+
export const calciteFontSizeXxl = "24px"; // Deprecated, use --calcite-font-size-2xl instead.
|
|
47
|
+
export const calciteFontSize2xl = "24px";
|
|
48
|
+
export const calciteFontSizeRelativeXs = "0.625rem";
|
|
49
|
+
export const calciteFontSizeRelativeSm = "0.75rem";
|
|
50
|
+
export const calciteFontSizeRelativeBase = "0.875rem";
|
|
51
|
+
export const calciteFontSizeRelativeMd = "1rem";
|
|
52
|
+
export const calciteFontSizeRelativeLg = "1.125rem";
|
|
53
|
+
export const calciteFontSizeRelativeXl = "1.25rem";
|
|
54
|
+
export const calciteFontSizeRelative2xl = "1.625rem";
|
|
55
|
+
export const calciteFontSizeRelative3xl = "2rem";
|
|
56
|
+
export const calciteFontSizeRelative4xl = "2.5rem";
|
|
57
|
+
export const calciteFontSizeRelative5xl = "3rem";
|
|
58
|
+
export const calciteFontSizeRelative6xl = "3.5rem";
|
|
59
|
+
export const calciteFontSizeRelative7xl = "4rem";
|
|
47
60
|
export const calciteFontStyleEmphasis = "italic"; // used in ratings
|
|
48
61
|
export const calciteFontLineHeightFixedSm = "12px";
|
|
49
62
|
export const calciteFontLineHeightFixedBase = "16px";
|
|
@@ -61,6 +74,18 @@ export const calciteFontLineHeightRelativeSnug = "1.375"; // 1.375
|
|
|
61
74
|
export const calciteFontLineHeightRelativeNormal = "1.5"; // 1.5
|
|
62
75
|
export const calciteFontLineHeightRelativeRelaxed = "1.625"; // 1.625
|
|
63
76
|
export const calciteFontLineHeightRelativeLoose = "2"; // 2
|
|
77
|
+
export const calciteFontLineHeightXs = "0.75rem";
|
|
78
|
+
export const calciteFontLineHeightSm = "1rem";
|
|
79
|
+
export const calciteFontLineHeightBase = "1rem";
|
|
80
|
+
export const calciteFontLineHeightMd = "1.25rem";
|
|
81
|
+
export const calciteFontLineHeightLg = "1.5rem";
|
|
82
|
+
export const calciteFontLineHeightXl = "1.5rem";
|
|
83
|
+
export const calciteFontLineHeight2xl = "2rem";
|
|
84
|
+
export const calciteFontLineHeight3xl = "2.5rem";
|
|
85
|
+
export const calciteFontLineHeight4xl = "3rem";
|
|
86
|
+
export const calciteFontLineHeight5xl = "4rem";
|
|
87
|
+
export const calciteFontLineHeight6xl = "4rem";
|
|
88
|
+
export const calciteFontLineHeight7xl = "5rem";
|
|
64
89
|
export const calciteFontLetterSpacingTight = "-0.4px"; // Deprecated
|
|
65
90
|
export const calciteFontLetterSpacingNormal = "0"; // Deprecated
|
|
66
91
|
export const calciteFontLetterSpacingWide = "0.4px"; // Deprecated
|
|
@@ -71,11 +96,11 @@ export const calciteFontTextCaseNone = "none"; // Deprecated
|
|
|
71
96
|
export const calciteFontTextCaseUppercase = "uppercase"; // Deprecated
|
|
72
97
|
export const calciteFontTextCaseLowercase = "lowercase"; // Deprecated
|
|
73
98
|
export const calciteFontTextCaseCapitalize = "capitalize"; // Deprecated
|
|
99
|
+
export const calciteOpacityDisabled = "0.5";
|
|
74
100
|
export const calciteOpacityLight = "0.4";
|
|
75
101
|
export const calciteOpacityHalf = "0.5";
|
|
76
102
|
export const calciteOpacityDark = "0.85";
|
|
77
103
|
export const calciteOpacityFull = "1";
|
|
78
|
-
export const calciteOpacityDisabled = "0.5";
|
|
79
104
|
export const calciteShadowNone = {
|
|
80
105
|
blur: "0",
|
|
81
106
|
spread: "0",
|
|
@@ -109,15 +134,20 @@ export const calciteSizeFixedXl = "20px"; // deprecated
|
|
|
109
134
|
export const calciteSizeFixedXxl = "24px"; // deprecated
|
|
110
135
|
export const calciteSizeFixedXxxl = "32px"; // deprecated
|
|
111
136
|
export const calciteSizePx = "1px";
|
|
112
|
-
export const
|
|
113
|
-
export const
|
|
137
|
+
export const calciteSize4xs = "0.625rem";
|
|
138
|
+
export const calciteSizeXxxs = "0.75rem"; // Deprecated, use --calcite-size-3xs instead.
|
|
139
|
+
export const calciteSize3xs = "0.75rem";
|
|
140
|
+
export const calciteSizeXxs = "0.875rem"; // Deprecated, use --calcite-size-2xs instead.
|
|
141
|
+
export const calciteSize2xs = "0.875rem";
|
|
114
142
|
export const calciteSizeXs = "1rem";
|
|
115
143
|
export const calciteSizeSm = "1.5rem";
|
|
116
144
|
export const calciteSizeMd = "2rem";
|
|
117
145
|
export const calciteSizeLg = "2.75rem";
|
|
118
146
|
export const calciteSizeXl = "3rem";
|
|
119
|
-
export const calciteSizeXxl = "4rem";
|
|
120
|
-
export const
|
|
147
|
+
export const calciteSizeXxl = "4rem"; // Deprecated, use --calcite-size-2xl instead.
|
|
148
|
+
export const calciteSize2xl = "4rem";
|
|
149
|
+
export const calciteSizeXxxl = "6rem"; // Deprecated, use --calcite-size-3xl instead.
|
|
150
|
+
export const calciteSize3xl = "6rem";
|
|
121
151
|
export const calciteSpacingFixedXxs = "4px"; // deprecated
|
|
122
152
|
export const calciteSpacingFixedXs = "6px"; // deprecated
|
|
123
153
|
export const calciteSpacingFixedSm = "8px"; // deprecated
|
|
@@ -126,19 +156,33 @@ export const calciteSpacingFixedLg = "14px"; // deprecated
|
|
|
126
156
|
export const calciteSpacingFixedXl = "16px"; // deprecated
|
|
127
157
|
export const calciteSpacingFixedXxl = "20px"; // deprecated
|
|
128
158
|
export const calciteSpacingFixedXxxl = "32px"; // deprecated
|
|
129
|
-
export const calciteSpacingNone = "0";
|
|
130
|
-
export const calciteSpacingPx = "1px";
|
|
131
|
-
export const calciteSpacingBase = "2px";
|
|
132
|
-
export const calciteSpacingXxs = "0.25rem";
|
|
133
|
-
export const calciteSpacingXs = "0.375rem";
|
|
134
|
-
export const calciteSpacingSm = "0.5rem";
|
|
135
|
-
export const calciteSpacingSmPlus = "0.625rem";
|
|
136
|
-
export const calciteSpacingMd = "0.75rem";
|
|
137
|
-
export const calciteSpacingMdPlus = "0.875rem";
|
|
138
|
-
export const calciteSpacingLg = "1rem";
|
|
139
|
-
export const calciteSpacingXl = "1.25rem";
|
|
140
|
-
export const calciteSpacingXxl = "1.5rem";
|
|
141
|
-
export const calciteSpacingXxxl = "2rem";
|
|
159
|
+
export const calciteSpacingNone = "0"; // deprecated, use `--calcite-space-none` instead
|
|
160
|
+
export const calciteSpacingPx = "1px"; // deprecated, use `--calcite-space-px` instead
|
|
161
|
+
export const calciteSpacingBase = "2px"; // deprecated, use `--calcite-space-base` instead
|
|
162
|
+
export const calciteSpacingXxs = "0.25rem"; // deprecated, use `--calcite-space-2xs` instead
|
|
163
|
+
export const calciteSpacingXs = "0.375rem"; // deprecated, use `--calcite-space-xs` instead
|
|
164
|
+
export const calciteSpacingSm = "0.5rem"; // deprecated, use `--calcite-space-sm` instead
|
|
165
|
+
export const calciteSpacingSmPlus = "0.625rem"; // deprecated, use `--calcite-space-sm-plus` instead
|
|
166
|
+
export const calciteSpacingMd = "0.75rem"; // deprecated, use `--calcite-space-md` instead
|
|
167
|
+
export const calciteSpacingMdPlus = "0.875rem"; // deprecated, use `--calcite-space-md-plus` instead
|
|
168
|
+
export const calciteSpacingLg = "1rem"; // deprecated, use `--calcite-space-lg` instead
|
|
169
|
+
export const calciteSpacingXl = "1.25rem"; // deprecated, use `--calcite-space-xl` instead
|
|
170
|
+
export const calciteSpacingXxl = "1.5rem"; // deprecated, use `--calcite-space-2xl` instead
|
|
171
|
+
export const calciteSpacingXxxl = "2rem"; // deprecated, use `--calcite-space-3xl` instead
|
|
172
|
+
export const calciteSpaceNone = "0";
|
|
173
|
+
export const calciteSpacePx = "1px";
|
|
174
|
+
export const calciteSpaceBase = "2px";
|
|
175
|
+
export const calciteSpace2xs = "0.25rem";
|
|
176
|
+
export const calciteSpaceXs = "0.375rem";
|
|
177
|
+
export const calciteSpaceSm = "0.5rem";
|
|
178
|
+
export const calciteSpaceSmPlus = "0.625rem";
|
|
179
|
+
export const calciteSpaceMd = "0.75rem";
|
|
180
|
+
export const calciteSpaceMdPlus = "0.875rem";
|
|
181
|
+
export const calciteSpaceLg = "1rem";
|
|
182
|
+
export const calciteSpaceXl = "1.25rem";
|
|
183
|
+
export const calciteSpace2xl = "1.5rem";
|
|
184
|
+
export const calciteSpace3xl = "2rem";
|
|
185
|
+
export const calciteSpace4xl = "2.75rem";
|
|
142
186
|
export const calciteZIndexDeep = "-999999";
|
|
143
187
|
export const calciteZIndex = "1";
|
|
144
188
|
export const calciteZIndexSticky = "300";
|
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
// Calcite Design System
|
|
3
3
|
// Do not edit directly, this file was auto-generated.
|
|
4
4
|
|
|
5
|
-
$calcite-container-size-height-xxs-min: 0; // Small handheld devices and mini-windows
|
|
6
|
-
$calcite-container-size-
|
|
7
|
-
$calcite-container-size-
|
|
5
|
+
$calcite-container-size-height-xxs-min: 0; // Deprecated, use --calcite-container-size-height-2xs-min|max instead. Small handheld devices and mini-windows
|
|
6
|
+
$calcite-container-size-height-2xs-min: 0; // Small handheld devices and mini-windows
|
|
7
|
+
$calcite-container-size-width-xxs-min: 0; // Deprecated, use --calcite-container-size-width-2xs-min|max instead. Small handheld devices and mini-windows
|
|
8
|
+
$calcite-container-size-width-2xs-min: 0; // Small handheld devices and mini-windows
|
|
9
|
+
$calcite-container-size-height-xxs-max: 154px; // Deprecated, use --calcite-container-size-height-2xs-min|max instead. Small handheld devices and mini-windows
|
|
10
|
+
$calcite-container-size-height-2xs-max: 154px; // Small handheld devices and mini-windows
|
|
8
11
|
$calcite-container-size-height-xs-min: 155px; // Handheld devices
|
|
9
12
|
$calcite-container-size-height-xs-max: 328px; // Handheld devices
|
|
10
13
|
$calcite-container-size-height-sm-min: 329px; // Small tablets
|
|
@@ -14,7 +17,8 @@ $calcite-container-size-height-md-max: 678px; // Small laptops
|
|
|
14
17
|
$calcite-container-size-height-lg-min: 679px; // Large laptops and desktop computers
|
|
15
18
|
$calcite-container-size-height-lg-max: 854px; // Large laptops and desktop computers
|
|
16
19
|
$calcite-container-size-height-xl-min: 855px; // Projectors and televisions
|
|
17
|
-
$calcite-container-size-width-xxs-max: 320px; // Small handheld devices and mini-windows
|
|
20
|
+
$calcite-container-size-width-xxs-max: 320px; // Deprecated, use --calcite-container-size-width-2xs-min|max instead. Small handheld devices and mini-windows
|
|
21
|
+
$calcite-container-size-width-2xs-max: 320px; // Small handheld devices and mini-windows
|
|
18
22
|
$calcite-container-size-width-xs-min: 321px; // Handheld devices
|
|
19
23
|
$calcite-container-size-width-xs-max: 476px; // Handheld devices
|
|
20
24
|
$calcite-container-size-width-sm-min: 477px; // Small tablets
|
package/dist/scss/core.scss
CHANGED
|
@@ -346,7 +346,7 @@ $calcite-color-high-saturation-orange-yellow-h-oy-030: #fcc582;
|
|
|
346
346
|
$calcite-color-high-saturation-orange-yellow-h-oy-040: #fbb664;
|
|
347
347
|
$calcite-color-high-saturation-orange-yellow-h-oy-050: #f9a845;
|
|
348
348
|
$calcite-color-high-saturation-orange-yellow-h-oy-060: #f89927;
|
|
349
|
-
$calcite-color-high-saturation-orange-yellow-h-oy-070: #
|
|
349
|
+
$calcite-color-high-saturation-orange-yellow-h-oy-070: #da7c0b;
|
|
350
350
|
$calcite-color-high-saturation-orange-yellow-h-oy-080: #9a5b10;
|
|
351
351
|
$calcite-color-high-saturation-orange-yellow-h-oy-090: #6d3f08;
|
|
352
352
|
$calcite-color-high-saturation-orange-yellow-h-oy-100: #402300;
|
|
@@ -433,7 +433,7 @@ $calcite-color-vibrant-yellow-v-yy-180: #ebba17;
|
|
|
433
433
|
$calcite-color-vibrant-orange-yellow-v-oy-120: #ffb54d;
|
|
434
434
|
$calcite-color-vibrant-orange-yellow-v-oy-140: #ff9500;
|
|
435
435
|
$calcite-color-vibrant-orange-yellow-v-oy-160: #e68600;
|
|
436
|
-
$calcite-color-vibrant-orange-yellow-v-oy-180: #
|
|
436
|
+
$calcite-color-vibrant-orange-yellow-v-oy-180: #c26b00;
|
|
437
437
|
$calcite-color-vibrant-red-orange-v-ro-120: #ff824d;
|
|
438
438
|
$calcite-color-vibrant-red-orange-v-ro-140: #ff4d00;
|
|
439
439
|
$calcite-color-vibrant-red-orange-v-ro-160: #de4300;
|
|
@@ -554,6 +554,7 @@ $calcite-size-192: 192px;
|
|
|
554
554
|
$calcite-size-224: 224px;
|
|
555
555
|
$calcite-size-256: 256px;
|
|
556
556
|
$calcite-size-288: 288px;
|
|
557
|
+
$calcite-size-9999: 9999px;
|
|
557
558
|
$calcite-size-none: 0;
|
|
558
559
|
$calcite-size-relative-50: 50%;
|
|
559
560
|
$calcite-size-relative-100: 100%;
|
|
@@ -564,6 +565,20 @@ $calcite-size-relative-162: 162.5%;
|
|
|
564
565
|
$calcite-size-relative-200: 200%;
|
|
565
566
|
$calcite-size-relative-auto: auto;
|
|
566
567
|
$calcite-size-relative-normal: normal;
|
|
568
|
+
$calcite-size-rem-1: 1rem;
|
|
569
|
+
$calcite-size-rem-2: 2rem;
|
|
570
|
+
$calcite-size-rem-3: 3rem;
|
|
571
|
+
$calcite-size-rem-4: 4rem;
|
|
572
|
+
$calcite-size-rem-5: 5rem;
|
|
573
|
+
$calcite-size-rem-0-625: 0.625rem;
|
|
574
|
+
$calcite-size-rem-0-75: 0.75rem;
|
|
575
|
+
$calcite-size-rem-0-875: 0.875rem;
|
|
576
|
+
$calcite-size-rem-1-125: 1.125rem;
|
|
577
|
+
$calcite-size-rem-1-25: 1.25rem;
|
|
578
|
+
$calcite-size-rem-1-5: 1.5rem;
|
|
579
|
+
$calcite-size-rem-1-625: 1.625rem;
|
|
580
|
+
$calcite-size-rem-2-5: 2.5rem;
|
|
581
|
+
$calcite-size-rem-3-5: 3.5rem;
|
|
567
582
|
$calcite-z-index-0: -999999;
|
|
568
583
|
$calcite-z-index-1: 1;
|
|
569
584
|
$calcite-z-index-3: 300;
|
package/dist/scss/dark.scss
CHANGED
|
@@ -2,24 +2,36 @@
|
|
|
2
2
|
// Calcite Design System
|
|
3
3
|
// Do not edit directly, this file was auto-generated.
|
|
4
4
|
|
|
5
|
-
$calcite-color-
|
|
5
|
+
$calcite-color-surface-1: #212121;
|
|
6
|
+
$calcite-color-surface-2: #2b2b2b;
|
|
7
|
+
$calcite-color-surface-3: #363636;
|
|
8
|
+
$calcite-color-surface-4: #404040;
|
|
9
|
+
$calcite-color-surface-highlight: #2b465f;
|
|
10
|
+
$calcite-color-background: #212121; // Deprecated, use `--calcite-color-surface-1` instead
|
|
6
11
|
$calcite-color-background-none: rgba(255, 255, 255, 0);
|
|
7
|
-
$calcite-color-foreground-1: #2b2b2b;
|
|
8
|
-
$calcite-color-foreground-2: #
|
|
9
|
-
$calcite-color-foreground-3: #
|
|
12
|
+
$calcite-color-foreground-1: #2b2b2b; // Deprecated, use `--calcite-color-surface-2` instead
|
|
13
|
+
$calcite-color-foreground-2: #363636; // Deprecated, use `--calcite-color-surface-3` instead
|
|
14
|
+
$calcite-color-foreground-3: #404040; // Deprecated, use `--calcite-color-surface-4` instead
|
|
10
15
|
$calcite-color-foreground-current: #2b465f; // deprecated, use --calcite-color-surface-highlight instead
|
|
11
|
-
$calcite-color-
|
|
12
|
-
$calcite-color-
|
|
13
|
-
$calcite-color-
|
|
14
|
-
$calcite-color-
|
|
15
|
-
$calcite-color-
|
|
16
|
-
$calcite-color-
|
|
17
|
-
$calcite-color-
|
|
18
|
-
$calcite-color-
|
|
16
|
+
$calcite-color-text-1: #ffffff;
|
|
17
|
+
$calcite-color-text-2: #bfbfbf;
|
|
18
|
+
$calcite-color-text-3: #9e9e9e;
|
|
19
|
+
$calcite-color-text-inverse: #141414;
|
|
20
|
+
$calcite-color-text-link: #00a0ff;
|
|
21
|
+
$calcite-color-text-highlight: #d6efff;
|
|
22
|
+
$calcite-color-border-1: #545454;
|
|
23
|
+
$calcite-color-border-2: #4a4a4a;
|
|
24
|
+
$calcite-color-border-3: #404040;
|
|
25
|
+
$calcite-color-border-input: #757575;
|
|
26
|
+
$calcite-color-border-ghost: rgba(117, 117, 117, 0.3);
|
|
27
|
+
$calcite-color-border-white: #f7f7f7;
|
|
19
28
|
$calcite-color-brand: #009af2;
|
|
20
29
|
$calcite-color-brand-hover: #007ac2;
|
|
21
30
|
$calcite-color-brand-press: #00619b;
|
|
22
31
|
$calcite-color-brand-underline: rgba(0, 160, 255, 0.4);
|
|
32
|
+
$calcite-color-inverse: #f7f7f7;
|
|
33
|
+
$calcite-color-inverse-hover: #f2f2f2;
|
|
34
|
+
$calcite-color-inverse-press: #ebebeb;
|
|
23
35
|
$calcite-color-status-info: #00a0ff;
|
|
24
36
|
$calcite-color-status-info-hover: #3db8ff;
|
|
25
37
|
$calcite-color-status-info-press: #009af2;
|
|
@@ -32,19 +44,11 @@ $calcite-color-status-warning-press: #ff9500;
|
|
|
32
44
|
$calcite-color-status-danger: #fe583e;
|
|
33
45
|
$calcite-color-status-danger-hover: #ff0015;
|
|
34
46
|
$calcite-color-status-danger-press: #d90012;
|
|
35
|
-
$calcite-color-
|
|
36
|
-
$calcite-color-
|
|
37
|
-
$calcite-color-
|
|
38
|
-
$calcite-color-
|
|
39
|
-
$calcite-color-
|
|
40
|
-
$calcite-color-
|
|
41
|
-
$calcite-color-
|
|
42
|
-
$calcite-color-text-inverse: #141414;
|
|
43
|
-
$calcite-color-text-link: #00a0ff;
|
|
44
|
-
$calcite-color-border-1: #545454;
|
|
45
|
-
$calcite-color-border-2: #4a4a4a;
|
|
46
|
-
$calcite-color-border-3: #404040;
|
|
47
|
-
$calcite-color-border-input: #757575;
|
|
48
|
-
$calcite-color-border-ghost: rgba(117, 117, 117, 0.3);
|
|
49
|
-
$calcite-color-border-white: #f7f7f7;
|
|
47
|
+
$calcite-color-transparent: rgba(255, 255, 255, 0);
|
|
48
|
+
$calcite-color-transparent-hover: rgba(255, 255, 255, 0.12);
|
|
49
|
+
$calcite-color-transparent-press: rgba(255, 255, 255, 0.16);
|
|
50
|
+
$calcite-color-transparent-scrim: rgba(0, 0, 0, 0.85);
|
|
51
|
+
$calcite-color-transparent-tint: rgba(43, 43, 43, 0.8);
|
|
52
|
+
$calcite-color-transparent-inverse-hover: rgba(0, 0, 0, 0.04);
|
|
53
|
+
$calcite-color-transparent-inverse-press: rgba(0, 0, 0, 0.08);
|
|
50
54
|
$calcite-color-focus: $calcite-color-brand;
|
package/dist/scss/global.scss
CHANGED
|
@@ -17,7 +17,7 @@ $calcite-corner-radius-none: 0;
|
|
|
17
17
|
$calcite-corner-radius-xs: 2px;
|
|
18
18
|
$calcite-corner-radius-sm: 4px;
|
|
19
19
|
$calcite-corner-radius-round: 4px; // deprecated, use --calcite-corner-radius-sm instead
|
|
20
|
-
$calcite-corner-radius-pill:
|
|
20
|
+
$calcite-corner-radius-pill: 9999px;
|
|
21
21
|
$calcite-font-family: 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; // Primary font with fallbacks
|
|
22
22
|
$calcite-font-family-code: Monaco, Consolas, 'Andale Mono', 'Lucida Console', monospace; // Font family for code with fallbacks
|
|
23
23
|
$calcite-font-weight-light: 300; // For Avenir Next World (secondary font family)
|
|
@@ -32,7 +32,20 @@ $calcite-font-size: 14px;
|
|
|
32
32
|
$calcite-font-size-md: 16px;
|
|
33
33
|
$calcite-font-size-lg: 18px;
|
|
34
34
|
$calcite-font-size-xl: 20px;
|
|
35
|
-
$calcite-font-size-xxl: 24px;
|
|
35
|
+
$calcite-font-size-xxl: 24px; // Deprecated, use --calcite-font-size-2xl instead.
|
|
36
|
+
$calcite-font-size-2xl: 24px;
|
|
37
|
+
$calcite-font-size-relative-xs: 0.625rem;
|
|
38
|
+
$calcite-font-size-relative-sm: 0.75rem;
|
|
39
|
+
$calcite-font-size-relative-base: 0.875rem;
|
|
40
|
+
$calcite-font-size-relative-md: 1rem;
|
|
41
|
+
$calcite-font-size-relative-lg: 1.125rem;
|
|
42
|
+
$calcite-font-size-relative-xl: 1.25rem;
|
|
43
|
+
$calcite-font-size-relative-2xl: 1.625rem;
|
|
44
|
+
$calcite-font-size-relative-3xl: 2rem;
|
|
45
|
+
$calcite-font-size-relative-4xl: 2.5rem;
|
|
46
|
+
$calcite-font-size-relative-5xl: 3rem;
|
|
47
|
+
$calcite-font-size-relative-6xl: 3.5rem;
|
|
48
|
+
$calcite-font-size-relative-7xl: 4rem;
|
|
36
49
|
$calcite-font-style-emphasis: italic; // used in ratings
|
|
37
50
|
$calcite-font-line-height-fixed-sm: 12px;
|
|
38
51
|
$calcite-font-line-height-fixed-base: 16px;
|
|
@@ -50,6 +63,18 @@ $calcite-font-line-height-relative-snug: 1.375; // 1.375
|
|
|
50
63
|
$calcite-font-line-height-relative-normal: 1.5; // 1.5
|
|
51
64
|
$calcite-font-line-height-relative-relaxed: 1.625; // 1.625
|
|
52
65
|
$calcite-font-line-height-relative-loose: 2; // 2
|
|
66
|
+
$calcite-font-line-height-xs: 0.75rem;
|
|
67
|
+
$calcite-font-line-height-sm: 1rem;
|
|
68
|
+
$calcite-font-line-height-base: 1rem;
|
|
69
|
+
$calcite-font-line-height-md: 1.25rem;
|
|
70
|
+
$calcite-font-line-height-lg: 1.5rem;
|
|
71
|
+
$calcite-font-line-height-xl: 1.5rem;
|
|
72
|
+
$calcite-font-line-height-2xl: 2rem;
|
|
73
|
+
$calcite-font-line-height-3xl: 2.5rem;
|
|
74
|
+
$calcite-font-line-height-4xl: 3rem;
|
|
75
|
+
$calcite-font-line-height-5xl: 4rem;
|
|
76
|
+
$calcite-font-line-height-6xl: 4rem;
|
|
77
|
+
$calcite-font-line-height-7xl: 5rem;
|
|
53
78
|
$calcite-font-letter-spacing-tight: -0.4px; // Deprecated
|
|
54
79
|
$calcite-font-letter-spacing-normal: 0; // Deprecated
|
|
55
80
|
$calcite-font-letter-spacing-wide: 0.4px; // Deprecated
|
|
@@ -60,11 +85,11 @@ $calcite-font-text-case-none: none; // Deprecated
|
|
|
60
85
|
$calcite-font-text-case-uppercase: uppercase; // Deprecated
|
|
61
86
|
$calcite-font-text-case-lowercase: lowercase; // Deprecated
|
|
62
87
|
$calcite-font-text-case-capitalize: capitalize; // Deprecated
|
|
88
|
+
$calcite-opacity-disabled: 0.5;
|
|
63
89
|
$calcite-opacity-light: 0.4;
|
|
64
90
|
$calcite-opacity-half: 0.5;
|
|
65
91
|
$calcite-opacity-dark: 0.85;
|
|
66
92
|
$calcite-opacity-full: 1;
|
|
67
|
-
$calcite-opacity-disabled: 0.5;
|
|
68
93
|
$calcite-size-fixed-xxxs: 2px; // deprecated
|
|
69
94
|
$calcite-size-fixed-xxs: 4px; // deprecated
|
|
70
95
|
$calcite-size-fixed-xs: 6px; // deprecated
|
|
@@ -77,15 +102,20 @@ $calcite-size-fixed-xl: 20px; // deprecated
|
|
|
77
102
|
$calcite-size-fixed-xxl: 24px; // deprecated
|
|
78
103
|
$calcite-size-fixed-xxxl: 32px; // deprecated
|
|
79
104
|
$calcite-size-px: 1px;
|
|
80
|
-
$calcite-size-
|
|
81
|
-
$calcite-size-
|
|
105
|
+
$calcite-size-4xs: 0.625rem;
|
|
106
|
+
$calcite-size-xxxs: 0.75rem; // Deprecated, use --calcite-size-3xs instead.
|
|
107
|
+
$calcite-size-3xs: 0.75rem;
|
|
108
|
+
$calcite-size-xxs: 0.875rem; // Deprecated, use --calcite-size-2xs instead.
|
|
109
|
+
$calcite-size-2xs: 0.875rem;
|
|
82
110
|
$calcite-size-xs: 1rem;
|
|
83
111
|
$calcite-size-sm: 1.5rem;
|
|
84
112
|
$calcite-size-md: 2rem;
|
|
85
113
|
$calcite-size-lg: 2.75rem;
|
|
86
114
|
$calcite-size-xl: 3rem;
|
|
87
|
-
$calcite-size-xxl: 4rem;
|
|
88
|
-
$calcite-size-
|
|
115
|
+
$calcite-size-xxl: 4rem; // Deprecated, use --calcite-size-2xl instead.
|
|
116
|
+
$calcite-size-2xl: 4rem;
|
|
117
|
+
$calcite-size-xxxl: 6rem; // Deprecated, use --calcite-size-3xl instead.
|
|
118
|
+
$calcite-size-3xl: 6rem;
|
|
89
119
|
$calcite-spacing-fixed-xxs: 4px; // deprecated
|
|
90
120
|
$calcite-spacing-fixed-xs: 6px; // deprecated
|
|
91
121
|
$calcite-spacing-fixed-sm: 8px; // deprecated
|
|
@@ -94,19 +124,33 @@ $calcite-spacing-fixed-lg: 14px; // deprecated
|
|
|
94
124
|
$calcite-spacing-fixed-xl: 16px; // deprecated
|
|
95
125
|
$calcite-spacing-fixed-xxl: 20px; // deprecated
|
|
96
126
|
$calcite-spacing-fixed-xxxl: 32px; // deprecated
|
|
97
|
-
$calcite-spacing-none: 0;
|
|
98
|
-
$calcite-spacing-px: 1px;
|
|
99
|
-
$calcite-spacing-base: 2px;
|
|
100
|
-
$calcite-spacing-xxs: 0.25rem;
|
|
101
|
-
$calcite-spacing-xs: 0.375rem;
|
|
102
|
-
$calcite-spacing-sm: 0.5rem;
|
|
103
|
-
$calcite-spacing-sm-plus: 0.625rem;
|
|
104
|
-
$calcite-spacing-md: 0.75rem;
|
|
105
|
-
$calcite-spacing-md-plus: 0.875rem;
|
|
106
|
-
$calcite-spacing-lg: 1rem;
|
|
107
|
-
$calcite-spacing-xl: 1.25rem;
|
|
108
|
-
$calcite-spacing-xxl: 1.5rem;
|
|
109
|
-
$calcite-spacing-xxxl: 2rem;
|
|
127
|
+
$calcite-spacing-none: 0; // deprecated, use `--calcite-space-none` instead
|
|
128
|
+
$calcite-spacing-px: 1px; // deprecated, use `--calcite-space-px` instead
|
|
129
|
+
$calcite-spacing-base: 2px; // deprecated, use `--calcite-space-base` instead
|
|
130
|
+
$calcite-spacing-xxs: 0.25rem; // deprecated, use `--calcite-space-2xs` instead
|
|
131
|
+
$calcite-spacing-xs: 0.375rem; // deprecated, use `--calcite-space-xs` instead
|
|
132
|
+
$calcite-spacing-sm: 0.5rem; // deprecated, use `--calcite-space-sm` instead
|
|
133
|
+
$calcite-spacing-sm-plus: 0.625rem; // deprecated, use `--calcite-space-sm-plus` instead
|
|
134
|
+
$calcite-spacing-md: 0.75rem; // deprecated, use `--calcite-space-md` instead
|
|
135
|
+
$calcite-spacing-md-plus: 0.875rem; // deprecated, use `--calcite-space-md-plus` instead
|
|
136
|
+
$calcite-spacing-lg: 1rem; // deprecated, use `--calcite-space-lg` instead
|
|
137
|
+
$calcite-spacing-xl: 1.25rem; // deprecated, use `--calcite-space-xl` instead
|
|
138
|
+
$calcite-spacing-xxl: 1.5rem; // deprecated, use `--calcite-space-2xl` instead
|
|
139
|
+
$calcite-spacing-xxxl: 2rem; // deprecated, use `--calcite-space-3xl` instead
|
|
140
|
+
$calcite-space-none: 0;
|
|
141
|
+
$calcite-space-px: 1px;
|
|
142
|
+
$calcite-space-base: 2px;
|
|
143
|
+
$calcite-space-2xs: 0.25rem;
|
|
144
|
+
$calcite-space-xs: 0.375rem;
|
|
145
|
+
$calcite-space-sm: 0.5rem;
|
|
146
|
+
$calcite-space-sm-plus: 0.625rem;
|
|
147
|
+
$calcite-space-md: 0.75rem;
|
|
148
|
+
$calcite-space-md-plus: 0.875rem;
|
|
149
|
+
$calcite-space-lg: 1rem;
|
|
150
|
+
$calcite-space-xl: 1.25rem;
|
|
151
|
+
$calcite-space-2xl: 1.5rem;
|
|
152
|
+
$calcite-space-3xl: 2rem;
|
|
153
|
+
$calcite-space-4xl: 2.75rem;
|
|
110
154
|
$calcite-z-index-deep: -999999;
|
|
111
155
|
$calcite-z-index: 1;
|
|
112
156
|
$calcite-z-index-sticky: 300;
|
package/dist/scss/index.scss
CHANGED
|
@@ -7,68 +7,65 @@
|
|
|
7
7
|
@use "./breakpoints.scss";
|
|
8
8
|
@use "./mixins.scss";
|
|
9
9
|
@mixin calcite-mode-light {
|
|
10
|
-
--calcite-color-
|
|
11
|
-
--calcite-color-
|
|
12
|
-
--calcite-color-
|
|
13
|
-
--calcite-color-
|
|
14
|
-
--calcite-color-
|
|
15
|
-
--calcite-color-
|
|
16
|
-
--calcite-color-
|
|
17
|
-
--calcite-color-text-inverse: #ffffff;
|
|
18
|
-
--calcite-color-text-highlight: #004874;
|
|
19
|
-
--calcite-color-text-3: #6b6b6b;
|
|
20
|
-
--calcite-color-text-2: #4a4a4a;
|
|
21
|
-
--calcite-color-text-1: #141414;
|
|
22
|
-
--calcite-color-inverse-press: #212121;
|
|
23
|
-
--calcite-color-inverse-hover: #2b2b2b;
|
|
24
|
-
--calcite-color-inverse: #363636;
|
|
10
|
+
--calcite-color-transparent-inverse-press: rgba(255, 255, 255, 0.16);
|
|
11
|
+
--calcite-color-transparent-inverse-hover: rgba(255, 255, 255, 0.12);
|
|
12
|
+
--calcite-color-transparent-tint: rgba(255, 255, 255, 0.8);
|
|
13
|
+
--calcite-color-transparent-scrim: rgba(255, 255, 255, 0.85);
|
|
14
|
+
--calcite-color-transparent-press: rgba(0, 0, 0, 0.08);
|
|
15
|
+
--calcite-color-transparent-hover: rgba(0, 0, 0, 0.04);
|
|
16
|
+
--calcite-color-transparent: rgba(0, 0, 0, 0);
|
|
25
17
|
--calcite-color-status-danger-press: #7c1d13;
|
|
26
18
|
--calcite-color-status-danger-hover: #a82b1e;
|
|
27
19
|
--calcite-color-status-danger: #d83020;
|
|
28
20
|
--calcite-color-status-warning-press: #9a5b10;
|
|
29
|
-
--calcite-color-status-warning-hover: #
|
|
30
|
-
--calcite-color-status-warning: #
|
|
31
|
-
--calcite-color-status-success-press: #
|
|
32
|
-
--calcite-color-status-success-hover: #
|
|
33
|
-
--calcite-color-status-success: #
|
|
21
|
+
--calcite-color-status-warning-hover: #c26b00;
|
|
22
|
+
--calcite-color-status-warning: #da7c0b;
|
|
23
|
+
--calcite-color-status-success-press: #0d3f14;
|
|
24
|
+
--calcite-color-status-success-hover: #1a6324;
|
|
25
|
+
--calcite-color-status-success: #288835;
|
|
34
26
|
--calcite-color-status-info-press: #00304d;
|
|
35
27
|
--calcite-color-status-info-hover: #004874;
|
|
36
28
|
--calcite-color-status-info: #00619b;
|
|
29
|
+
--calcite-color-inverse-press: #212121;
|
|
30
|
+
--calcite-color-inverse-hover: #2b2b2b;
|
|
31
|
+
--calcite-color-inverse: #363636;
|
|
37
32
|
--calcite-color-brand-underline: rgba(0, 97, 155, 0.4);
|
|
38
33
|
--calcite-color-brand-press: #004874;
|
|
39
34
|
--calcite-color-brand-hover: #00619b;
|
|
40
35
|
--calcite-color-brand: #007ac2;
|
|
41
|
-
--calcite-color-
|
|
42
|
-
--calcite-color-
|
|
43
|
-
--calcite-color-
|
|
44
|
-
--calcite-color-
|
|
45
|
-
--calcite-color-
|
|
46
|
-
--calcite-color-
|
|
47
|
-
--calcite-color-
|
|
48
|
-
--calcite-color-
|
|
36
|
+
--calcite-color-border-white: #ffffff;
|
|
37
|
+
--calcite-color-border-ghost: rgba(0, 0, 0, 0.3);
|
|
38
|
+
--calcite-color-border-input: #949494;
|
|
39
|
+
--calcite-color-border-3: #ebebeb;
|
|
40
|
+
--calcite-color-border-2: #dedede;
|
|
41
|
+
--calcite-color-border-1: #d4d4d4;
|
|
42
|
+
--calcite-color-text-highlight: #004874;
|
|
43
|
+
--calcite-color-text-link: #00619b;
|
|
44
|
+
--calcite-color-text-inverse: #ffffff;
|
|
45
|
+
--calcite-color-text-3: #6b6b6b;
|
|
46
|
+
--calcite-color-text-2: #4a4a4a;
|
|
47
|
+
--calcite-color-text-1: #141414;
|
|
49
48
|
--calcite-color-foreground-current: #d6efff; /** deprecated, use --calcite-color-surface-highlight instead */
|
|
50
|
-
--calcite-color-foreground-3: #ebebeb;
|
|
51
|
-
--calcite-color-foreground-2: #f2f2f2;
|
|
52
|
-
--calcite-color-foreground-1: #ffffff;
|
|
49
|
+
--calcite-color-foreground-3: #ebebeb; /** Deprecated, use `--calcite-color-surface-4` instead */
|
|
50
|
+
--calcite-color-foreground-2: #f2f2f2; /** Deprecated, use `--calcite-color-surface-3` instead */
|
|
51
|
+
--calcite-color-foreground-1: #ffffff; /** Deprecated, use `--calcite-color-surface-2` instead */
|
|
53
52
|
--calcite-color-background-none: rgba(255, 255, 255, 0);
|
|
54
|
-
--calcite-color-background: #f7f7f7;
|
|
53
|
+
--calcite-color-background: #f7f7f7; /** Deprecated, use `--calcite-color-surface-1` instead */
|
|
54
|
+
--calcite-color-surface-highlight: #d6efff;
|
|
55
|
+
--calcite-color-surface-4: #ebebeb;
|
|
56
|
+
--calcite-color-surface-3: #f2f2f2;
|
|
57
|
+
--calcite-color-surface-2: #ffffff;
|
|
58
|
+
--calcite-color-surface-1: #f7f7f7;
|
|
59
|
+
--calcite-color-focus: var(--calcite-color-brand);
|
|
55
60
|
}
|
|
56
61
|
@mixin calcite-mode-dark {
|
|
57
|
-
--calcite-color-
|
|
58
|
-
--calcite-color-
|
|
59
|
-
--calcite-color-
|
|
60
|
-
--calcite-color-
|
|
61
|
-
--calcite-color-
|
|
62
|
-
--calcite-color-
|
|
63
|
-
--calcite-color-
|
|
64
|
-
--calcite-color-text-inverse: #141414;
|
|
65
|
-
--calcite-color-text-highlight: #d6efff;
|
|
66
|
-
--calcite-color-text-3: #9e9e9e;
|
|
67
|
-
--calcite-color-text-2: #bfbfbf;
|
|
68
|
-
--calcite-color-text-1: #ffffff;
|
|
69
|
-
--calcite-color-inverse-press: #f2f2f2;
|
|
70
|
-
--calcite-color-inverse-hover: #ffffff;
|
|
71
|
-
--calcite-color-inverse: #f7f7f7;
|
|
62
|
+
--calcite-color-transparent-inverse-press: rgba(0, 0, 0, 0.08);
|
|
63
|
+
--calcite-color-transparent-inverse-hover: rgba(0, 0, 0, 0.04);
|
|
64
|
+
--calcite-color-transparent-tint: rgba(43, 43, 43, 0.8);
|
|
65
|
+
--calcite-color-transparent-scrim: rgba(0, 0, 0, 0.85);
|
|
66
|
+
--calcite-color-transparent-press: rgba(255, 255, 255, 0.16);
|
|
67
|
+
--calcite-color-transparent-hover: rgba(255, 255, 255, 0.12);
|
|
68
|
+
--calcite-color-transparent: rgba(255, 255, 255, 0);
|
|
72
69
|
--calcite-color-status-danger-press: #d90012;
|
|
73
70
|
--calcite-color-status-danger-hover: #ff0015;
|
|
74
71
|
--calcite-color-status-danger: #fe583e;
|
|
@@ -81,22 +78,35 @@
|
|
|
81
78
|
--calcite-color-status-info-press: #009af2;
|
|
82
79
|
--calcite-color-status-info-hover: #3db8ff;
|
|
83
80
|
--calcite-color-status-info: #00a0ff;
|
|
81
|
+
--calcite-color-inverse-press: #ebebeb;
|
|
82
|
+
--calcite-color-inverse-hover: #f2f2f2;
|
|
83
|
+
--calcite-color-inverse: #f7f7f7;
|
|
84
84
|
--calcite-color-brand-underline: rgba(0, 160, 255, 0.4);
|
|
85
85
|
--calcite-color-brand-press: #00619b;
|
|
86
86
|
--calcite-color-brand-hover: #007ac2;
|
|
87
87
|
--calcite-color-brand: #009af2;
|
|
88
|
-
--calcite-color-
|
|
89
|
-
--calcite-color-
|
|
90
|
-
--calcite-color-
|
|
91
|
-
--calcite-color-
|
|
92
|
-
--calcite-color-
|
|
93
|
-
--calcite-color-
|
|
94
|
-
--calcite-color-
|
|
95
|
-
--calcite-color-
|
|
88
|
+
--calcite-color-border-white: #f7f7f7;
|
|
89
|
+
--calcite-color-border-ghost: rgba(117, 117, 117, 0.3);
|
|
90
|
+
--calcite-color-border-input: #757575;
|
|
91
|
+
--calcite-color-border-3: #404040;
|
|
92
|
+
--calcite-color-border-2: #4a4a4a;
|
|
93
|
+
--calcite-color-border-1: #545454;
|
|
94
|
+
--calcite-color-text-highlight: #d6efff;
|
|
95
|
+
--calcite-color-text-link: #00a0ff;
|
|
96
|
+
--calcite-color-text-inverse: #141414;
|
|
97
|
+
--calcite-color-text-3: #9e9e9e;
|
|
98
|
+
--calcite-color-text-2: #bfbfbf;
|
|
99
|
+
--calcite-color-text-1: #ffffff;
|
|
96
100
|
--calcite-color-foreground-current: #2b465f; /** deprecated, use --calcite-color-surface-highlight instead */
|
|
97
|
-
--calcite-color-foreground-3: #
|
|
98
|
-
--calcite-color-foreground-2: #
|
|
99
|
-
--calcite-color-foreground-1: #2b2b2b;
|
|
101
|
+
--calcite-color-foreground-3: #404040; /** Deprecated, use `--calcite-color-surface-4` instead */
|
|
102
|
+
--calcite-color-foreground-2: #363636; /** Deprecated, use `--calcite-color-surface-3` instead */
|
|
103
|
+
--calcite-color-foreground-1: #2b2b2b; /** Deprecated, use `--calcite-color-surface-2` instead */
|
|
100
104
|
--calcite-color-background-none: rgba(255, 255, 255, 0);
|
|
101
|
-
--calcite-color-background: #
|
|
105
|
+
--calcite-color-background: #212121; /** Deprecated, use `--calcite-color-surface-1` instead */
|
|
106
|
+
--calcite-color-surface-highlight: #2b465f;
|
|
107
|
+
--calcite-color-surface-4: #404040;
|
|
108
|
+
--calcite-color-surface-3: #363636;
|
|
109
|
+
--calcite-color-surface-2: #2b2b2b;
|
|
110
|
+
--calcite-color-surface-1: #212121;
|
|
111
|
+
--calcite-color-focus: var(--calcite-color-brand);
|
|
102
112
|
}
|