@instructure/ui-themes 10.0.1-snapshot-14 → 10.2.0

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 (97) hide show
  1. package/CHANGELOG.md +16 -2
  2. package/README.md +4 -4
  3. package/es/index.js +5 -3
  4. package/es/sharedThemeTokens/borders.js +45 -0
  5. package/es/sharedThemeTokens/breakpoints.js +57 -0
  6. package/es/sharedThemeTokens/colors/dataVisualization.js +138 -0
  7. package/es/sharedThemeTokens/colors/primitives.js +172 -0
  8. package/es/sharedThemeTokens/forms.js +31 -0
  9. package/es/sharedThemeTokens/index.js +46 -0
  10. package/es/sharedThemeTokens/media.js +32 -0
  11. package/es/sharedThemeTokens/shadows.js +36 -0
  12. package/es/sharedThemeTokens/spacing.js +45 -0
  13. package/es/sharedThemeTokens/stacking.js +32 -0
  14. package/es/sharedThemeTokens/transitions.js +30 -0
  15. package/es/sharedThemeTokens/typography.js +54 -0
  16. package/es/themes/canvas/colors.js +67 -0
  17. package/es/themes/canvas/index.js +54 -0
  18. package/es/themes/canvasHighContrast/colors.js +67 -0
  19. package/es/themes/canvasHighContrast/index.js +36 -0
  20. package/es/utils/getUIColors.js +59 -0
  21. package/lib/index.js +26 -5
  22. package/lib/sharedThemeTokens/borders.js +50 -0
  23. package/lib/sharedThemeTokens/breakpoints.js +62 -0
  24. package/lib/sharedThemeTokens/colors/dataVisualization.js +144 -0
  25. package/lib/sharedThemeTokens/colors/primitives.js +178 -0
  26. package/lib/sharedThemeTokens/forms.js +36 -0
  27. package/lib/sharedThemeTokens/index.js +51 -0
  28. package/lib/sharedThemeTokens/media.js +37 -0
  29. package/lib/sharedThemeTokens/shadows.js +41 -0
  30. package/lib/sharedThemeTokens/spacing.js +50 -0
  31. package/lib/sharedThemeTokens/stacking.js +37 -0
  32. package/lib/sharedThemeTokens/transitions.js +35 -0
  33. package/lib/sharedThemeTokens/typography.js +59 -0
  34. package/lib/themes/canvas/colors.js +73 -0
  35. package/lib/themes/canvas/index.js +60 -0
  36. package/lib/themes/canvasHighContrast/colors.js +73 -0
  37. package/lib/themes/canvasHighContrast/index.js +43 -0
  38. package/lib/utils/getUIColors.js +66 -0
  39. package/package.json +4 -6
  40. package/src/index.ts +28 -9
  41. package/src/sharedThemeTokens/borders.ts +42 -0
  42. package/src/sharedThemeTokens/breakpoints.ts +54 -0
  43. package/src/sharedThemeTokens/colors/dataVisualization.ts +151 -0
  44. package/src/sharedThemeTokens/colors/primitives.ts +190 -0
  45. package/src/sharedThemeTokens/forms.ts +34 -0
  46. package/src/sharedThemeTokens/index.ts +48 -0
  47. package/src/sharedThemeTokens/media.ts +35 -0
  48. package/src/sharedThemeTokens/shadows.ts +45 -0
  49. package/src/sharedThemeTokens/spacing.ts +40 -0
  50. package/src/sharedThemeTokens/stacking.ts +34 -0
  51. package/src/sharedThemeTokens/transitions.ts +33 -0
  52. package/src/sharedThemeTokens/typography.ts +53 -0
  53. package/src/themes/canvas/colors.ts +76 -0
  54. package/src/themes/canvas/index.ts +69 -0
  55. package/src/themes/canvasHighContrast/colors.ts +76 -0
  56. package/src/themes/canvasHighContrast/index.ts +44 -0
  57. package/src/utils/getUIColors.ts +68 -0
  58. package/tokens/canvas/scss/_variables.scss +151 -0
  59. package/tokens/canvas/source.json +1 -0
  60. package/tsconfig.build.json +1 -7
  61. package/tsconfig.build.tsbuildinfo +1 -1
  62. package/types/index.d.ts +9 -7
  63. package/types/index.d.ts.map +1 -1
  64. package/types/sharedThemeTokens/borders.d.ts +5 -0
  65. package/types/sharedThemeTokens/borders.d.ts.map +1 -0
  66. package/types/sharedThemeTokens/breakpoints.d.ts +5 -0
  67. package/types/sharedThemeTokens/breakpoints.d.ts.map +1 -0
  68. package/types/sharedThemeTokens/colors/dataVisualization.d.ts +4 -0
  69. package/types/sharedThemeTokens/colors/dataVisualization.d.ts.map +1 -0
  70. package/types/sharedThemeTokens/colors/primitives.d.ts +4 -0
  71. package/types/sharedThemeTokens/colors/primitives.d.ts.map +1 -0
  72. package/types/sharedThemeTokens/forms.d.ts +5 -0
  73. package/types/sharedThemeTokens/forms.d.ts.map +1 -0
  74. package/types/sharedThemeTokens/index.d.ts +14 -0
  75. package/types/sharedThemeTokens/index.d.ts.map +1 -0
  76. package/types/sharedThemeTokens/media.d.ts +5 -0
  77. package/types/sharedThemeTokens/media.d.ts.map +1 -0
  78. package/types/sharedThemeTokens/shadows.d.ts +5 -0
  79. package/types/sharedThemeTokens/shadows.d.ts.map +1 -0
  80. package/types/sharedThemeTokens/spacing.d.ts +5 -0
  81. package/types/sharedThemeTokens/spacing.d.ts.map +1 -0
  82. package/types/sharedThemeTokens/stacking.d.ts +5 -0
  83. package/types/sharedThemeTokens/stacking.d.ts.map +1 -0
  84. package/types/sharedThemeTokens/transitions.d.ts +5 -0
  85. package/types/sharedThemeTokens/transitions.d.ts.map +1 -0
  86. package/types/sharedThemeTokens/typography.d.ts +5 -0
  87. package/types/sharedThemeTokens/typography.d.ts.map +1 -0
  88. package/types/themes/canvas/colors.d.ts +16 -0
  89. package/types/themes/canvas/colors.d.ts.map +1 -0
  90. package/types/themes/canvas/index.d.ts +27 -0
  91. package/types/themes/canvas/index.d.ts.map +1 -0
  92. package/types/themes/canvasHighContrast/colors.d.ts +16 -0
  93. package/types/themes/canvasHighContrast/colors.d.ts.map +1 -0
  94. package/types/themes/canvasHighContrast/index.d.ts +10 -0
  95. package/types/themes/canvasHighContrast/index.d.ts.map +1 -0
  96. package/types/utils/getUIColors.d.ts +4 -0
  97. package/types/utils/getUIColors.d.ts.map +1 -0
@@ -0,0 +1,76 @@
1
+ /*
2
+ * The MIT License (MIT)
3
+ *
4
+ * Copyright (c) 2015 - present Instructure, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
+ import {
26
+ primitives,
27
+ additionalPrimitives
28
+ } from '../../sharedThemeTokens/colors/primitives'
29
+ import dataVisualization from '../../sharedThemeTokens/colors/dataVisualization'
30
+ import getUIColors from '../../utils/getUIColors'
31
+
32
+ import type { UI, Contrasts } from '@instructure/shared-types'
33
+
34
+ const contrasts: Contrasts = {
35
+ white1010: primitives.white,
36
+ white1010op75: primitives.white10op75,
37
+
38
+ grey1111: primitives.grey11,
39
+ grey1214: primitives.grey14,
40
+ grey1424: primitives.grey24,
41
+ grey2424: primitives.grey24,
42
+ grey4570: primitives.grey70,
43
+ grey5782: primitives.grey82,
44
+ grey100100: primitives.grey100,
45
+ grey100100op75: primitives.grey100op75,
46
+ grey125125: primitives.grey125,
47
+
48
+ blue1212: primitives.blue12,
49
+ blue4570: primitives.blue70,
50
+ blue5782: primitives.blue82,
51
+
52
+ green1212: primitives.green12,
53
+ green4570: primitives.green70,
54
+ green5782: primitives.green82,
55
+
56
+ orange1212: primitives.orange12,
57
+ orange3045: primitives.orange45,
58
+ orange4570: primitives.orange70,
59
+ orange5782: primitives.orange82,
60
+
61
+ red1212: primitives.red12,
62
+ red4570: primitives.red70,
63
+ red5782: primitives.red82
64
+ }
65
+
66
+ const ui: UI = getUIColors(contrasts)
67
+
68
+ const colors = {
69
+ primitives,
70
+ additionalPrimitives,
71
+ contrasts,
72
+ ui,
73
+ dataVisualization
74
+ }
75
+ export default { primitives, contrasts, ui }
76
+ export { colors }
@@ -0,0 +1,44 @@
1
+ /*
2
+ * The MIT License (MIT)
3
+ *
4
+ * Copyright (c) 2015 - present Instructure, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
+ import sharedThemeTokens from '../../sharedThemeTokens'
26
+ import { BaseTheme, Colors } from '@instructure/shared-types'
27
+ import { ThemeRegistry } from '@instructure/theme-registry'
28
+ import colors from './colors'
29
+
30
+ const key = 'canvas-high-contrast'
31
+
32
+ export type CanvasHighContrastTheme = BaseTheme & {
33
+ key: 'canvas-high-contrast'
34
+ } & typeof sharedThemeTokens & { colors: Colors }
35
+
36
+ const __theme: CanvasHighContrastTheme = {
37
+ key,
38
+ description: 'This theme meets WCAG 2.0 AA rules for color contrast.',
39
+ ...sharedThemeTokens,
40
+ colors
41
+ }
42
+ const theme = ThemeRegistry.registerTheme(__theme)
43
+
44
+ export default theme
@@ -0,0 +1,68 @@
1
+ /*
2
+ * The MIT License (MIT)
3
+ *
4
+ * Copyright (c) 2015 - present Instructure, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
+ import type { Contrasts, UI } from '@instructure/shared-types'
26
+
27
+ export const getUIColors = (contrasts: Contrasts): UI => ({
28
+ surfacePagePrimary: contrasts?.white1010,
29
+ surfacePageSecondary: contrasts?.grey1111,
30
+ surfaceCardPrimary: contrasts?.white1010,
31
+ surfaceCardSecondary: contrasts?.grey1111,
32
+ surfaceDark: contrasts?.grey100100,
33
+
34
+ textTitle: contrasts?.grey125125,
35
+ textDescription: contrasts?.grey125125,
36
+ textBody: contrasts?.grey125125,
37
+ textTimestamp: contrasts?.grey5782,
38
+ textAuthor: contrasts?.grey5782,
39
+ textDatapoint: contrasts?.grey5782,
40
+ textLink: contrasts?.blue5782,
41
+ textPlaceholder: contrasts?.grey2424,
42
+ textSuccess: contrasts?.green5782,
43
+ textWarning: contrasts?.orange5782,
44
+ textError: contrasts?.red5782,
45
+
46
+ lineStroke: contrasts?.grey1424,
47
+ lineDivider: contrasts?.grey1214,
48
+
49
+ surfaceOverlayGrey: contrasts?.grey100100op75,
50
+ surfaceOverlayWhite: contrasts?.white1010op75,
51
+ surfaceAttention: contrasts?.blue4570,
52
+ surfaceSuccess: contrasts?.green4570,
53
+ surfaceWarning: contrasts?.orange4570,
54
+ surfaceError: contrasts?.red4570,
55
+ surfaceDivider: contrasts?.grey1214,
56
+
57
+ textSurfaceColored: contrasts?.white1010,
58
+
59
+ iconDefault: contrasts?.grey125125,
60
+ iconSuccess: contrasts?.green4570,
61
+ iconWarning: contrasts?.orange4570,
62
+ iconError: contrasts?.red4570,
63
+ iconSurfaceColored: contrasts?.white1010,
64
+
65
+ lineConnector: contrasts?.grey1424
66
+ })
67
+
68
+ export default getUIColors
@@ -0,0 +1,151 @@
1
+
2
+ // Do not edit directly, this file was auto-generated.
3
+
4
+ $instui-canvas-borders-radius-small: 0.125rem;
5
+ $instui-canvas-borders-radius-medium: 0.25rem;
6
+ $instui-canvas-borders-radius-large: 0.5rem;
7
+ $instui-canvas-borders-width-small: 0.0625rem;
8
+ $instui-canvas-borders-width-medium: 0.125rem;
9
+ $instui-canvas-borders-width-large: 0.25rem;
10
+ $instui-canvas-borders-style: solid;
11
+ $instui-canvas-transitions-duration: 300ms;
12
+ $instui-canvas-transitions-timing: ease-in-out;
13
+ $instui-canvas-typography-font-family: LatoWeb, Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
14
+ $instui-canvas-typography-font-family-monospace: Menlo, Consolas, Monaco, "Andale Mono", monospace;
15
+ $instui-canvas-typography-font-size-x-small: 0.75rem;
16
+ $instui-canvas-typography-font-size-small: 0.875rem;
17
+ $instui-canvas-typography-font-size-medium: 1rem;
18
+ $instui-canvas-typography-font-size-large: 1.375rem;
19
+ $instui-canvas-typography-font-size-x-large: 1.75rem;
20
+ $instui-canvas-typography-font-size-xx-large: 2.375rem;
21
+ $instui-canvas-typography-font-weight-light: 300;
22
+ $instui-canvas-typography-font-weight-normal: 400;
23
+ $instui-canvas-typography-font-weight-bold: 700;
24
+ $instui-canvas-typography-line-height: 1.5;
25
+ $instui-canvas-typography-line-height-fit: 1.125;
26
+ $instui-canvas-typography-line-height-condensed: 1.25;
27
+ $instui-canvas-typography-line-height-double: 2;
28
+ $instui-canvas-typography-letter-spacing-normal: 0;
29
+ $instui-canvas-typography-letter-spacing-condensed: -0.0625rem;
30
+ $instui-canvas-typography-letter-spacing-expanded: 0.0625rem;
31
+ $instui-canvas-spacing-xxx-small: 0.125rem;
32
+ $instui-canvas-spacing-xx-small: 0.375rem;
33
+ $instui-canvas-spacing-x-small: 0.5rem;
34
+ $instui-canvas-spacing-small: 0.75rem;
35
+ $instui-canvas-spacing-medium-small: 1rem;
36
+ $instui-canvas-spacing-medium: 1.5rem;
37
+ $instui-canvas-spacing-large: 2.25rem;
38
+ $instui-canvas-spacing-x-large: 3rem;
39
+ $instui-canvas-spacing-xx-large: 3.75rem;
40
+ $instui-canvas-forms-input-height-small: 1.75rem;
41
+ $instui-canvas-forms-input-height-medium: 2.375rem;
42
+ $instui-canvas-forms-input-height-large: 3rem;
43
+ $instui-canvas-breakpoints-xx-small: 8em;
44
+ $instui-canvas-breakpoints-x-small: 16em;
45
+ $instui-canvas-breakpoints-small: 30em;
46
+ $instui-canvas-breakpoints-medium: 48em;
47
+ $instui-canvas-breakpoints-tablet: 48em;
48
+ $instui-canvas-breakpoints-large: 62em;
49
+ $instui-canvas-breakpoints-desktop: 64em;
50
+ $instui-canvas-breakpoints-x-large: 75em;
51
+ $instui-canvas-breakpoints-max-width: 61.9375em;
52
+ $instui-canvas-shadows-depth1: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2), 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1);
53
+ $instui-canvas-shadows-depth2: 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.1), 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16);
54
+ $instui-canvas-shadows-depth3: 0 0.375rem 0.4375rem rgba(0, 0, 0, 0.1), 0 0.625rem 1.75rem rgba(0, 0, 0, 0.25);
55
+ $instui-canvas-shadows-resting: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2), 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1);
56
+ $instui-canvas-shadows-above: 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.1), 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16);
57
+ $instui-canvas-shadows-topmost: 0 0.375rem 0.4375rem rgba(0, 0, 0, 0.1), 0 0.625rem 1.75rem rgba(0, 0, 0, 0.25);
58
+ $instui-canvas-stacking-topmost: 9999;
59
+ $instui-canvas-stacking-above: 1;
60
+ $instui-canvas-stacking-below: -1;
61
+ $instui-canvas-stacking-deepest: -9999;
62
+ $instui-canvas-colors-primitives-white: #FFFFFF;
63
+ $instui-canvas-colors-primitives-white10op75: #FFFFFFBF;
64
+ $instui-canvas-colors-primitives-grey11: #F2F4F4;
65
+ $instui-canvas-colors-primitives-grey12: #E8EAEC;
66
+ $instui-canvas-colors-primitives-grey14: #D7DADE;
67
+ $instui-canvas-colors-primitives-grey24: #9EA6AD;
68
+ $instui-canvas-colors-primitives-grey45: #6A7883;
69
+ $instui-canvas-colors-primitives-grey57: #586874;
70
+ $instui-canvas-colors-primitives-grey70: #4A5B68;
71
+ $instui-canvas-colors-primitives-grey82: #3F515E;
72
+ $instui-canvas-colors-primitives-grey100: #334451;
73
+ $instui-canvas-colors-primitives-grey100op75: #334451BF;
74
+ $instui-canvas-colors-primitives-grey125: #273540;
75
+ $instui-canvas-colors-primitives-blue12: #E0EBF5;
76
+ $instui-canvas-colors-primitives-blue45: #2B7ABC;
77
+ $instui-canvas-colors-primitives-blue57: #0E68B3;
78
+ $instui-canvas-colors-primitives-blue70: #0A5A9E;
79
+ $instui-canvas-colors-primitives-blue82: #09508C;
80
+ $instui-canvas-colors-primitives-green12: #DCEEE4;
81
+ $instui-canvas-colors-primitives-green45: #03893D;
82
+ $instui-canvas-colors-primitives-green57: #027634;
83
+ $instui-canvas-colors-primitives-green70: #02672D;
84
+ $instui-canvas-colors-primitives-green82: #015B28;
85
+ $instui-canvas-colors-primitives-orange12: #FCE5D9;
86
+ $instui-canvas-colors-primitives-orange30: #F06E26;
87
+ $instui-canvas-colors-primitives-orange45: #CF4A00;
88
+ $instui-canvas-colors-primitives-orange57: #B34000;
89
+ $instui-canvas-colors-primitives-orange70: #9C3800;
90
+ $instui-canvas-colors-primitives-orange82: #8B3200;
91
+ $instui-canvas-colors-primitives-red12: #FCE4E5;
92
+ $instui-canvas-colors-primitives-red45: #E62429;
93
+ $instui-canvas-colors-primitives-red57: #C71F23;
94
+ $instui-canvas-colors-primitives-red70: #AE1B1F;
95
+ $instui-canvas-colors-primitives-red82: #9B181C;
96
+ $instui-canvas-colors-contrasts-white1010: #FFFFFF;
97
+ $instui-canvas-colors-contrasts-white1010op75: #FFFFFFBF;
98
+ $instui-canvas-colors-contrasts-grey1111: #F2F4F4;
99
+ $instui-canvas-colors-contrasts-grey1214: #E8EAEC;
100
+ $instui-canvas-colors-contrasts-grey1424: #D7DADE;
101
+ $instui-canvas-colors-contrasts-grey2424: #9EA6AD;
102
+ $instui-canvas-colors-contrasts-grey4570: #6A7883;
103
+ $instui-canvas-colors-contrasts-grey5782: #586874;
104
+ $instui-canvas-colors-contrasts-grey100100: #334451;
105
+ $instui-canvas-colors-contrasts-grey100100op75: #334451BF;
106
+ $instui-canvas-colors-contrasts-grey125125: #273540;
107
+ $instui-canvas-colors-contrasts-blue1212: #E0EBF5;
108
+ $instui-canvas-colors-contrasts-blue4570: #2B7ABC;
109
+ $instui-canvas-colors-contrasts-blue5782: #0E68B3;
110
+ $instui-canvas-colors-contrasts-green1212: #DCEEE4;
111
+ $instui-canvas-colors-contrasts-green4570: #03893D;
112
+ $instui-canvas-colors-contrasts-green5782: #027634;
113
+ $instui-canvas-colors-contrasts-orange1212: #FCE5D9;
114
+ $instui-canvas-colors-contrasts-orange3045: #F06E26;
115
+ $instui-canvas-colors-contrasts-orange4570: #CF4A00;
116
+ $instui-canvas-colors-contrasts-orange5782: #B34000;
117
+ $instui-canvas-colors-contrasts-red1212: #FCE4E5;
118
+ $instui-canvas-colors-contrasts-red4570: #E62429;
119
+ $instui-canvas-colors-contrasts-red5782: #C71F23;
120
+ $instui-canvas-colors-ui-surface-page-primary: #FFFFFF;
121
+ $instui-canvas-colors-ui-surface-page-secondary: #F2F4F4;
122
+ $instui-canvas-colors-ui-surface-card-primary: #FFFFFF;
123
+ $instui-canvas-colors-ui-surface-card-secondary: #F2F4F4;
124
+ $instui-canvas-colors-ui-surface-dark: #334451;
125
+ $instui-canvas-colors-ui-text-title: #273540;
126
+ $instui-canvas-colors-ui-text-description: #273540;
127
+ $instui-canvas-colors-ui-text-body: #273540;
128
+ $instui-canvas-colors-ui-text-timestamp: #586874;
129
+ $instui-canvas-colors-ui-text-author: #586874;
130
+ $instui-canvas-colors-ui-text-datapoint: #586874;
131
+ $instui-canvas-colors-ui-text-link: #0E68B3;
132
+ $instui-canvas-colors-ui-text-placeholder: #9EA6AD;
133
+ $instui-canvas-colors-ui-text-success: #027634;
134
+ $instui-canvas-colors-ui-text-warning: #B34000;
135
+ $instui-canvas-colors-ui-text-error: #C71F23;
136
+ $instui-canvas-colors-ui-line-stroke: #D7DADE;
137
+ $instui-canvas-colors-ui-line-divider: #E8EAEC;
138
+ $instui-canvas-colors-ui-surface-overlay-grey: #334451BF;
139
+ $instui-canvas-colors-ui-surface-overlay-white: #FFFFFFBF;
140
+ $instui-canvas-colors-ui-surface-attention: #2B7ABC;
141
+ $instui-canvas-colors-ui-surface-success: #03893D;
142
+ $instui-canvas-colors-ui-surface-warning: #CF4A00;
143
+ $instui-canvas-colors-ui-surface-error: #E62429;
144
+ $instui-canvas-colors-ui-surface-divider: #E8EAEC;
145
+ $instui-canvas-colors-ui-text-surface-colored: #FFFFFF;
146
+ $instui-canvas-colors-ui-icon-default: #273540;
147
+ $instui-canvas-colors-ui-icon-success: #03893D;
148
+ $instui-canvas-colors-ui-icon-warning: #CF4A00;
149
+ $instui-canvas-colors-ui-icon-error: #E62429;
150
+ $instui-canvas-colors-ui-icon-surface-colored: #FFFFFF;
151
+ $instui-canvas-colors-ui-line-connector: #D7DADE;
@@ -0,0 +1 @@
1
+ {"borders":{"radiusSmall":{"value":"0.125rem"},"radiusMedium":{"value":"0.25rem"},"radiusLarge":{"value":"0.5rem"},"widthSmall":{"value":"0.0625rem"},"widthMedium":{"value":"0.125rem"},"widthLarge":{"value":"0.25rem"},"style":{"value":"solid"}},"transitions":{"duration":{"value":"300ms"},"timing":{"value":"ease-in-out"}},"typography":{"fontFamily":{"value":"LatoWeb, Lato, \"Helvetica Neue\", Helvetica, Arial, sans-serif"},"fontFamilyMonospace":{"value":"Menlo, Consolas, Monaco, \"Andale Mono\", monospace"},"fontSizeXSmall":{"value":"0.75rem"},"fontSizeSmall":{"value":"0.875rem"},"fontSizeMedium":{"value":"1rem"},"fontSizeLarge":{"value":"1.375rem"},"fontSizeXLarge":{"value":"1.75rem"},"fontSizeXXLarge":{"value":"2.375rem"},"fontWeightLight":{"value":300},"fontWeightNormal":{"value":400},"fontWeightBold":{"value":700},"lineHeight":{"value":1.5},"lineHeightFit":{"value":1.125},"lineHeightCondensed":{"value":1.25},"lineHeightDouble":{"value":2},"letterSpacingNormal":{"value":0},"letterSpacingCondensed":{"value":"-0.0625rem"},"letterSpacingExpanded":{"value":"0.0625rem"}},"spacing":{"xxxSmall":{"value":"0.125rem"},"xxSmall":{"value":"0.375rem"},"xSmall":{"value":"0.5rem"},"small":{"value":"0.75rem"},"mediumSmall":{"value":"1rem"},"medium":{"value":"1.5rem"},"large":{"value":"2.25rem"},"xLarge":{"value":"3rem"},"xxLarge":{"value":"3.75rem"}},"forms":{"inputHeightSmall":{"value":"1.75rem"},"inputHeightMedium":{"value":"2.375rem"},"inputHeightLarge":{"value":"3rem"}},"breakpoints":{"xxSmall":{"value":"8em"},"xSmall":{"value":"16em"},"small":{"value":"30em"},"medium":{"value":"48em"},"tablet":{"value":"48em"},"large":{"value":"62em"},"desktop":{"value":"64em"},"xLarge":{"value":"75em"},"maxWidth":{"value":"61.9375em"}},"shadows":{"depth1":{"value":"0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2), 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1)"},"depth2":{"value":"0 0.1875rem 0.375rem rgba(0, 0, 0, 0.1), 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16)"},"depth3":{"value":"0 0.375rem 0.4375rem rgba(0, 0, 0, 0.1), 0 0.625rem 1.75rem rgba(0, 0, 0, 0.25)"},"resting":{"value":"0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2), 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1)"},"above":{"value":"0 0.1875rem 0.375rem rgba(0, 0, 0, 0.1), 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16)"},"topmost":{"value":"0 0.375rem 0.4375rem rgba(0, 0, 0, 0.1), 0 0.625rem 1.75rem rgba(0, 0, 0, 0.25)"}},"stacking":{"topmost":{"value":9999},"above":{"value":1},"below":{"value":-1},"deepest":{"value":-9999}},"colors":{"primitives":{"white":{"value":"#FFFFFF"},"white10op75":{"value":"#FFFFFFBF"},"grey11":{"value":"#F2F4F4"},"grey12":{"value":"#E8EAEC"},"grey14":{"value":"#D7DADE"},"grey24":{"value":"#9EA6AD"},"grey45":{"value":"#6A7883"},"grey57":{"value":"#586874"},"grey70":{"value":"#4A5B68"},"grey82":{"value":"#3F515E"},"grey100":{"value":"#334451"},"grey100op75":{"value":"#334451BF"},"grey125":{"value":"#273540"},"blue12":{"value":"#E0EBF5"},"blue45":{"value":"#2B7ABC"},"blue57":{"value":"#0E68B3"},"blue70":{"value":"#0A5A9E"},"blue82":{"value":"#09508C"},"green12":{"value":"#DCEEE4"},"green45":{"value":"#03893D"},"green57":{"value":"#027634"},"green70":{"value":"#02672D"},"green82":{"value":"#015B28"},"orange12":{"value":"#FCE5D9"},"orange30":{"value":"#F06E26"},"orange45":{"value":"#CF4A00"},"orange57":{"value":"#B34000"},"orange70":{"value":"#9C3800"},"orange82":{"value":"#8B3200"},"red12":{"value":"#FCE4E5"},"red45":{"value":"#E62429"},"red57":{"value":"#C71F23"},"red70":{"value":"#AE1B1F"},"red82":{"value":"#9B181C"}},"contrasts":{"white1010":{"value":"#FFFFFF"},"white1010op75":{"value":"#FFFFFFBF"},"grey1111":{"value":"#F2F4F4"},"grey1214":{"value":"#E8EAEC"},"grey1424":{"value":"#D7DADE"},"grey2424":{"value":"#9EA6AD"},"grey4570":{"value":"#6A7883"},"grey5782":{"value":"#586874"},"grey100100":{"value":"#334451"},"grey100100op75":{"value":"#334451BF"},"grey125125":{"value":"#273540"},"blue1212":{"value":"#E0EBF5"},"blue4570":{"value":"#2B7ABC"},"blue5782":{"value":"#0E68B3"},"green1212":{"value":"#DCEEE4"},"green4570":{"value":"#03893D"},"green5782":{"value":"#027634"},"orange1212":{"value":"#FCE5D9"},"orange3045":{"value":"#F06E26"},"orange4570":{"value":"#CF4A00"},"orange5782":{"value":"#B34000"},"red1212":{"value":"#FCE4E5"},"red4570":{"value":"#E62429"},"red5782":{"value":"#C71F23"}},"ui":{"surfacePagePrimary":{"value":"#FFFFFF"},"surfacePageSecondary":{"value":"#F2F4F4"},"surfaceCardPrimary":{"value":"#FFFFFF"},"surfaceCardSecondary":{"value":"#F2F4F4"},"surfaceDark":{"value":"#334451"},"textTitle":{"value":"#273540"},"textDescription":{"value":"#273540"},"textBody":{"value":"#273540"},"textTimestamp":{"value":"#586874"},"textAuthor":{"value":"#586874"},"textDatapoint":{"value":"#586874"},"textLink":{"value":"#0E68B3"},"textPlaceholder":{"value":"#9EA6AD"},"textSuccess":{"value":"#027634"},"textWarning":{"value":"#B34000"},"textError":{"value":"#C71F23"},"lineStroke":{"value":"#D7DADE"},"lineDivider":{"value":"#E8EAEC"},"surfaceOverlayGrey":{"value":"#334451BF"},"surfaceOverlayWhite":{"value":"#FFFFFFBF"},"surfaceAttention":{"value":"#2B7ABC"},"surfaceSuccess":{"value":"#03893D"},"surfaceWarning":{"value":"#CF4A00"},"surfaceError":{"value":"#E62429"},"surfaceDivider":{"value":"#E8EAEC"},"textSurfaceColored":{"value":"#FFFFFF"},"iconDefault":{"value":"#273540"},"iconSuccess":{"value":"#03893D"},"iconWarning":{"value":"#CF4A00"},"iconError":{"value":"#E62429"},"iconSurfaceColored":{"value":"#FFFFFF"},"lineConnector":{"value":"#D7DADE"}}}}
@@ -10,17 +10,11 @@
10
10
  {
11
11
  "path": "../ui-babel-preset/tsconfig.build.json"
12
12
  },
13
- {
14
- "path": "../canvas-high-contrast-theme/tsconfig.build.json"
15
- },
16
- {
17
- "path": "../canvas-theme/tsconfig.build.json"
18
- },
19
13
  {
20
14
  "path": "../shared-types/tsconfig.build.json"
21
15
  },
22
16
  {
23
- "path": "../ui-theme-tokens/tsconfig.build.json"
17
+ "path": "../theme-registry/tsconfig.build.json"
24
18
  }
25
19
  ]
26
20
  }