@instructure/ui-themes 11.7.4-snapshot-52 → 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.
Files changed (148) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/es/themes/newThemeTokens/dark/components/grid.js +4 -4
  3. package/es/themes/newThemeTokens/dark/components/gridCol.js +3 -3
  4. package/es/themes/newThemeTokens/dark/components/gridRow.js +3 -3
  5. package/es/themes/newThemeTokens/dark/components/mask.js +2 -1
  6. package/es/themes/newThemeTokens/dark/components/modal.js +2 -1
  7. package/es/themes/newThemeTokens/dark/semantics.js +13 -19
  8. package/es/themes/newThemeTokens/dark/sharedTokens.js +6 -0
  9. package/es/themes/newThemeTokens/legacyCanvas/components/baseButton.js +126 -28
  10. package/es/themes/newThemeTokens/legacyCanvas/components/grid.js +4 -4
  11. package/es/themes/newThemeTokens/legacyCanvas/components/gridCol.js +3 -3
  12. package/es/themes/newThemeTokens/legacyCanvas/components/gridRow.js +3 -3
  13. package/es/themes/newThemeTokens/legacyCanvas/components/icon.js +8 -8
  14. package/es/themes/newThemeTokens/legacyCanvas/components/mask.js +2 -1
  15. package/es/themes/newThemeTokens/legacyCanvas/components/modal.js +2 -1
  16. package/es/themes/newThemeTokens/legacyCanvas/semantics.js +9 -15
  17. package/es/themes/newThemeTokens/legacyCanvas/sharedTokens.js +6 -0
  18. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/baseButton.js +126 -28
  19. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/grid.js +4 -4
  20. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/gridCol.js +3 -3
  21. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/gridRow.js +3 -3
  22. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/icon.js +8 -8
  23. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/mask.js +2 -1
  24. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/modal.js +2 -1
  25. package/es/themes/newThemeTokens/legacyCanvasHighContrast/semantics.js +10 -16
  26. package/es/themes/newThemeTokens/legacyCanvasHighContrast/sharedTokens.js +6 -0
  27. package/es/themes/newThemeTokens/light/components/grid.js +4 -4
  28. package/es/themes/newThemeTokens/light/components/gridCol.js +3 -3
  29. package/es/themes/newThemeTokens/light/components/gridRow.js +3 -3
  30. package/es/themes/newThemeTokens/light/components/mask.js +2 -1
  31. package/es/themes/newThemeTokens/light/components/modal.js +2 -1
  32. package/es/themes/newThemeTokens/light/semantics.js +13 -19
  33. package/es/themes/newThemeTokens/light/sharedTokens.js +6 -0
  34. package/lib/themes/newThemeTokens/dark/components/grid.js +4 -4
  35. package/lib/themes/newThemeTokens/dark/components/gridCol.js +3 -3
  36. package/lib/themes/newThemeTokens/dark/components/gridRow.js +3 -3
  37. package/lib/themes/newThemeTokens/dark/components/mask.js +2 -1
  38. package/lib/themes/newThemeTokens/dark/components/modal.js +2 -1
  39. package/lib/themes/newThemeTokens/dark/semantics.js +13 -19
  40. package/lib/themes/newThemeTokens/dark/sharedTokens.js +6 -0
  41. package/lib/themes/newThemeTokens/legacyCanvas/components/baseButton.js +126 -28
  42. package/lib/themes/newThemeTokens/legacyCanvas/components/grid.js +4 -4
  43. package/lib/themes/newThemeTokens/legacyCanvas/components/gridCol.js +3 -3
  44. package/lib/themes/newThemeTokens/legacyCanvas/components/gridRow.js +3 -3
  45. package/lib/themes/newThemeTokens/legacyCanvas/components/icon.js +8 -8
  46. package/lib/themes/newThemeTokens/legacyCanvas/components/mask.js +2 -1
  47. package/lib/themes/newThemeTokens/legacyCanvas/components/modal.js +2 -1
  48. package/lib/themes/newThemeTokens/legacyCanvas/semantics.js +9 -15
  49. package/lib/themes/newThemeTokens/legacyCanvas/sharedTokens.js +6 -0
  50. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/baseButton.js +126 -28
  51. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/grid.js +4 -4
  52. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/gridCol.js +3 -3
  53. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/gridRow.js +3 -3
  54. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/icon.js +8 -8
  55. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/mask.js +2 -1
  56. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/modal.js +2 -1
  57. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/semantics.js +10 -16
  58. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/sharedTokens.js +6 -0
  59. package/lib/themes/newThemeTokens/light/components/grid.js +4 -4
  60. package/lib/themes/newThemeTokens/light/components/gridCol.js +3 -3
  61. package/lib/themes/newThemeTokens/light/components/gridRow.js +3 -3
  62. package/lib/themes/newThemeTokens/light/components/mask.js +2 -1
  63. package/lib/themes/newThemeTokens/light/components/modal.js +2 -1
  64. package/lib/themes/newThemeTokens/light/semantics.js +13 -19
  65. package/lib/themes/newThemeTokens/light/sharedTokens.js +6 -0
  66. package/package.json +7 -7
  67. package/src/themes/newThemeTokens/commonTypes.ts +11 -0
  68. package/src/themes/newThemeTokens/componentTypes/mask.ts +1 -1
  69. package/src/themes/newThemeTokens/componentTypes/modal.ts +1 -0
  70. package/src/themes/newThemeTokens/dark/components/grid.ts +1 -7
  71. package/src/themes/newThemeTokens/dark/components/gridCol.ts +3 -3
  72. package/src/themes/newThemeTokens/dark/components/gridRow.ts +3 -3
  73. package/src/themes/newThemeTokens/dark/components/mask.ts +1 -1
  74. package/src/themes/newThemeTokens/dark/components/modal.ts +1 -0
  75. package/src/themes/newThemeTokens/dark/semantics.ts +16 -30
  76. package/src/themes/newThemeTokens/dark/sharedTokens.ts +6 -0
  77. package/src/themes/newThemeTokens/legacyCanvas/components/baseButton.ts +70 -28
  78. package/src/themes/newThemeTokens/legacyCanvas/components/grid.ts +1 -7
  79. package/src/themes/newThemeTokens/legacyCanvas/components/gridCol.ts +3 -3
  80. package/src/themes/newThemeTokens/legacyCanvas/components/gridRow.ts +3 -3
  81. package/src/themes/newThemeTokens/legacyCanvas/components/icon.ts +8 -8
  82. package/src/themes/newThemeTokens/legacyCanvas/components/mask.ts +1 -1
  83. package/src/themes/newThemeTokens/legacyCanvas/components/modal.ts +1 -0
  84. package/src/themes/newThemeTokens/legacyCanvas/semantics.ts +8 -25
  85. package/src/themes/newThemeTokens/legacyCanvas/sharedTokens.ts +6 -0
  86. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/baseButton.ts +70 -28
  87. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/grid.ts +1 -7
  88. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/gridCol.ts +3 -3
  89. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/gridRow.ts +3 -3
  90. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/icon.ts +8 -8
  91. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/mask.ts +1 -1
  92. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/modal.ts +1 -0
  93. package/src/themes/newThemeTokens/legacyCanvasHighContrast/semantics.ts +10 -27
  94. package/src/themes/newThemeTokens/legacyCanvasHighContrast/sharedTokens.ts +6 -0
  95. package/src/themes/newThemeTokens/light/components/grid.ts +1 -7
  96. package/src/themes/newThemeTokens/light/components/gridCol.ts +3 -3
  97. package/src/themes/newThemeTokens/light/components/gridRow.ts +3 -3
  98. package/src/themes/newThemeTokens/light/components/mask.ts +1 -1
  99. package/src/themes/newThemeTokens/light/components/modal.ts +1 -0
  100. package/src/themes/newThemeTokens/light/semantics.ts +16 -30
  101. package/src/themes/newThemeTokens/light/sharedTokens.ts +6 -0
  102. package/tsconfig.build.tsbuildinfo +1 -1
  103. package/types/themes/newThemeTokens/commonTypes.d.ts +11 -0
  104. package/types/themes/newThemeTokens/commonTypes.d.ts.map +1 -1
  105. package/types/themes/newThemeTokens/componentTypes/mask.d.ts +1 -0
  106. package/types/themes/newThemeTokens/componentTypes/mask.d.ts.map +1 -1
  107. package/types/themes/newThemeTokens/componentTypes/modal.d.ts +1 -0
  108. package/types/themes/newThemeTokens/componentTypes/modal.d.ts.map +1 -1
  109. package/types/themes/newThemeTokens/dark/components/grid.d.ts +1 -2
  110. package/types/themes/newThemeTokens/dark/components/grid.d.ts.map +1 -1
  111. package/types/themes/newThemeTokens/dark/components/mask.d.ts +1 -0
  112. package/types/themes/newThemeTokens/dark/components/mask.d.ts.map +1 -1
  113. package/types/themes/newThemeTokens/dark/components/modal.d.ts +1 -0
  114. package/types/themes/newThemeTokens/dark/components/modal.d.ts.map +1 -1
  115. package/types/themes/newThemeTokens/dark/semantics.d.ts +13 -19
  116. package/types/themes/newThemeTokens/dark/semantics.d.ts.map +1 -1
  117. package/types/themes/newThemeTokens/dark/sharedTokens.d.ts.map +1 -1
  118. package/types/themes/newThemeTokens/legacyCanvas/components/baseButton.d.ts +117 -19
  119. package/types/themes/newThemeTokens/legacyCanvas/components/baseButton.d.ts.map +1 -1
  120. package/types/themes/newThemeTokens/legacyCanvas/components/grid.d.ts +1 -2
  121. package/types/themes/newThemeTokens/legacyCanvas/components/grid.d.ts.map +1 -1
  122. package/types/themes/newThemeTokens/legacyCanvas/components/mask.d.ts +1 -0
  123. package/types/themes/newThemeTokens/legacyCanvas/components/mask.d.ts.map +1 -1
  124. package/types/themes/newThemeTokens/legacyCanvas/components/modal.d.ts +1 -0
  125. package/types/themes/newThemeTokens/legacyCanvas/components/modal.d.ts.map +1 -1
  126. package/types/themes/newThemeTokens/legacyCanvas/semantics.d.ts +9 -15
  127. package/types/themes/newThemeTokens/legacyCanvas/semantics.d.ts.map +1 -1
  128. package/types/themes/newThemeTokens/legacyCanvas/sharedTokens.d.ts.map +1 -1
  129. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/baseButton.d.ts +117 -19
  130. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/baseButton.d.ts.map +1 -1
  131. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/grid.d.ts +1 -2
  132. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/grid.d.ts.map +1 -1
  133. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mask.d.ts +1 -0
  134. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mask.d.ts.map +1 -1
  135. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/modal.d.ts +1 -0
  136. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/modal.d.ts.map +1 -1
  137. package/types/themes/newThemeTokens/legacyCanvasHighContrast/semantics.d.ts +10 -16
  138. package/types/themes/newThemeTokens/legacyCanvasHighContrast/semantics.d.ts.map +1 -1
  139. package/types/themes/newThemeTokens/legacyCanvasHighContrast/sharedTokens.d.ts.map +1 -1
  140. package/types/themes/newThemeTokens/light/components/grid.d.ts +1 -2
  141. package/types/themes/newThemeTokens/light/components/grid.d.ts.map +1 -1
  142. package/types/themes/newThemeTokens/light/components/mask.d.ts +1 -0
  143. package/types/themes/newThemeTokens/light/components/mask.d.ts.map +1 -1
  144. package/types/themes/newThemeTokens/light/components/modal.d.ts +1 -0
  145. package/types/themes/newThemeTokens/light/components/modal.d.ts.map +1 -1
  146. package/types/themes/newThemeTokens/light/semantics.d.ts +13 -19
  147. package/types/themes/newThemeTokens/light/semantics.d.ts.map +1 -1
  148. 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-52](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-52) (2026-06-19)
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 = semantic => ({
26
- mediumMin: semantic.size.media.mediumMin,
27
- largeMin: semantic.size.media.largeMin,
28
- xLargeMin: semantic.size.media.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: semantic.size.media.mediumMin,
27
- largeMin: semantic.size.media.largeMin,
28
- xLargeMin: semantic.size.media.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: semantic.size.media.mediumMin,
27
- largeMin: semantic.size.media.largeMin,
28
- xLargeMin: semantic.size.media.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,6 +23,7 @@
23
23
  */
24
24
 
25
25
  const mask = semantic => ({
26
- backgroundColor: semantic.color.background.overlay.base
26
+ backgroundColor: semantic.color.background.overlay.base,
27
+ zIndex: 9999
27
28
  });
28
29
  export default mask;
@@ -53,6 +53,7 @@ const modal = semantic => ({
53
53
  type: "dropShadow"
54
54
  }
55
55
  },
56
- borderWidth: semantic.borderWidth.sm
56
+ borderWidth: semantic.borderWidth.sm,
57
+ fullScreenMargin: "40px"
57
58
  });
58
59
  export default modal;
@@ -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.grey170,
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.grey70,
379
- "hover": primitives.color.grey.grey60,
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.grey40,
492
+ "hover": primitives.color.grey.grey60,
493
493
  "readonly": primitives.color.white,
494
- "placeholder": primitives.color.grey.grey60,
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
- primaryHoverBorderColor: semantic.color.stroke.interactive.action.primary.hover,
38
- primaryHoverTextColor: semantic.color.text.interactive.action.primary.hover,
39
- primaryActiveBackground: semantic.color.background.interactive.action.primary.active,
40
- primaryActiveBorderColor: semantic.color.stroke.interactive.action.primary.active,
41
- primaryActiveTextColor: semantic.color.text.interactive.action.primary.active,
42
- primaryDisabledBackgroundColor: semantic.color.background.interactive.action.primary.disabled,
43
- primaryDisabledBorderColor: semantic.color.stroke.interactive.action.primary.disabled,
44
- primaryDisabledTextColor: semantic.color.text.interactive.action.primary.disabled,
45
- primaryGhostActiveBackground: semantic.color.background.interactive.action.tertiary.active,
46
- primaryGhostBorderColor: semantic.color.stroke.interactive.action.tertiary.base,
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: semantic.color.background.interactive.action.tertiary.hover,
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
- secondaryActiveBackground: semantic.color.background.interactive.action.secondary.active,
66
- secondaryActiveBorderColor: semantic.color.stroke.interactive.action.secondary.active,
67
- secondaryActiveTextColor: semantic.color.text.interactive.action.secondary.active,
68
- secondaryBackground: semantic.color.background.interactive.action.secondary.base,
69
- secondaryBorderColor: semantic.color.stroke.interactive.action.secondary.base,
70
- secondaryColor: semantic.color.text.interactive.action.secondary.base,
71
- secondaryDisabledBackgroundColor: semantic.color.background.interactive.action.secondary.disabled,
72
- secondaryDisabledBorderColor: semantic.color.stroke.interactive.action.secondary.disabled,
73
- secondaryDisabledTextColor: semantic.color.text.interactive.action.secondary.disabled,
74
- secondaryGhostBorderColor: semantic.color.stroke.interactive.action.secondary.base,
75
- secondaryGhostColor: semantic.color.text.interactive.action.secondary.base,
76
- secondaryGhostHoverBackground: semantic.color.background.interactive.action.secondary.hover,
77
- secondaryHoverBackground: semantic.color.background.interactive.action.secondary.hover,
78
- secondaryHoverBorderColor: semantic.color.stroke.interactive.action.secondary.hover,
79
- secondaryHoverTextColor: semantic.color.text.interactive.action.secondary.hover,
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 = semantic => ({
26
- mediumMin: semantic.size.media.mediumMin,
27
- largeMin: semantic.size.media.largeMin,
28
- xLargeMin: semantic.size.media.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: semantic.size.media.mediumMin,
27
- largeMin: semantic.size.media.largeMin,
28
- xLargeMin: semantic.size.media.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: semantic.size.media.mediumMin,
27
- largeMin: semantic.size.media.largeMin,
28
- xLargeMin: semantic.size.media.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.icon.interactive.action.secondary.base,
64
- actionSecondaryHoverColor: semantic.color.icon.interactive.action.secondary.hover,
65
- actionSecondaryActiveColor: semantic.color.icon.interactive.action.secondary.active,
66
- actionSecondaryDisabledColor: semantic.color.icon.interactive.action.secondary.disabled,
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.icon.interactive.action.primary.base,
78
- actionPrimaryHoverColor: semantic.color.icon.interactive.action.primary.hover,
79
- actionPrimaryActiveColor: semantic.color.icon.interactive.action.primary.active,
80
- actionPrimaryDisabledColor: semantic.color.icon.interactive.action.primary.disabled,
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,
@@ -23,6 +23,7 @@
23
23
  */
24
24
 
25
25
  const mask = semantic => ({
26
- backgroundColor: semantic.color.background.overlay.base
26
+ backgroundColor: semantic.color.background.overlay.base,
27
+ zIndex: 9999
27
28
  });
28
29
  export default mask;
@@ -53,6 +53,7 @@ const modal = semantic => ({
53
53
  type: "dropShadow"
54
54
  }
55
55
  },
56
- borderWidth: semantic.borderWidth.sm
56
+ borderWidth: semantic.borderWidth.sm,
57
+ fullScreenMargin: "40px"
57
58
  });
58
59
  export default modal;
@@ -121,7 +121,7 @@ const semantics = primitives => ({
121
121
  },
122
122
  "tertiary": {
123
123
  "hover": primitives.color.blue.blue20,
124
- "active": primitives.color.blue.blue20
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
- primaryHoverBorderColor: semantic.color.stroke.interactive.action.primary.hover,
38
- primaryHoverTextColor: semantic.color.text.interactive.action.primary.hover,
39
- primaryActiveBackground: semantic.color.background.interactive.action.primary.active,
40
- primaryActiveBorderColor: semantic.color.stroke.interactive.action.primary.active,
41
- primaryActiveTextColor: semantic.color.text.interactive.action.primary.active,
42
- primaryDisabledBackgroundColor: semantic.color.background.interactive.action.primary.disabled,
43
- primaryDisabledBorderColor: semantic.color.stroke.interactive.action.primary.disabled,
44
- primaryDisabledTextColor: semantic.color.text.interactive.action.primary.disabled,
45
- primaryGhostActiveBackground: semantic.color.background.interactive.action.tertiary.active,
46
- primaryGhostBorderColor: semantic.color.stroke.interactive.action.tertiary.base,
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: semantic.color.background.interactive.action.tertiary.hover,
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
- secondaryActiveBackground: semantic.color.background.interactive.action.secondary.active,
66
- secondaryActiveBorderColor: semantic.color.stroke.interactive.action.secondary.active,
67
- secondaryActiveTextColor: semantic.color.text.interactive.action.secondary.active,
68
- secondaryBackground: semantic.color.background.interactive.action.secondary.base,
69
- secondaryBorderColor: semantic.color.stroke.interactive.action.secondary.base,
70
- secondaryColor: semantic.color.text.interactive.action.secondary.base,
71
- secondaryDisabledBackgroundColor: semantic.color.background.interactive.action.secondary.disabled,
72
- secondaryDisabledBorderColor: semantic.color.stroke.interactive.action.secondary.disabled,
73
- secondaryDisabledTextColor: semantic.color.text.interactive.action.secondary.disabled,
74
- secondaryGhostBorderColor: semantic.color.stroke.interactive.action.secondary.base,
75
- secondaryGhostColor: semantic.color.text.interactive.action.secondary.base,
76
- secondaryGhostHoverBackground: semantic.color.background.interactive.action.secondary.hover,
77
- secondaryHoverBackground: semantic.color.background.interactive.action.secondary.hover,
78
- secondaryHoverBorderColor: semantic.color.stroke.interactive.action.secondary.hover,
79
- secondaryHoverTextColor: semantic.color.text.interactive.action.secondary.hover,
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,