@instructure/ui-themes 11.7.4-snapshot-53 → 11.7.4-snapshot-80
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/CHANGELOG.md +1 -1
- package/es/themes/newThemeTokens/dark/components/grid.js +4 -4
- package/es/themes/newThemeTokens/dark/components/gridCol.js +3 -3
- package/es/themes/newThemeTokens/dark/components/gridRow.js +3 -3
- package/es/themes/newThemeTokens/dark/components/mask.js +2 -1
- package/es/themes/newThemeTokens/dark/components/modal.js +2 -1
- package/es/themes/newThemeTokens/dark/semantics.js +13 -19
- package/es/themes/newThemeTokens/dark/sharedTokens.js +6 -0
- package/es/themes/newThemeTokens/legacyCanvas/components/baseButton.js +126 -28
- package/es/themes/newThemeTokens/legacyCanvas/components/grid.js +4 -4
- package/es/themes/newThemeTokens/legacyCanvas/components/gridCol.js +3 -3
- package/es/themes/newThemeTokens/legacyCanvas/components/gridRow.js +3 -3
- package/es/themes/newThemeTokens/legacyCanvas/components/icon.js +8 -8
- package/es/themes/newThemeTokens/legacyCanvas/components/mask.js +2 -1
- package/es/themes/newThemeTokens/legacyCanvas/components/modal.js +2 -1
- package/es/themes/newThemeTokens/legacyCanvas/semantics.js +9 -15
- package/es/themes/newThemeTokens/legacyCanvas/sharedTokens.js +6 -0
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/baseButton.js +126 -28
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/grid.js +4 -4
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/gridCol.js +3 -3
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/gridRow.js +3 -3
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/icon.js +8 -8
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/mask.js +2 -1
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/modal.js +2 -1
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/semantics.js +10 -16
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/sharedTokens.js +6 -0
- package/es/themes/newThemeTokens/light/components/grid.js +4 -4
- package/es/themes/newThemeTokens/light/components/gridCol.js +3 -3
- package/es/themes/newThemeTokens/light/components/gridRow.js +3 -3
- package/es/themes/newThemeTokens/light/components/mask.js +2 -1
- package/es/themes/newThemeTokens/light/components/modal.js +2 -1
- package/es/themes/newThemeTokens/light/semantics.js +13 -19
- package/es/themes/newThemeTokens/light/sharedTokens.js +6 -0
- package/lib/themes/newThemeTokens/dark/components/grid.js +4 -4
- package/lib/themes/newThemeTokens/dark/components/gridCol.js +3 -3
- package/lib/themes/newThemeTokens/dark/components/gridRow.js +3 -3
- package/lib/themes/newThemeTokens/dark/components/mask.js +2 -1
- package/lib/themes/newThemeTokens/dark/components/modal.js +2 -1
- package/lib/themes/newThemeTokens/dark/semantics.js +13 -19
- package/lib/themes/newThemeTokens/dark/sharedTokens.js +6 -0
- package/lib/themes/newThemeTokens/legacyCanvas/components/baseButton.js +126 -28
- package/lib/themes/newThemeTokens/legacyCanvas/components/grid.js +4 -4
- package/lib/themes/newThemeTokens/legacyCanvas/components/gridCol.js +3 -3
- package/lib/themes/newThemeTokens/legacyCanvas/components/gridRow.js +3 -3
- package/lib/themes/newThemeTokens/legacyCanvas/components/icon.js +8 -8
- package/lib/themes/newThemeTokens/legacyCanvas/components/mask.js +2 -1
- package/lib/themes/newThemeTokens/legacyCanvas/components/modal.js +2 -1
- package/lib/themes/newThemeTokens/legacyCanvas/semantics.js +9 -15
- package/lib/themes/newThemeTokens/legacyCanvas/sharedTokens.js +6 -0
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/baseButton.js +126 -28
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/grid.js +4 -4
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/gridCol.js +3 -3
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/gridRow.js +3 -3
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/icon.js +8 -8
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/mask.js +2 -1
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/modal.js +2 -1
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/semantics.js +10 -16
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/sharedTokens.js +6 -0
- package/lib/themes/newThemeTokens/light/components/grid.js +4 -4
- package/lib/themes/newThemeTokens/light/components/gridCol.js +3 -3
- package/lib/themes/newThemeTokens/light/components/gridRow.js +3 -3
- package/lib/themes/newThemeTokens/light/components/mask.js +2 -1
- package/lib/themes/newThemeTokens/light/components/modal.js +2 -1
- package/lib/themes/newThemeTokens/light/semantics.js +13 -19
- package/lib/themes/newThemeTokens/light/sharedTokens.js +6 -0
- package/package.json +7 -7
- package/src/themes/newThemeTokens/commonTypes.ts +11 -0
- package/src/themes/newThemeTokens/componentTypes/mask.ts +1 -1
- package/src/themes/newThemeTokens/componentTypes/modal.ts +1 -0
- package/src/themes/newThemeTokens/dark/components/grid.ts +1 -7
- package/src/themes/newThemeTokens/dark/components/gridCol.ts +3 -3
- package/src/themes/newThemeTokens/dark/components/gridRow.ts +3 -3
- package/src/themes/newThemeTokens/dark/components/mask.ts +1 -1
- package/src/themes/newThemeTokens/dark/components/modal.ts +1 -0
- package/src/themes/newThemeTokens/dark/semantics.ts +16 -30
- package/src/themes/newThemeTokens/dark/sharedTokens.ts +6 -0
- package/src/themes/newThemeTokens/legacyCanvas/components/baseButton.ts +70 -28
- package/src/themes/newThemeTokens/legacyCanvas/components/grid.ts +1 -7
- package/src/themes/newThemeTokens/legacyCanvas/components/gridCol.ts +3 -3
- package/src/themes/newThemeTokens/legacyCanvas/components/gridRow.ts +3 -3
- package/src/themes/newThemeTokens/legacyCanvas/components/icon.ts +8 -8
- package/src/themes/newThemeTokens/legacyCanvas/components/mask.ts +1 -1
- package/src/themes/newThemeTokens/legacyCanvas/components/modal.ts +1 -0
- package/src/themes/newThemeTokens/legacyCanvas/semantics.ts +8 -25
- package/src/themes/newThemeTokens/legacyCanvas/sharedTokens.ts +6 -0
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/baseButton.ts +70 -28
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/grid.ts +1 -7
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/gridCol.ts +3 -3
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/gridRow.ts +3 -3
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/icon.ts +8 -8
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/mask.ts +1 -1
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/modal.ts +1 -0
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/semantics.ts +10 -27
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/sharedTokens.ts +6 -0
- package/src/themes/newThemeTokens/light/components/grid.ts +1 -7
- package/src/themes/newThemeTokens/light/components/gridCol.ts +3 -3
- package/src/themes/newThemeTokens/light/components/gridRow.ts +3 -3
- package/src/themes/newThemeTokens/light/components/mask.ts +1 -1
- package/src/themes/newThemeTokens/light/components/modal.ts +1 -0
- package/src/themes/newThemeTokens/light/semantics.ts +16 -30
- package/src/themes/newThemeTokens/light/sharedTokens.ts +6 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/themes/newThemeTokens/commonTypes.d.ts +11 -0
- package/types/themes/newThemeTokens/commonTypes.d.ts.map +1 -1
- package/types/themes/newThemeTokens/componentTypes/mask.d.ts +1 -0
- package/types/themes/newThemeTokens/componentTypes/mask.d.ts.map +1 -1
- package/types/themes/newThemeTokens/componentTypes/modal.d.ts +1 -0
- package/types/themes/newThemeTokens/componentTypes/modal.d.ts.map +1 -1
- package/types/themes/newThemeTokens/dark/components/grid.d.ts +1 -2
- package/types/themes/newThemeTokens/dark/components/grid.d.ts.map +1 -1
- package/types/themes/newThemeTokens/dark/components/mask.d.ts +1 -0
- package/types/themes/newThemeTokens/dark/components/mask.d.ts.map +1 -1
- package/types/themes/newThemeTokens/dark/components/modal.d.ts +1 -0
- package/types/themes/newThemeTokens/dark/components/modal.d.ts.map +1 -1
- package/types/themes/newThemeTokens/dark/semantics.d.ts +13 -19
- package/types/themes/newThemeTokens/dark/semantics.d.ts.map +1 -1
- package/types/themes/newThemeTokens/dark/sharedTokens.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvas/components/baseButton.d.ts +117 -19
- package/types/themes/newThemeTokens/legacyCanvas/components/baseButton.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvas/components/grid.d.ts +1 -2
- package/types/themes/newThemeTokens/legacyCanvas/components/grid.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvas/components/mask.d.ts +1 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/mask.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvas/components/modal.d.ts +1 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/modal.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvas/semantics.d.ts +9 -15
- package/types/themes/newThemeTokens/legacyCanvas/semantics.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvas/sharedTokens.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/baseButton.d.ts +117 -19
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/baseButton.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/grid.d.ts +1 -2
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/grid.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mask.d.ts +1 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mask.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/modal.d.ts +1 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/modal.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/semantics.d.ts +10 -16
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/semantics.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/sharedTokens.d.ts.map +1 -1
- package/types/themes/newThemeTokens/light/components/grid.d.ts +1 -2
- package/types/themes/newThemeTokens/light/components/grid.d.ts.map +1 -1
- package/types/themes/newThemeTokens/light/components/mask.d.ts +1 -0
- package/types/themes/newThemeTokens/light/components/mask.d.ts.map +1 -1
- package/types/themes/newThemeTokens/light/components/modal.d.ts +1 -0
- package/types/themes/newThemeTokens/light/components/modal.d.ts.map +1 -1
- package/types/themes/newThemeTokens/light/semantics.d.ts +13 -19
- package/types/themes/newThemeTokens/light/semantics.d.ts.map +1 -1
- package/types/themes/newThemeTokens/light/sharedTokens.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [11.7.4-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-80](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-80) (2026-07-07)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-themes
|
|
9
9
|
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
const grid =
|
|
26
|
-
mediumMin:
|
|
27
|
-
largeMin:
|
|
28
|
-
xLargeMin:
|
|
25
|
+
const grid = () => ({
|
|
26
|
+
mediumMin: "48em",
|
|
27
|
+
largeMin: "62em",
|
|
28
|
+
xLargeMin: "75em"
|
|
29
29
|
});
|
|
30
30
|
export default grid;
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
const gridCol = semantic => ({
|
|
26
|
-
mediumMin:
|
|
27
|
-
largeMin:
|
|
28
|
-
xLargeMin:
|
|
26
|
+
mediumMin: "48em",
|
|
27
|
+
largeMin: "62em",
|
|
28
|
+
xLargeMin: "75em",
|
|
29
29
|
spacingLarge: "2.25rem",
|
|
30
30
|
spacingMedium: semantic.spacing.spaceXl,
|
|
31
31
|
spacingSmall: semantic.spacing.spaceMd
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
const gridRow = semantic => ({
|
|
26
|
-
mediumMin:
|
|
27
|
-
largeMin:
|
|
28
|
-
xLargeMin:
|
|
26
|
+
mediumMin: "48em",
|
|
27
|
+
largeMin: "62em",
|
|
28
|
+
xLargeMin: "75em",
|
|
29
29
|
spacingLarge: "2.25rem",
|
|
30
30
|
spacingMedium: semantic.spacing.spaceXl,
|
|
31
31
|
spacingSmall: semantic.spacing.spaceMd
|
|
@@ -50,7 +50,7 @@ const semantics = primitives => ({
|
|
|
50
50
|
"interactive": {
|
|
51
51
|
"input": {
|
|
52
52
|
"base": primitives.color.grey.grey190,
|
|
53
|
-
"hover": primitives.color.grey.
|
|
53
|
+
"hover": primitives.color.grey.grey190,
|
|
54
54
|
"readonly": primitives.color.grey.grey100,
|
|
55
55
|
"disabled": primitives.color.grey.grey150,
|
|
56
56
|
"selected": primitives.color.white
|
|
@@ -375,8 +375,8 @@ const semantics = primitives => ({
|
|
|
375
375
|
"onColor": primitives.color.white
|
|
376
376
|
},
|
|
377
377
|
"input": {
|
|
378
|
-
"base": primitives.color.grey.
|
|
379
|
-
"hover": primitives.color.grey.
|
|
378
|
+
"base": primitives.color.grey.grey110,
|
|
379
|
+
"hover": primitives.color.grey.grey80,
|
|
380
380
|
"readonly": primitives.color.grey.grey70,
|
|
381
381
|
"disabled": primitives.color.grey.grey130,
|
|
382
382
|
"selected": primitives.color.white
|
|
@@ -489,9 +489,9 @@ const semantics = primitives => ({
|
|
|
489
489
|
},
|
|
490
490
|
"input": {
|
|
491
491
|
"base": primitives.color.white,
|
|
492
|
-
"hover": primitives.color.grey.
|
|
492
|
+
"hover": primitives.color.grey.grey60,
|
|
493
493
|
"readonly": primitives.color.white,
|
|
494
|
-
"placeholder": primitives.color.grey.
|
|
494
|
+
"placeholder": primitives.color.grey.grey80,
|
|
495
495
|
"disabled": primitives.color.grey.grey60
|
|
496
496
|
},
|
|
497
497
|
"navigation": {
|
|
@@ -709,6 +709,8 @@ const semantics = primitives => ({
|
|
|
709
709
|
"linkColor": primitives.color.blue.blue50,
|
|
710
710
|
"brandButtonPrimaryBgd": primitives.color.navy.navy10,
|
|
711
711
|
"brandButtonPrimaryText": primitives.color.navy.navy170,
|
|
712
|
+
"brandButtonSecondaryBgd": primitives.color.navy.navy130,
|
|
713
|
+
"brandButtonSecondaryText": primitives.color.white,
|
|
712
714
|
"brandGlobalNavBgd": primitives.color.grey.grey170,
|
|
713
715
|
"globalNavLinkHover": primitives.color.grey.grey170,
|
|
714
716
|
"brandGlobalNavMenuItemTextColor": primitives.color.white,
|
|
@@ -805,22 +807,14 @@ const semantics = primitives => ({
|
|
|
805
807
|
"md": primitives.size.size24,
|
|
806
808
|
"lg": primitives.size.size24
|
|
807
809
|
}
|
|
808
|
-
},
|
|
809
|
-
"breakpoints": {
|
|
810
|
-
"xxs": "8em",
|
|
811
|
-
"xs": "16em",
|
|
812
|
-
"sm": "30em",
|
|
813
|
-
"md": "48em",
|
|
814
|
-
"lg": "62em",
|
|
815
|
-
"desktop": "64em",
|
|
816
|
-
"xl": "75em"
|
|
817
|
-
},
|
|
818
|
-
"media": {
|
|
819
|
-
"mediumMin": "48em",
|
|
820
|
-
"largeMin": "62em",
|
|
821
|
-
"xLargeMin": "75em"
|
|
822
810
|
}
|
|
823
811
|
},
|
|
812
|
+
"breakpoints": {
|
|
813
|
+
"sm": "30em",
|
|
814
|
+
"md": "48em",
|
|
815
|
+
"lg": "64em",
|
|
816
|
+
"xl": "80em"
|
|
817
|
+
},
|
|
824
818
|
"spacing": {
|
|
825
819
|
"space2xs": primitives.size.size2,
|
|
826
820
|
"spaceXs": primitives.size.size4,
|
|
@@ -23,6 +23,12 @@
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
const sharedTokens = semantic => ({
|
|
26
|
+
breakpoints: {
|
|
27
|
+
sm: semantic.breakpoints.sm,
|
|
28
|
+
md: semantic.breakpoints.md,
|
|
29
|
+
lg: semantic.breakpoints.lg,
|
|
30
|
+
xl: semantic.breakpoints.xl
|
|
31
|
+
},
|
|
26
32
|
borderRadius: {
|
|
27
33
|
xs: semantic.borderRadius.xs,
|
|
28
34
|
sm: semantic.borderRadius.sm,
|
|
@@ -24,8 +24,6 @@
|
|
|
24
24
|
|
|
25
25
|
const baseButton = semantic => ({
|
|
26
26
|
primaryBackground: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
27
|
-
primaryColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
28
|
-
primaryBorderColor: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
29
27
|
primaryHoverBackground: {
|
|
30
28
|
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
31
29
|
modify: {
|
|
@@ -34,18 +32,69 @@ const baseButton = semantic => ({
|
|
|
34
32
|
space: "hsl"
|
|
35
33
|
}
|
|
36
34
|
},
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
35
|
+
primaryActiveBackground: {
|
|
36
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
37
|
+
modify: {
|
|
38
|
+
type: "darken",
|
|
39
|
+
value: 0.1,
|
|
40
|
+
space: "hsl"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
primaryDisabledBackgroundColor: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
44
|
+
primaryBorderColor: {
|
|
45
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
46
|
+
modify: {
|
|
47
|
+
type: "darken",
|
|
48
|
+
value: 0.1,
|
|
49
|
+
space: "hsl"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
primaryHoverBorderColor: {
|
|
53
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
54
|
+
modify: {
|
|
55
|
+
type: "darken",
|
|
56
|
+
value: 0.1,
|
|
57
|
+
space: "hsl"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
primaryActiveBorderColor: {
|
|
61
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
62
|
+
modify: {
|
|
63
|
+
type: "darken",
|
|
64
|
+
value: 0.1,
|
|
65
|
+
space: "hsl"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
primaryDisabledBorderColor: {
|
|
69
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
70
|
+
modify: {
|
|
71
|
+
type: "darken",
|
|
72
|
+
value: 0.1,
|
|
73
|
+
space: "hsl"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
primaryColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
77
|
+
primaryHoverTextColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
78
|
+
primaryActiveTextColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
79
|
+
primaryDisabledTextColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
47
80
|
primaryGhostColor: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
48
|
-
primaryGhostHoverBackground:
|
|
81
|
+
primaryGhostHoverBackground: {
|
|
82
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
83
|
+
modify: {
|
|
84
|
+
type: "alpha",
|
|
85
|
+
value: 0.1,
|
|
86
|
+
space: "hsl"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
primaryGhostActiveBackground: semantic.color.transparentColor,
|
|
90
|
+
primaryGhostBorderColor: {
|
|
91
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
92
|
+
modify: {
|
|
93
|
+
type: "darken",
|
|
94
|
+
value: 0.1,
|
|
95
|
+
space: "hsl"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
49
98
|
primaryInverseActiveBackground: semantic.color.background.interactive.action.primaryOnColor.active,
|
|
50
99
|
primaryInverseBackground: semantic.color.background.interactive.action.primaryOnColor.base,
|
|
51
100
|
primaryInverseBorderColor: semantic.color.stroke.interactive.action.primaryOnColor.base,
|
|
@@ -62,21 +111,70 @@ const baseButton = semantic => ({
|
|
|
62
111
|
primaryOnColorDisabledTextColor: semantic.color.text.interactive.action.primaryOnColor.disabled,
|
|
63
112
|
primaryOnColorHoverBorderColor: semantic.color.stroke.interactive.action.primaryOnColor.hover,
|
|
64
113
|
primaryOnColorHoverTextColor: semantic.color.text.interactive.action.primaryOnColor.hover,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
114
|
+
secondaryBackground: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
115
|
+
secondaryColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
116
|
+
secondaryBorderColor: {
|
|
117
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
118
|
+
modify: {
|
|
119
|
+
type: "darken",
|
|
120
|
+
value: 0.1,
|
|
121
|
+
space: "hsl"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
secondaryHoverBackground: {
|
|
125
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
126
|
+
modify: {
|
|
127
|
+
type: "darken",
|
|
128
|
+
value: 0.1,
|
|
129
|
+
space: "hsl"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
secondaryHoverTextColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
133
|
+
secondaryHoverBorderColor: {
|
|
134
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
135
|
+
modify: {
|
|
136
|
+
type: "darken",
|
|
137
|
+
value: 0.2,
|
|
138
|
+
space: "hsl"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
secondaryActiveBackground: {
|
|
142
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
143
|
+
modify: {
|
|
144
|
+
type: "darken",
|
|
145
|
+
value: 0.1,
|
|
146
|
+
space: "hsl"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
secondaryActiveTextColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
150
|
+
secondaryActiveBorderColor: {
|
|
151
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
152
|
+
modify: {
|
|
153
|
+
type: "darken",
|
|
154
|
+
value: 0.2,
|
|
155
|
+
space: "hsl"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
secondaryDisabledBackgroundColor: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
159
|
+
secondaryDisabledTextColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
160
|
+
secondaryDisabledBorderColor: {
|
|
161
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
162
|
+
modify: {
|
|
163
|
+
type: "lighten",
|
|
164
|
+
value: 0.1,
|
|
165
|
+
space: "hsl"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
secondaryGhostColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
169
|
+
secondaryGhostBorderColor: {
|
|
170
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
171
|
+
modify: {
|
|
172
|
+
type: "darken",
|
|
173
|
+
value: 0.1,
|
|
174
|
+
space: "hsl"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
secondaryGhostHoverBackground: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
80
178
|
secondaryOnColorActiveBorderColor: semantic.color.stroke.interactive.action.secondaryOnColor.active,
|
|
81
179
|
secondaryOnColorActiveTextColor: semantic.color.text.interactive.action.secondaryOnColor.active,
|
|
82
180
|
secondaryOnColorDisabledBorderColor: semantic.color.stroke.interactive.action.secondaryOnColor.disabled,
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
const grid =
|
|
26
|
-
mediumMin:
|
|
27
|
-
largeMin:
|
|
28
|
-
xLargeMin:
|
|
25
|
+
const grid = () => ({
|
|
26
|
+
mediumMin: "48em",
|
|
27
|
+
largeMin: "62em",
|
|
28
|
+
xLargeMin: "75em"
|
|
29
29
|
});
|
|
30
30
|
export default grid;
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
const gridCol = semantic => ({
|
|
26
|
-
mediumMin:
|
|
27
|
-
largeMin:
|
|
28
|
-
xLargeMin:
|
|
26
|
+
mediumMin: "48em",
|
|
27
|
+
largeMin: "62em",
|
|
28
|
+
xLargeMin: "75em",
|
|
29
29
|
spacingLarge: "2.25rem",
|
|
30
30
|
spacingMedium: semantic.spacing.spaceXl,
|
|
31
31
|
spacingSmall: semantic.spacing.spaceMd
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
const gridRow = semantic => ({
|
|
26
|
-
mediumMin:
|
|
27
|
-
largeMin:
|
|
28
|
-
xLargeMin:
|
|
26
|
+
mediumMin: "48em",
|
|
27
|
+
largeMin: "62em",
|
|
28
|
+
xLargeMin: "75em",
|
|
29
29
|
spacingLarge: "2.25rem",
|
|
30
30
|
spacingMedium: semantic.spacing.spaceXl,
|
|
31
31
|
spacingSmall: semantic.spacing.spaceMd
|
|
@@ -60,10 +60,10 @@ const icon = semantic => ({
|
|
|
60
60
|
navigationPrimaryOnColorBaseColor: semantic.color.icon.interactive.navigation.primaryOnColor.base,
|
|
61
61
|
navigationPrimaryOnColorHoverColor: semantic.color.icon.interactive.navigation.primaryOnColor.hover,
|
|
62
62
|
navigationPrimaryOnColorActiveColor: semantic.color.icon.interactive.navigation.primaryOnColor.active,
|
|
63
|
-
actionSecondaryBaseColor: semantic.color.
|
|
64
|
-
actionSecondaryHoverColor: semantic.color.
|
|
65
|
-
actionSecondaryActiveColor: semantic.color.
|
|
66
|
-
actionSecondaryDisabledColor: semantic.color.
|
|
63
|
+
actionSecondaryBaseColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
64
|
+
actionSecondaryHoverColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
65
|
+
actionSecondaryActiveColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
66
|
+
actionSecondaryDisabledColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
67
67
|
actionStatusBaseColor: semantic.color.icon.interactive.action.status.base,
|
|
68
68
|
actionStatusHoverColor: semantic.color.icon.interactive.action.status.hover,
|
|
69
69
|
actionStatusActiveColor: semantic.color.icon.interactive.action.status.active,
|
|
@@ -74,10 +74,10 @@ const icon = semantic => ({
|
|
|
74
74
|
actionAiHoverColor: semantic.color.icon.interactive.action.ai.hover,
|
|
75
75
|
actionAiActiveColor: semantic.color.icon.interactive.action.ai.active,
|
|
76
76
|
actionAiDisabledColor: semantic.color.icon.interactive.action.ai.disabled,
|
|
77
|
-
actionPrimaryBaseColor: semantic.color.
|
|
78
|
-
actionPrimaryHoverColor: semantic.color.
|
|
79
|
-
actionPrimaryActiveColor: semantic.color.
|
|
80
|
-
actionPrimaryDisabledColor: semantic.color.
|
|
77
|
+
actionPrimaryBaseColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
78
|
+
actionPrimaryHoverColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
79
|
+
actionPrimaryActiveColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
80
|
+
actionPrimaryDisabledColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
81
81
|
actionPrimaryOnColorBaseColor: semantic.color.icon.interactive.action.primaryOnColor.base,
|
|
82
82
|
actionPrimaryOnColorHoverColor: semantic.color.icon.interactive.action.primaryOnColor.hover,
|
|
83
83
|
actionPrimaryOnColorActiveColor: semantic.color.icon.interactive.action.primaryOnColor.active,
|
|
@@ -121,7 +121,7 @@ const semantics = primitives => ({
|
|
|
121
121
|
},
|
|
122
122
|
"tertiary": {
|
|
123
123
|
"hover": primitives.color.blue.blue20,
|
|
124
|
-
"active": primitives.color.
|
|
124
|
+
"active": primitives.color.transparent
|
|
125
125
|
},
|
|
126
126
|
"disabled": primitives.color.grey.grey30,
|
|
127
127
|
"ghost": {
|
|
@@ -709,6 +709,8 @@ const semantics = primitives => ({
|
|
|
709
709
|
"linkColor": primitives.color.blue.blue100,
|
|
710
710
|
"brandButtonPrimaryBgd": primitives.color.blue.blue100,
|
|
711
711
|
"brandButtonPrimaryText": primitives.color.white,
|
|
712
|
+
"brandButtonSecondaryBgd": primitives.color.grey.grey10,
|
|
713
|
+
"brandButtonSecondaryText": primitives.color.grey.grey170,
|
|
712
714
|
"brandGlobalNavBgd": primitives.color.grey.grey150,
|
|
713
715
|
"globalNavLinkHover": primitives.color.grey.grey170,
|
|
714
716
|
"brandGlobalNavMenuItemTextColor": primitives.color.white,
|
|
@@ -805,22 +807,14 @@ const semantics = primitives => ({
|
|
|
805
807
|
"md": primitives.size.size20,
|
|
806
808
|
"lg": primitives.size.size28
|
|
807
809
|
}
|
|
808
|
-
},
|
|
809
|
-
"breakpoints": {
|
|
810
|
-
"xxs": "8em",
|
|
811
|
-
"xs": "16em",
|
|
812
|
-
"sm": "30em",
|
|
813
|
-
"md": "48em",
|
|
814
|
-
"lg": "62em",
|
|
815
|
-
"desktop": "64em",
|
|
816
|
-
"xl": "75em"
|
|
817
|
-
},
|
|
818
|
-
"media": {
|
|
819
|
-
"mediumMin": "48em",
|
|
820
|
-
"largeMin": "62em",
|
|
821
|
-
"xLargeMin": "75em"
|
|
822
810
|
}
|
|
823
811
|
},
|
|
812
|
+
"breakpoints": {
|
|
813
|
+
"sm": "30em",
|
|
814
|
+
"md": "48em",
|
|
815
|
+
"lg": "64em",
|
|
816
|
+
"xl": "80em"
|
|
817
|
+
},
|
|
824
818
|
"spacing": {
|
|
825
819
|
"space2xs": primitives.size.size2,
|
|
826
820
|
"spaceXs": primitives.size.size4,
|
|
@@ -23,6 +23,12 @@
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
const sharedTokens = semantic => ({
|
|
26
|
+
breakpoints: {
|
|
27
|
+
sm: semantic.breakpoints.sm,
|
|
28
|
+
md: semantic.breakpoints.md,
|
|
29
|
+
lg: semantic.breakpoints.lg,
|
|
30
|
+
xl: semantic.breakpoints.xl
|
|
31
|
+
},
|
|
26
32
|
borderRadius: {
|
|
27
33
|
xs: semantic.borderRadius.xs,
|
|
28
34
|
sm: semantic.borderRadius.sm,
|
|
@@ -24,8 +24,6 @@
|
|
|
24
24
|
|
|
25
25
|
const baseButton = semantic => ({
|
|
26
26
|
primaryBackground: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
27
|
-
primaryColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
28
|
-
primaryBorderColor: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
29
27
|
primaryHoverBackground: {
|
|
30
28
|
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
31
29
|
modify: {
|
|
@@ -34,18 +32,69 @@ const baseButton = semantic => ({
|
|
|
34
32
|
space: "hsl"
|
|
35
33
|
}
|
|
36
34
|
},
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
35
|
+
primaryActiveBackground: {
|
|
36
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
37
|
+
modify: {
|
|
38
|
+
type: "darken",
|
|
39
|
+
value: 0.1,
|
|
40
|
+
space: "hsl"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
primaryDisabledBackgroundColor: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
44
|
+
primaryBorderColor: {
|
|
45
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
46
|
+
modify: {
|
|
47
|
+
type: "darken",
|
|
48
|
+
value: 0.1,
|
|
49
|
+
space: "hsl"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
primaryHoverBorderColor: {
|
|
53
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
54
|
+
modify: {
|
|
55
|
+
type: "darken",
|
|
56
|
+
value: 0.1,
|
|
57
|
+
space: "hsl"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
primaryActiveBorderColor: {
|
|
61
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
62
|
+
modify: {
|
|
63
|
+
type: "darken",
|
|
64
|
+
value: 0.1,
|
|
65
|
+
space: "hsl"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
primaryDisabledBorderColor: {
|
|
69
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
70
|
+
modify: {
|
|
71
|
+
type: "darken",
|
|
72
|
+
value: 0.1,
|
|
73
|
+
space: "hsl"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
primaryColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
77
|
+
primaryHoverTextColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
78
|
+
primaryActiveTextColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
79
|
+
primaryDisabledTextColor: semantic.color.institutional.brandButtonPrimaryText,
|
|
47
80
|
primaryGhostColor: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
48
|
-
primaryGhostHoverBackground:
|
|
81
|
+
primaryGhostHoverBackground: {
|
|
82
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
83
|
+
modify: {
|
|
84
|
+
type: "alpha",
|
|
85
|
+
value: 0.1,
|
|
86
|
+
space: "hsl"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
primaryGhostActiveBackground: semantic.color.transparentColor,
|
|
90
|
+
primaryGhostBorderColor: {
|
|
91
|
+
value: semantic.color.institutional.brandButtonPrimaryBgd,
|
|
92
|
+
modify: {
|
|
93
|
+
type: "darken",
|
|
94
|
+
value: 0.1,
|
|
95
|
+
space: "hsl"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
49
98
|
primaryInverseActiveBackground: semantic.color.background.interactive.action.primaryOnColor.active,
|
|
50
99
|
primaryInverseBackground: semantic.color.background.interactive.action.primaryOnColor.base,
|
|
51
100
|
primaryInverseBorderColor: semantic.color.stroke.interactive.action.primaryOnColor.base,
|
|
@@ -62,21 +111,70 @@ const baseButton = semantic => ({
|
|
|
62
111
|
primaryOnColorDisabledTextColor: semantic.color.text.interactive.action.primaryOnColor.disabled,
|
|
63
112
|
primaryOnColorHoverBorderColor: semantic.color.stroke.interactive.action.primaryOnColor.hover,
|
|
64
113
|
primaryOnColorHoverTextColor: semantic.color.text.interactive.action.primaryOnColor.hover,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
114
|
+
secondaryBackground: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
115
|
+
secondaryColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
116
|
+
secondaryBorderColor: {
|
|
117
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
118
|
+
modify: {
|
|
119
|
+
type: "darken",
|
|
120
|
+
value: 0.1,
|
|
121
|
+
space: "hsl"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
secondaryHoverBackground: {
|
|
125
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
126
|
+
modify: {
|
|
127
|
+
type: "darken",
|
|
128
|
+
value: 0.1,
|
|
129
|
+
space: "hsl"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
secondaryHoverTextColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
133
|
+
secondaryHoverBorderColor: {
|
|
134
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
135
|
+
modify: {
|
|
136
|
+
type: "darken",
|
|
137
|
+
value: 0.2,
|
|
138
|
+
space: "hsl"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
secondaryActiveBackground: {
|
|
142
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
143
|
+
modify: {
|
|
144
|
+
type: "darken",
|
|
145
|
+
value: 0.1,
|
|
146
|
+
space: "hsl"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
secondaryActiveTextColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
150
|
+
secondaryActiveBorderColor: {
|
|
151
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
152
|
+
modify: {
|
|
153
|
+
type: "darken",
|
|
154
|
+
value: 0.2,
|
|
155
|
+
space: "hsl"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
secondaryDisabledBackgroundColor: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
159
|
+
secondaryDisabledTextColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
160
|
+
secondaryDisabledBorderColor: {
|
|
161
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
162
|
+
modify: {
|
|
163
|
+
type: "lighten",
|
|
164
|
+
value: 0.1,
|
|
165
|
+
space: "hsl"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
secondaryGhostColor: semantic.color.institutional.brandButtonSecondaryText,
|
|
169
|
+
secondaryGhostBorderColor: {
|
|
170
|
+
value: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
171
|
+
modify: {
|
|
172
|
+
type: "darken",
|
|
173
|
+
value: 0.1,
|
|
174
|
+
space: "hsl"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
secondaryGhostHoverBackground: semantic.color.institutional.brandButtonSecondaryBgd,
|
|
80
178
|
secondaryOnColorActiveBorderColor: semantic.color.stroke.interactive.action.secondaryOnColor.active,
|
|
81
179
|
secondaryOnColorActiveTextColor: semantic.color.text.interactive.action.secondaryOnColor.active,
|
|
82
180
|
secondaryOnColorDisabledBorderColor: semantic.color.stroke.interactive.action.secondaryOnColor.disabled,
|