@instructure/ui-side-nav-bar 9.5.2-snapshot-1 → 9.5.2-snapshot-7
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 +10 -2
- package/es/SideNavBar/SideNavBarItem/theme.js +11 -10
- package/es/SideNavBar/theme.js +6 -5
- package/lib/SideNavBar/SideNavBarItem/theme.js +11 -10
- package/lib/SideNavBar/theme.js +6 -5
- package/package.json +17 -17
- package/src/SideNavBar/SideNavBarItem/theme.ts +10 -10
- package/src/SideNavBar/theme.ts +5 -5
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,17 @@
|
|
|
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
|
-
## [9.5.2-snapshot-
|
|
6
|
+
## [9.5.2-snapshot-7](https://github.com/instructure/instructure-ui/compare/v9.5.1...v9.5.2-snapshot-7) (2024-07-31)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **many:** rewrite color system ([1e5809e](https://github.com/instructure/instructure-ui/commit/1e5809e28dee8c2a71703a429609b8d2f95d76e6))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* **many:** Breaks color overrides in certain cases
|
|
9
17
|
|
|
10
18
|
|
|
11
19
|
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
* @return {Object} The final theme object with the overrides and component variables
|
|
29
29
|
*/
|
|
30
30
|
const generateComponentTheme = theme => {
|
|
31
|
+
var _colors$contrasts, _colors$contrasts2, _colors$contrasts3, _colors$contrasts4, _colors$contrasts5, _colors$contrasts6, _colors$contrasts7, _colors$contrasts8, _colors$contrasts9, _colors$contrasts10;
|
|
31
32
|
const colors = theme.colors,
|
|
32
33
|
spacing = theme.spacing,
|
|
33
34
|
typography = theme.typography,
|
|
@@ -48,20 +49,20 @@ const generateComponentTheme = theme => {
|
|
|
48
49
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeSmall,
|
|
49
50
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
|
50
51
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
|
51
|
-
fontColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
52
|
+
fontColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts = colors.contrasts) === null || _colors$contrasts === void 0 ? void 0 : _colors$contrasts.white1010,
|
|
52
53
|
iconSize: '1.625rem',
|
|
53
|
-
iconColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
54
|
+
iconColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts2 = colors.contrasts) === null || _colors$contrasts2 === void 0 ? void 0 : _colors$contrasts2.white1010,
|
|
54
55
|
lineHeight: typography === null || typography === void 0 ? void 0 : typography.lineHeight,
|
|
55
56
|
backgroundColor: 'transparent',
|
|
56
57
|
linkTextDecoration: 'none',
|
|
57
|
-
hoverBackgroundColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
58
|
-
outerFocusOutline: `inset 0 0 0 0.125rem ${colors === null || colors === void 0 ? void 0 : colors.
|
|
59
|
-
innerFocusOutline: `inset 0 0 0 0.25rem ${colors === null ||
|
|
60
|
-
selectedFontColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
61
|
-
selectedIconColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
62
|
-
selectedBackgroundColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
63
|
-
selectedOuterFocusOutline: `inset 0 0 0 0.125rem ${colors === null ||
|
|
64
|
-
selectedInnerFocusOutline: `inset 0 0 0 0.25rem ${colors === null ||
|
|
58
|
+
hoverBackgroundColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts3 = colors.contrasts) === null || _colors$contrasts3 === void 0 ? void 0 : _colors$contrasts3.grey125125,
|
|
59
|
+
outerFocusOutline: `inset 0 0 0 0.125rem ${colors === null || colors === void 0 ? void 0 : (_colors$contrasts4 = colors.contrasts) === null || _colors$contrasts4 === void 0 ? void 0 : _colors$contrasts4.grey4570}`,
|
|
60
|
+
innerFocusOutline: `inset 0 0 0 0.25rem ${(_colors$contrasts5 = colors.contrasts) === null || _colors$contrasts5 === void 0 ? void 0 : _colors$contrasts5.white1010}`,
|
|
61
|
+
selectedFontColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts6 = colors.contrasts) === null || _colors$contrasts6 === void 0 ? void 0 : _colors$contrasts6.blue4570,
|
|
62
|
+
selectedIconColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts7 = colors.contrasts) === null || _colors$contrasts7 === void 0 ? void 0 : _colors$contrasts7.blue4570,
|
|
63
|
+
selectedBackgroundColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts8 = colors.contrasts) === null || _colors$contrasts8 === void 0 ? void 0 : _colors$contrasts8.white1010,
|
|
64
|
+
selectedOuterFocusOutline: `inset 0 0 0 0.125rem ${(_colors$contrasts9 = colors.contrasts) === null || _colors$contrasts9 === void 0 ? void 0 : _colors$contrasts9.white1010}`,
|
|
65
|
+
selectedInnerFocusOutline: `inset 0 0 0 0.25rem ${(_colors$contrasts10 = colors.contrasts) === null || _colors$contrasts10 === void 0 ? void 0 : _colors$contrasts10.blue4570}`,
|
|
65
66
|
contentPadding: spacing === null || spacing === void 0 ? void 0 : spacing.xxSmall
|
|
66
67
|
};
|
|
67
68
|
return {
|
package/es/SideNavBar/theme.js
CHANGED
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
* @return {Object} The final theme object with the overrides and component variables
|
|
29
29
|
*/
|
|
30
30
|
const generateComponentTheme = theme => {
|
|
31
|
+
var _colors$contrasts, _colors$contrasts2, _colors$contrasts3, _colors$contrasts4, _colors$contrasts5;
|
|
31
32
|
const colors = theme.colors,
|
|
32
33
|
spacing = theme.spacing,
|
|
33
34
|
borders = theme.borders,
|
|
@@ -41,15 +42,15 @@ const generateComponentTheme = theme => {
|
|
|
41
42
|
}
|
|
42
43
|
};
|
|
43
44
|
const componentVariables = {
|
|
44
|
-
fontColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
45
|
-
backgroundColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
45
|
+
fontColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts = colors.contrasts) === null || _colors$contrasts === void 0 ? void 0 : _colors$contrasts.white1010,
|
|
46
|
+
backgroundColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts2 = colors.contrasts) === null || _colors$contrasts2 === void 0 ? void 0 : _colors$contrasts2.grey100100,
|
|
46
47
|
width: '5.25rem',
|
|
47
48
|
minimizedWidth: '3.375rem',
|
|
48
|
-
fill: colors === null || colors === void 0 ? void 0 : colors.
|
|
49
|
+
fill: colors === null || colors === void 0 ? void 0 : (_colors$contrasts3 = colors.contrasts) === null || _colors$contrasts3 === void 0 ? void 0 : _colors$contrasts3.white1010,
|
|
49
50
|
focusOutlineInnerWidth: borders === null || borders === void 0 ? void 0 : borders.widthMedium,
|
|
50
51
|
focusOutlineOuterWidth: borders === null || borders === void 0 ? void 0 : borders.widthSmall,
|
|
51
|
-
focusOutlineInnerColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
52
|
-
focusOutlineOuterColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
52
|
+
focusOutlineInnerColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts4 = colors.contrasts) === null || _colors$contrasts4 === void 0 ? void 0 : _colors$contrasts4.blue4570,
|
|
53
|
+
focusOutlineOuterColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts5 = colors.contrasts) === null || _colors$contrasts5 === void 0 ? void 0 : _colors$contrasts5.white1010,
|
|
53
54
|
marginBottom: spacing === null || spacing === void 0 ? void 0 : spacing.small,
|
|
54
55
|
toggleTransition: transitions === null || transitions === void 0 ? void 0 : transitions.duration
|
|
55
56
|
};
|
|
@@ -34,6 +34,7 @@ exports.default = void 0;
|
|
|
34
34
|
* @return {Object} The final theme object with the overrides and component variables
|
|
35
35
|
*/
|
|
36
36
|
const generateComponentTheme = theme => {
|
|
37
|
+
var _colors$contrasts, _colors$contrasts2, _colors$contrasts3, _colors$contrasts4, _colors$contrasts5, _colors$contrasts6, _colors$contrasts7, _colors$contrasts8, _colors$contrasts9, _colors$contrasts10;
|
|
37
38
|
const colors = theme.colors,
|
|
38
39
|
spacing = theme.spacing,
|
|
39
40
|
typography = theme.typography,
|
|
@@ -54,20 +55,20 @@ const generateComponentTheme = theme => {
|
|
|
54
55
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeSmall,
|
|
55
56
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
|
56
57
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
|
57
|
-
fontColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
58
|
+
fontColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts = colors.contrasts) === null || _colors$contrasts === void 0 ? void 0 : _colors$contrasts.white1010,
|
|
58
59
|
iconSize: '1.625rem',
|
|
59
|
-
iconColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
60
|
+
iconColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts2 = colors.contrasts) === null || _colors$contrasts2 === void 0 ? void 0 : _colors$contrasts2.white1010,
|
|
60
61
|
lineHeight: typography === null || typography === void 0 ? void 0 : typography.lineHeight,
|
|
61
62
|
backgroundColor: 'transparent',
|
|
62
63
|
linkTextDecoration: 'none',
|
|
63
|
-
hoverBackgroundColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
64
|
-
outerFocusOutline: `inset 0 0 0 0.125rem ${colors === null || colors === void 0 ? void 0 : colors.
|
|
65
|
-
innerFocusOutline: `inset 0 0 0 0.25rem ${colors === null ||
|
|
66
|
-
selectedFontColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
67
|
-
selectedIconColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
68
|
-
selectedBackgroundColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
69
|
-
selectedOuterFocusOutline: `inset 0 0 0 0.125rem ${colors === null ||
|
|
70
|
-
selectedInnerFocusOutline: `inset 0 0 0 0.25rem ${colors === null ||
|
|
64
|
+
hoverBackgroundColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts3 = colors.contrasts) === null || _colors$contrasts3 === void 0 ? void 0 : _colors$contrasts3.grey125125,
|
|
65
|
+
outerFocusOutline: `inset 0 0 0 0.125rem ${colors === null || colors === void 0 ? void 0 : (_colors$contrasts4 = colors.contrasts) === null || _colors$contrasts4 === void 0 ? void 0 : _colors$contrasts4.grey4570}`,
|
|
66
|
+
innerFocusOutline: `inset 0 0 0 0.25rem ${(_colors$contrasts5 = colors.contrasts) === null || _colors$contrasts5 === void 0 ? void 0 : _colors$contrasts5.white1010}`,
|
|
67
|
+
selectedFontColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts6 = colors.contrasts) === null || _colors$contrasts6 === void 0 ? void 0 : _colors$contrasts6.blue4570,
|
|
68
|
+
selectedIconColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts7 = colors.contrasts) === null || _colors$contrasts7 === void 0 ? void 0 : _colors$contrasts7.blue4570,
|
|
69
|
+
selectedBackgroundColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts8 = colors.contrasts) === null || _colors$contrasts8 === void 0 ? void 0 : _colors$contrasts8.white1010,
|
|
70
|
+
selectedOuterFocusOutline: `inset 0 0 0 0.125rem ${(_colors$contrasts9 = colors.contrasts) === null || _colors$contrasts9 === void 0 ? void 0 : _colors$contrasts9.white1010}`,
|
|
71
|
+
selectedInnerFocusOutline: `inset 0 0 0 0.25rem ${(_colors$contrasts10 = colors.contrasts) === null || _colors$contrasts10 === void 0 ? void 0 : _colors$contrasts10.blue4570}`,
|
|
71
72
|
contentPadding: spacing === null || spacing === void 0 ? void 0 : spacing.xxSmall
|
|
72
73
|
};
|
|
73
74
|
return {
|
package/lib/SideNavBar/theme.js
CHANGED
|
@@ -34,6 +34,7 @@ exports.default = void 0;
|
|
|
34
34
|
* @return {Object} The final theme object with the overrides and component variables
|
|
35
35
|
*/
|
|
36
36
|
const generateComponentTheme = theme => {
|
|
37
|
+
var _colors$contrasts, _colors$contrasts2, _colors$contrasts3, _colors$contrasts4, _colors$contrasts5;
|
|
37
38
|
const colors = theme.colors,
|
|
38
39
|
spacing = theme.spacing,
|
|
39
40
|
borders = theme.borders,
|
|
@@ -47,15 +48,15 @@ const generateComponentTheme = theme => {
|
|
|
47
48
|
}
|
|
48
49
|
};
|
|
49
50
|
const componentVariables = {
|
|
50
|
-
fontColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
51
|
-
backgroundColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
51
|
+
fontColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts = colors.contrasts) === null || _colors$contrasts === void 0 ? void 0 : _colors$contrasts.white1010,
|
|
52
|
+
backgroundColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts2 = colors.contrasts) === null || _colors$contrasts2 === void 0 ? void 0 : _colors$contrasts2.grey100100,
|
|
52
53
|
width: '5.25rem',
|
|
53
54
|
minimizedWidth: '3.375rem',
|
|
54
|
-
fill: colors === null || colors === void 0 ? void 0 : colors.
|
|
55
|
+
fill: colors === null || colors === void 0 ? void 0 : (_colors$contrasts3 = colors.contrasts) === null || _colors$contrasts3 === void 0 ? void 0 : _colors$contrasts3.white1010,
|
|
55
56
|
focusOutlineInnerWidth: borders === null || borders === void 0 ? void 0 : borders.widthMedium,
|
|
56
57
|
focusOutlineOuterWidth: borders === null || borders === void 0 ? void 0 : borders.widthSmall,
|
|
57
|
-
focusOutlineInnerColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
58
|
-
focusOutlineOuterColor: colors === null || colors === void 0 ? void 0 : colors.
|
|
58
|
+
focusOutlineInnerColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts4 = colors.contrasts) === null || _colors$contrasts4 === void 0 ? void 0 : _colors$contrasts4.blue4570,
|
|
59
|
+
focusOutlineOuterColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts5 = colors.contrasts) === null || _colors$contrasts5 === void 0 ? void 0 : _colors$contrasts5.white1010,
|
|
59
60
|
marginBottom: spacing === null || spacing === void 0 ? void 0 : spacing.small,
|
|
60
61
|
toggleTransition: transitions === null || transitions === void 0 ? void 0 : transitions.duration
|
|
61
62
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-side-nav-bar",
|
|
3
|
-
"version": "9.5.2-snapshot-
|
|
3
|
+
"version": "9.5.2-snapshot-7",
|
|
4
4
|
"description": "Main and application level navigational components",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "9.5.2-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "9.5.2-snapshot-
|
|
28
|
-
"@instructure/ui-color-utils": "9.5.2-snapshot-
|
|
29
|
-
"@instructure/ui-test-utils": "9.5.2-snapshot-
|
|
30
|
-
"@instructure/ui-themes": "9.5.2-snapshot-
|
|
26
|
+
"@instructure/ui-axe-check": "9.5.2-snapshot-7",
|
|
27
|
+
"@instructure/ui-babel-preset": "9.5.2-snapshot-7",
|
|
28
|
+
"@instructure/ui-color-utils": "9.5.2-snapshot-7",
|
|
29
|
+
"@instructure/ui-test-utils": "9.5.2-snapshot-7",
|
|
30
|
+
"@instructure/ui-themes": "9.5.2-snapshot-7",
|
|
31
31
|
"@testing-library/jest-dom": "^6.4.6",
|
|
32
32
|
"@testing-library/react": "^15.0.7",
|
|
33
33
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@babel/runtime": "^7.24.5",
|
|
38
|
-
"@instructure/debounce": "9.5.2-snapshot-
|
|
39
|
-
"@instructure/emotion": "9.5.2-snapshot-
|
|
40
|
-
"@instructure/shared-types": "9.5.2-snapshot-
|
|
41
|
-
"@instructure/ui-a11y-content": "9.5.2-snapshot-
|
|
42
|
-
"@instructure/ui-a11y-utils": "9.5.2-snapshot-
|
|
43
|
-
"@instructure/ui-badge": "9.5.2-snapshot-
|
|
44
|
-
"@instructure/ui-icons": "9.5.2-snapshot-
|
|
45
|
-
"@instructure/ui-prop-types": "9.5.2-snapshot-
|
|
46
|
-
"@instructure/ui-react-utils": "9.5.2-snapshot-
|
|
47
|
-
"@instructure/ui-testable": "9.5.2-snapshot-
|
|
48
|
-
"@instructure/ui-tooltip": "9.5.2-snapshot-
|
|
38
|
+
"@instructure/debounce": "9.5.2-snapshot-7",
|
|
39
|
+
"@instructure/emotion": "9.5.2-snapshot-7",
|
|
40
|
+
"@instructure/shared-types": "9.5.2-snapshot-7",
|
|
41
|
+
"@instructure/ui-a11y-content": "9.5.2-snapshot-7",
|
|
42
|
+
"@instructure/ui-a11y-utils": "9.5.2-snapshot-7",
|
|
43
|
+
"@instructure/ui-badge": "9.5.2-snapshot-7",
|
|
44
|
+
"@instructure/ui-icons": "9.5.2-snapshot-7",
|
|
45
|
+
"@instructure/ui-prop-types": "9.5.2-snapshot-7",
|
|
46
|
+
"@instructure/ui-react-utils": "9.5.2-snapshot-7",
|
|
47
|
+
"@instructure/ui-testable": "9.5.2-snapshot-7",
|
|
48
|
+
"@instructure/ui-tooltip": "9.5.2-snapshot-7",
|
|
49
49
|
"prop-types": "^15.8.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
@@ -52,22 +52,22 @@ const generateComponentTheme = (theme: Theme): SideNavBarItemTheme => {
|
|
|
52
52
|
fontFamily: typography?.fontFamily,
|
|
53
53
|
fontWeight: typography?.fontWeightNormal,
|
|
54
54
|
|
|
55
|
-
fontColor: colors?.
|
|
55
|
+
fontColor: colors?.contrasts?.white1010,
|
|
56
56
|
iconSize: '1.625rem',
|
|
57
|
-
iconColor: colors?.
|
|
57
|
+
iconColor: colors?.contrasts?.white1010,
|
|
58
58
|
lineHeight: typography?.lineHeight,
|
|
59
59
|
backgroundColor: 'transparent',
|
|
60
60
|
linkTextDecoration: 'none',
|
|
61
61
|
|
|
62
|
-
hoverBackgroundColor: colors?.
|
|
63
|
-
outerFocusOutline: `inset 0 0 0 0.125rem ${colors?.
|
|
64
|
-
innerFocusOutline: `inset 0 0 0 0.25rem ${colors?.
|
|
62
|
+
hoverBackgroundColor: colors?.contrasts?.grey125125,
|
|
63
|
+
outerFocusOutline: `inset 0 0 0 0.125rem ${colors?.contrasts?.grey4570}`,
|
|
64
|
+
innerFocusOutline: `inset 0 0 0 0.25rem ${colors.contrasts?.white1010}`,
|
|
65
65
|
|
|
66
|
-
selectedFontColor: colors?.
|
|
67
|
-
selectedIconColor: colors?.
|
|
68
|
-
selectedBackgroundColor: colors?.
|
|
69
|
-
selectedOuterFocusOutline: `inset 0 0 0 0.125rem ${colors?.
|
|
70
|
-
selectedInnerFocusOutline: `inset 0 0 0 0.25rem ${colors?.
|
|
66
|
+
selectedFontColor: colors?.contrasts?.blue4570,
|
|
67
|
+
selectedIconColor: colors?.contrasts?.blue4570,
|
|
68
|
+
selectedBackgroundColor: colors?.contrasts?.white1010,
|
|
69
|
+
selectedOuterFocusOutline: `inset 0 0 0 0.125rem ${colors.contrasts?.white1010}`,
|
|
70
|
+
selectedInnerFocusOutline: `inset 0 0 0 0.25rem ${colors.contrasts?.blue4570}`,
|
|
71
71
|
|
|
72
72
|
contentPadding: spacing?.xxSmall
|
|
73
73
|
}
|
package/src/SideNavBar/theme.ts
CHANGED
|
@@ -42,16 +42,16 @@ const generateComponentTheme = (theme: Theme): SideNavBarTheme => {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
const componentVariables: SideNavBarTheme = {
|
|
45
|
-
fontColor: colors?.
|
|
46
|
-
backgroundColor: colors?.
|
|
45
|
+
fontColor: colors?.contrasts?.white1010,
|
|
46
|
+
backgroundColor: colors?.contrasts?.grey100100,
|
|
47
47
|
width: '5.25rem',
|
|
48
48
|
minimizedWidth: '3.375rem',
|
|
49
|
-
fill: colors?.
|
|
49
|
+
fill: colors?.contrasts?.white1010,
|
|
50
50
|
|
|
51
51
|
focusOutlineInnerWidth: borders?.widthMedium,
|
|
52
52
|
focusOutlineOuterWidth: borders?.widthSmall,
|
|
53
|
-
focusOutlineInnerColor: colors?.
|
|
54
|
-
focusOutlineOuterColor: colors?.
|
|
53
|
+
focusOutlineInnerColor: colors?.contrasts?.blue4570,
|
|
54
|
+
focusOutlineOuterColor: colors?.contrasts?.white1010,
|
|
55
55
|
|
|
56
56
|
marginBottom: spacing?.small,
|
|
57
57
|
toggleTransition: transitions?.duration
|