@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.
- package/CHANGELOG.md +16 -2
- package/README.md +4 -4
- package/es/index.js +5 -3
- package/es/sharedThemeTokens/borders.js +45 -0
- package/es/sharedThemeTokens/breakpoints.js +57 -0
- package/es/sharedThemeTokens/colors/dataVisualization.js +138 -0
- package/es/sharedThemeTokens/colors/primitives.js +172 -0
- package/es/sharedThemeTokens/forms.js +31 -0
- package/es/sharedThemeTokens/index.js +46 -0
- package/es/sharedThemeTokens/media.js +32 -0
- package/es/sharedThemeTokens/shadows.js +36 -0
- package/es/sharedThemeTokens/spacing.js +45 -0
- package/es/sharedThemeTokens/stacking.js +32 -0
- package/es/sharedThemeTokens/transitions.js +30 -0
- package/es/sharedThemeTokens/typography.js +54 -0
- package/es/themes/canvas/colors.js +67 -0
- package/es/themes/canvas/index.js +54 -0
- package/es/themes/canvasHighContrast/colors.js +67 -0
- package/es/themes/canvasHighContrast/index.js +36 -0
- package/es/utils/getUIColors.js +59 -0
- package/lib/index.js +26 -5
- package/lib/sharedThemeTokens/borders.js +50 -0
- package/lib/sharedThemeTokens/breakpoints.js +62 -0
- package/lib/sharedThemeTokens/colors/dataVisualization.js +144 -0
- package/lib/sharedThemeTokens/colors/primitives.js +178 -0
- package/lib/sharedThemeTokens/forms.js +36 -0
- package/lib/sharedThemeTokens/index.js +51 -0
- package/lib/sharedThemeTokens/media.js +37 -0
- package/lib/sharedThemeTokens/shadows.js +41 -0
- package/lib/sharedThemeTokens/spacing.js +50 -0
- package/lib/sharedThemeTokens/stacking.js +37 -0
- package/lib/sharedThemeTokens/transitions.js +35 -0
- package/lib/sharedThemeTokens/typography.js +59 -0
- package/lib/themes/canvas/colors.js +73 -0
- package/lib/themes/canvas/index.js +60 -0
- package/lib/themes/canvasHighContrast/colors.js +73 -0
- package/lib/themes/canvasHighContrast/index.js +43 -0
- package/lib/utils/getUIColors.js +66 -0
- package/package.json +4 -6
- package/src/index.ts +28 -9
- package/src/sharedThemeTokens/borders.ts +42 -0
- package/src/sharedThemeTokens/breakpoints.ts +54 -0
- package/src/sharedThemeTokens/colors/dataVisualization.ts +151 -0
- package/src/sharedThemeTokens/colors/primitives.ts +190 -0
- package/src/sharedThemeTokens/forms.ts +34 -0
- package/src/sharedThemeTokens/index.ts +48 -0
- package/src/sharedThemeTokens/media.ts +35 -0
- package/src/sharedThemeTokens/shadows.ts +45 -0
- package/src/sharedThemeTokens/spacing.ts +40 -0
- package/src/sharedThemeTokens/stacking.ts +34 -0
- package/src/sharedThemeTokens/transitions.ts +33 -0
- package/src/sharedThemeTokens/typography.ts +53 -0
- package/src/themes/canvas/colors.ts +76 -0
- package/src/themes/canvas/index.ts +69 -0
- package/src/themes/canvasHighContrast/colors.ts +76 -0
- package/src/themes/canvasHighContrast/index.ts +44 -0
- package/src/utils/getUIColors.ts +68 -0
- package/tokens/canvas/scss/_variables.scss +151 -0
- package/tokens/canvas/source.json +1 -0
- package/tsconfig.build.json +1 -7
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/index.d.ts +9 -7
- package/types/index.d.ts.map +1 -1
- package/types/sharedThemeTokens/borders.d.ts +5 -0
- package/types/sharedThemeTokens/borders.d.ts.map +1 -0
- package/types/sharedThemeTokens/breakpoints.d.ts +5 -0
- package/types/sharedThemeTokens/breakpoints.d.ts.map +1 -0
- package/types/sharedThemeTokens/colors/dataVisualization.d.ts +4 -0
- package/types/sharedThemeTokens/colors/dataVisualization.d.ts.map +1 -0
- package/types/sharedThemeTokens/colors/primitives.d.ts +4 -0
- package/types/sharedThemeTokens/colors/primitives.d.ts.map +1 -0
- package/types/sharedThemeTokens/forms.d.ts +5 -0
- package/types/sharedThemeTokens/forms.d.ts.map +1 -0
- package/types/sharedThemeTokens/index.d.ts +14 -0
- package/types/sharedThemeTokens/index.d.ts.map +1 -0
- package/types/sharedThemeTokens/media.d.ts +5 -0
- package/types/sharedThemeTokens/media.d.ts.map +1 -0
- package/types/sharedThemeTokens/shadows.d.ts +5 -0
- package/types/sharedThemeTokens/shadows.d.ts.map +1 -0
- package/types/sharedThemeTokens/spacing.d.ts +5 -0
- package/types/sharedThemeTokens/spacing.d.ts.map +1 -0
- package/types/sharedThemeTokens/stacking.d.ts +5 -0
- package/types/sharedThemeTokens/stacking.d.ts.map +1 -0
- package/types/sharedThemeTokens/transitions.d.ts +5 -0
- package/types/sharedThemeTokens/transitions.d.ts.map +1 -0
- package/types/sharedThemeTokens/typography.d.ts +5 -0
- package/types/sharedThemeTokens/typography.d.ts.map +1 -0
- package/types/themes/canvas/colors.d.ts +16 -0
- package/types/themes/canvas/colors.d.ts.map +1 -0
- package/types/themes/canvas/index.d.ts +27 -0
- package/types/themes/canvas/index.d.ts.map +1 -0
- package/types/themes/canvasHighContrast/colors.d.ts +16 -0
- package/types/themes/canvasHighContrast/colors.d.ts.map +1 -0
- package/types/themes/canvasHighContrast/index.d.ts +10 -0
- package/types/themes/canvasHighContrast/index.d.ts.map +1 -0
- package/types/utils/getUIColors.d.ts +4 -0
- package/types/utils/getUIColors.d.ts.map +1 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _primitives = require("./primitives");
|
|
8
|
+
/*
|
|
9
|
+
* The MIT License (MIT)
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
12
|
+
*
|
|
13
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
* in the Software without restriction, including without limitation the rights
|
|
16
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
* furnished to do so, subject to the following conditions:
|
|
19
|
+
*
|
|
20
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
* copies or substantial portions of the Software.
|
|
22
|
+
*
|
|
23
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
* SOFTWARE.
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
const dataVisualization = {
|
|
33
|
+
rose12Primary: _primitives.additionalPrimitives.rose12,
|
|
34
|
+
rose30Primary: _primitives.additionalPrimitives.rose30,
|
|
35
|
+
rose45Primary: _primitives.additionalPrimitives.rose45,
|
|
36
|
+
rose70Primary: _primitives.additionalPrimitives.rose70,
|
|
37
|
+
rose110Primary: _primitives.additionalPrimitives.rose110,
|
|
38
|
+
rose35Secondary: _primitives.additionalPrimitives.rose35,
|
|
39
|
+
rose40Secondary: _primitives.additionalPrimitives.rose40,
|
|
40
|
+
rose50Secondary: _primitives.additionalPrimitives.rose50,
|
|
41
|
+
rose57Secondary: _primitives.additionalPrimitives.rose57,
|
|
42
|
+
rose90Secondary: _primitives.additionalPrimitives.rose90,
|
|
43
|
+
copper12Primary: _primitives.additionalPrimitives.copper12,
|
|
44
|
+
copper30Primary: _primitives.additionalPrimitives.copper30,
|
|
45
|
+
copper45Primary: _primitives.additionalPrimitives.copper45,
|
|
46
|
+
copper70Primary: _primitives.additionalPrimitives.copper70,
|
|
47
|
+
copper110Primary: _primitives.additionalPrimitives.copper110,
|
|
48
|
+
copper35Secondary: _primitives.additionalPrimitives.copper35,
|
|
49
|
+
copper40Secondary: _primitives.additionalPrimitives.copper40,
|
|
50
|
+
copper50Secondary: _primitives.additionalPrimitives.copper50,
|
|
51
|
+
copper57Secondary: _primitives.additionalPrimitives.copper57,
|
|
52
|
+
copper90Secondary: _primitives.additionalPrimitives.copper90,
|
|
53
|
+
honey12Primary: _primitives.additionalPrimitives.honey12,
|
|
54
|
+
honey30Primary: _primitives.additionalPrimitives.honey30,
|
|
55
|
+
honey45Primary: _primitives.additionalPrimitives.honey45,
|
|
56
|
+
honey70Primary: _primitives.additionalPrimitives.honey70,
|
|
57
|
+
honey110Primary: _primitives.additionalPrimitives.honey110,
|
|
58
|
+
honey35Secondary: _primitives.additionalPrimitives.honey35,
|
|
59
|
+
honey40Secondary: _primitives.additionalPrimitives.honey40,
|
|
60
|
+
honey50Secondary: _primitives.additionalPrimitives.honey50,
|
|
61
|
+
honey57Secondary: _primitives.additionalPrimitives.honey57,
|
|
62
|
+
honey90Secondary: _primitives.additionalPrimitives.honey90,
|
|
63
|
+
forest12Primary: _primitives.additionalPrimitives.forest12,
|
|
64
|
+
forest30Primary: _primitives.additionalPrimitives.forest30,
|
|
65
|
+
forest45Primary: _primitives.additionalPrimitives.forest45,
|
|
66
|
+
forest70Primary: _primitives.additionalPrimitives.forest70,
|
|
67
|
+
forest110Primary: _primitives.additionalPrimitives.forest110,
|
|
68
|
+
forest35Secondary: _primitives.additionalPrimitives.forest35,
|
|
69
|
+
forest40Secondary: _primitives.additionalPrimitives.forest40,
|
|
70
|
+
forest50Secondary: _primitives.additionalPrimitives.forest50,
|
|
71
|
+
forest57Secondary: _primitives.additionalPrimitives.forest57,
|
|
72
|
+
forest90Secondary: _primitives.additionalPrimitives.forest90,
|
|
73
|
+
aurora12Primary: _primitives.additionalPrimitives.aurora12,
|
|
74
|
+
aurora30Primary: _primitives.additionalPrimitives.aurora30,
|
|
75
|
+
aurora45Primary: _primitives.additionalPrimitives.aurora45,
|
|
76
|
+
aurora70Primary: _primitives.additionalPrimitives.aurora70,
|
|
77
|
+
aurora110Primary: _primitives.additionalPrimitives.aurora110,
|
|
78
|
+
aurora35Secondary: _primitives.additionalPrimitives.aurora35,
|
|
79
|
+
aurora40Secondary: _primitives.additionalPrimitives.aurora40,
|
|
80
|
+
aurora50Secondary: _primitives.additionalPrimitives.aurora50,
|
|
81
|
+
aurora57Secondary: _primitives.additionalPrimitives.aurora57,
|
|
82
|
+
aurora90Secondary: _primitives.additionalPrimitives.aurora90,
|
|
83
|
+
sea12Primary: _primitives.additionalPrimitives.sea12,
|
|
84
|
+
sea30Primary: _primitives.additionalPrimitives.sea30,
|
|
85
|
+
sea45Primary: _primitives.additionalPrimitives.sea45,
|
|
86
|
+
sea70Primary: _primitives.additionalPrimitives.sea70,
|
|
87
|
+
sea110Primary: _primitives.additionalPrimitives.sea110,
|
|
88
|
+
sea35Secondary: _primitives.additionalPrimitives.sea35,
|
|
89
|
+
sea40Secondary: _primitives.additionalPrimitives.sea40,
|
|
90
|
+
sea50Secondary: _primitives.additionalPrimitives.sea50,
|
|
91
|
+
sea57Secondary: _primitives.additionalPrimitives.sea57,
|
|
92
|
+
sea90Secondary: _primitives.additionalPrimitives.sea90,
|
|
93
|
+
sky12Primary: _primitives.additionalPrimitives.sky12,
|
|
94
|
+
sky30Primary: _primitives.additionalPrimitives.sky30,
|
|
95
|
+
sky45Primary: _primitives.additionalPrimitives.sky45,
|
|
96
|
+
sky70Primary: _primitives.additionalPrimitives.sky70,
|
|
97
|
+
sky110Primary: _primitives.additionalPrimitives.sky110,
|
|
98
|
+
sky35Secondary: _primitives.additionalPrimitives.sky35,
|
|
99
|
+
sky40Secondary: _primitives.additionalPrimitives.sky40,
|
|
100
|
+
sky50Secondary: _primitives.additionalPrimitives.sky50,
|
|
101
|
+
sky57Secondary: _primitives.additionalPrimitives.sky57,
|
|
102
|
+
sky90Secondary: _primitives.additionalPrimitives.sky90,
|
|
103
|
+
ocean12Primary: _primitives.additionalPrimitives.ocean12,
|
|
104
|
+
ocean30Primary: _primitives.additionalPrimitives.ocean30,
|
|
105
|
+
ocean45Primary: _primitives.additionalPrimitives.ocean45,
|
|
106
|
+
ocean70Primary: _primitives.additionalPrimitives.ocean70,
|
|
107
|
+
ocean110Primary: _primitives.additionalPrimitives.ocean110,
|
|
108
|
+
ocean35Secondary: _primitives.additionalPrimitives.ocean35,
|
|
109
|
+
ocean40Secondary: _primitives.additionalPrimitives.ocean40,
|
|
110
|
+
ocean50Secondary: _primitives.additionalPrimitives.ocean50,
|
|
111
|
+
ocean57Secondary: _primitives.additionalPrimitives.ocean57,
|
|
112
|
+
ocean90Secondary: _primitives.additionalPrimitives.ocean90,
|
|
113
|
+
violet12Primary: _primitives.additionalPrimitives.violet12,
|
|
114
|
+
violet30Primary: _primitives.additionalPrimitives.violet30,
|
|
115
|
+
violet45Primary: _primitives.additionalPrimitives.violet45,
|
|
116
|
+
violet70Primary: _primitives.additionalPrimitives.violet70,
|
|
117
|
+
violet110Primary: _primitives.additionalPrimitives.violet110,
|
|
118
|
+
violet35Secondary: _primitives.additionalPrimitives.violet35,
|
|
119
|
+
violet40Secondary: _primitives.additionalPrimitives.violet40,
|
|
120
|
+
violet50Secondary: _primitives.additionalPrimitives.violet50,
|
|
121
|
+
violet57Secondary: _primitives.additionalPrimitives.violet57,
|
|
122
|
+
violet90Secondary: _primitives.additionalPrimitives.violet90,
|
|
123
|
+
plum12Primary: _primitives.additionalPrimitives.plum12,
|
|
124
|
+
plum30Primary: _primitives.additionalPrimitives.plum30,
|
|
125
|
+
plum45Primary: _primitives.additionalPrimitives.plum45,
|
|
126
|
+
plum70Primary: _primitives.additionalPrimitives.plum70,
|
|
127
|
+
plum110Primary: _primitives.additionalPrimitives.plum110,
|
|
128
|
+
plum35Secondary: _primitives.additionalPrimitives.plum35,
|
|
129
|
+
plum40Secondary: _primitives.additionalPrimitives.plum40,
|
|
130
|
+
plum50Secondary: _primitives.additionalPrimitives.plum50,
|
|
131
|
+
plum57Secondary: _primitives.additionalPrimitives.plum57,
|
|
132
|
+
plum90Secondary: _primitives.additionalPrimitives.plum90,
|
|
133
|
+
stone12Primary: _primitives.additionalPrimitives.stone12,
|
|
134
|
+
stone30Primary: _primitives.additionalPrimitives.stone30,
|
|
135
|
+
stone45Primary: _primitives.additionalPrimitives.stone45,
|
|
136
|
+
stone70Primary: _primitives.additionalPrimitives.stone70,
|
|
137
|
+
stone110Primary: _primitives.additionalPrimitives.stone110,
|
|
138
|
+
stone35Secondary: _primitives.additionalPrimitives.stone35,
|
|
139
|
+
stone40Secondary: _primitives.additionalPrimitives.stone40,
|
|
140
|
+
stone50Secondary: _primitives.additionalPrimitives.stone50,
|
|
141
|
+
stone57Secondary: _primitives.additionalPrimitives.stone57,
|
|
142
|
+
stone90Secondary: _primitives.additionalPrimitives.stone90
|
|
143
|
+
};
|
|
144
|
+
var _default = exports.default = dataVisualization;
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.primitives = exports.additionalPrimitives = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const primitives = exports.primitives = {
|
|
32
|
+
white: '#FFFFFF',
|
|
33
|
+
white10op75: '#FFFFFFBF',
|
|
34
|
+
grey11: '#F2F4F4',
|
|
35
|
+
grey12: '#E8EAEC',
|
|
36
|
+
grey14: '#D7DADE',
|
|
37
|
+
grey24: '#9EA6AD',
|
|
38
|
+
grey45: '#6A7883',
|
|
39
|
+
grey57: '#586874',
|
|
40
|
+
grey70: '#4A5B68',
|
|
41
|
+
grey82: '#3F515E',
|
|
42
|
+
grey100: '#334451',
|
|
43
|
+
grey100op75: '#334451BF',
|
|
44
|
+
grey125: '#273540',
|
|
45
|
+
blue12: '#E0EBF5',
|
|
46
|
+
blue45: '#2B7ABC',
|
|
47
|
+
blue57: '#0E68B3',
|
|
48
|
+
blue70: '#0A5A9E',
|
|
49
|
+
blue82: '#09508C',
|
|
50
|
+
green12: '#DCEEE4',
|
|
51
|
+
green45: '#03893D',
|
|
52
|
+
green57: '#027634',
|
|
53
|
+
green70: '#02672D',
|
|
54
|
+
green82: '#015B28',
|
|
55
|
+
orange12: '#FCE5D9',
|
|
56
|
+
orange30: '#F06E26',
|
|
57
|
+
orange45: '#CF4A00',
|
|
58
|
+
orange57: '#B34000',
|
|
59
|
+
orange70: '#9C3800',
|
|
60
|
+
orange82: '#8B3200',
|
|
61
|
+
red12: '#FCE4E5',
|
|
62
|
+
red45: '#E62429',
|
|
63
|
+
red57: '#C71F23',
|
|
64
|
+
red70: '#AE1B1F',
|
|
65
|
+
red82: '#9B181C'
|
|
66
|
+
};
|
|
67
|
+
const additionalPrimitives = exports.additionalPrimitives = {
|
|
68
|
+
rose12: '#FEE4E4',
|
|
69
|
+
rose30: '#FB5D5D',
|
|
70
|
+
rose35: '#FA3F3F',
|
|
71
|
+
rose40: '#FA1A1A',
|
|
72
|
+
rose45: '#ED0000',
|
|
73
|
+
rose50: '#E00000',
|
|
74
|
+
rose57: '#CE0000',
|
|
75
|
+
rose70: '#B50000',
|
|
76
|
+
rose90: '#970000',
|
|
77
|
+
rose110: '#7F0000',
|
|
78
|
+
copper12: '#FFE5D3',
|
|
79
|
+
copper30: '#EE6D15',
|
|
80
|
+
copper35: '#DB6414',
|
|
81
|
+
copper40: '#CD5E12',
|
|
82
|
+
copper45: '#BF5811',
|
|
83
|
+
copper50: '#B45310',
|
|
84
|
+
copper57: '#A54C0F',
|
|
85
|
+
copper70: '#90420D',
|
|
86
|
+
copper90: '#77360B',
|
|
87
|
+
copper110: '#622D09',
|
|
88
|
+
honey12: '#F5E9CA',
|
|
89
|
+
honey30: '#C08A00',
|
|
90
|
+
honey35: '#A57600',
|
|
91
|
+
honey40: '#B07E00',
|
|
92
|
+
honey45: '#996E00',
|
|
93
|
+
honey50: '#916800',
|
|
94
|
+
honey57: '#856000',
|
|
95
|
+
honey70: '#745300',
|
|
96
|
+
honey90: '#5F4400',
|
|
97
|
+
honey110: '#4E3800',
|
|
98
|
+
forest12: '#DFEEE0',
|
|
99
|
+
forest30: '#55A459',
|
|
100
|
+
forest35: '#409945',
|
|
101
|
+
forest40: '#319135',
|
|
102
|
+
forest45: '#27872B',
|
|
103
|
+
forest50: '#248029',
|
|
104
|
+
forest57: '#217526',
|
|
105
|
+
forest70: '#1D6621',
|
|
106
|
+
forest90: '#18541B',
|
|
107
|
+
forest110: '#144516',
|
|
108
|
+
aurora12: '#DAEEE8',
|
|
109
|
+
aurora30: '#38A585',
|
|
110
|
+
aurora35: '#1E9975',
|
|
111
|
+
aurora40: '#0B9069',
|
|
112
|
+
aurora45: '#048660',
|
|
113
|
+
aurora50: '#047F5B',
|
|
114
|
+
aurora57: '#037453',
|
|
115
|
+
aurora70: '#036549',
|
|
116
|
+
aurora90: '#02533C',
|
|
117
|
+
aurora110: '#024531',
|
|
118
|
+
sea12: '#DAEEEF',
|
|
119
|
+
sea30: '#37A1AA',
|
|
120
|
+
sea35: '#1E95A0',
|
|
121
|
+
sea40: '#0A8C97',
|
|
122
|
+
sea45: '#00828E',
|
|
123
|
+
sea50: '#007B86',
|
|
124
|
+
sea57: '#00717B',
|
|
125
|
+
sea70: '#00626B',
|
|
126
|
+
sea90: '#005158',
|
|
127
|
+
sea110: '#004349',
|
|
128
|
+
sky12: '#DDECF3',
|
|
129
|
+
sky30: '#4E9CC0',
|
|
130
|
+
sky35: '#3890B8',
|
|
131
|
+
sky40: '#2887B2',
|
|
132
|
+
sky45: '#197EAB',
|
|
133
|
+
sky50: '#1777A2',
|
|
134
|
+
sky57: '#156D94',
|
|
135
|
+
sky70: '#135F81',
|
|
136
|
+
sky90: '#0F4E6A',
|
|
137
|
+
sky110: '#0D4058',
|
|
138
|
+
ocean12: '#DFEBFB',
|
|
139
|
+
ocean30: '#5694EB',
|
|
140
|
+
ocean35: '#4187E8',
|
|
141
|
+
ocean40: '#317DE6',
|
|
142
|
+
ocean45: '#2573DF',
|
|
143
|
+
ocean50: '#236DD3',
|
|
144
|
+
ocean57: '#2063C1',
|
|
145
|
+
ocean70: '#1C57A8',
|
|
146
|
+
ocean90: '#17478B',
|
|
147
|
+
ocean110: '#133B72',
|
|
148
|
+
violet12: '#F1E6F5',
|
|
149
|
+
violet30: '#B57FCC',
|
|
150
|
+
violet35: '#AC6FC6',
|
|
151
|
+
violet40: '#A564C2',
|
|
152
|
+
violet45: '#9E58BD',
|
|
153
|
+
violet50: '#994FB9',
|
|
154
|
+
violet57: '#9242B4',
|
|
155
|
+
violet70: '#7F399E',
|
|
156
|
+
violet90: '#682F82',
|
|
157
|
+
violet110: '#56276B',
|
|
158
|
+
plum12: '#F7E5F0',
|
|
159
|
+
plum30: '#D473B1',
|
|
160
|
+
plum35: '#CE60A7',
|
|
161
|
+
plum40: '#CA529F',
|
|
162
|
+
plum45: '#C54396',
|
|
163
|
+
plum50: '#C1368F',
|
|
164
|
+
plum57: '#BA2083',
|
|
165
|
+
plum70: '#A31C73',
|
|
166
|
+
plum90: '#87175F',
|
|
167
|
+
plum110: '#70134F',
|
|
168
|
+
stone12: '#EAEAEA',
|
|
169
|
+
stone30: '#939393',
|
|
170
|
+
stone35: '#878787',
|
|
171
|
+
stone40: '#7F7F7F',
|
|
172
|
+
stone45: '#767676',
|
|
173
|
+
stone50: '#6F6F6F',
|
|
174
|
+
stone57: '#666666',
|
|
175
|
+
stone70: '#585858',
|
|
176
|
+
stone90: '#494949',
|
|
177
|
+
stone110: '#3C3C3C'
|
|
178
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.forms = exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const forms = exports.forms = Object.freeze({
|
|
32
|
+
inputHeightSmall: '1.75rem',
|
|
33
|
+
inputHeightMedium: '2.375rem',
|
|
34
|
+
inputHeightLarge: '3rem'
|
|
35
|
+
});
|
|
36
|
+
var _default = exports.default = forms;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.canvas = void 0;
|
|
7
|
+
var _borders = require("./borders");
|
|
8
|
+
var _transitions = require("./transitions");
|
|
9
|
+
var _typography = require("./typography");
|
|
10
|
+
var _spacing = require("./spacing");
|
|
11
|
+
var _forms = require("./forms");
|
|
12
|
+
var _media = require("./media");
|
|
13
|
+
var _breakpoints = require("./breakpoints");
|
|
14
|
+
var _shadows = require("./shadows");
|
|
15
|
+
var _stacking = require("./stacking");
|
|
16
|
+
/*
|
|
17
|
+
* The MIT License (MIT)
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
20
|
+
*
|
|
21
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
22
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
23
|
+
* in the Software without restriction, including without limitation the rights
|
|
24
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
25
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
26
|
+
* furnished to do so, subject to the following conditions:
|
|
27
|
+
*
|
|
28
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
29
|
+
* copies or substantial portions of the Software.
|
|
30
|
+
*
|
|
31
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
32
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
33
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
34
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
35
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
36
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
37
|
+
* SOFTWARE.
|
|
38
|
+
*/
|
|
39
|
+
|
|
40
|
+
const canvas = exports.canvas = {
|
|
41
|
+
borders: _borders.borders,
|
|
42
|
+
transitions: _transitions.transitions,
|
|
43
|
+
typography: _typography.typography,
|
|
44
|
+
spacing: _spacing.spacing,
|
|
45
|
+
forms: _forms.forms,
|
|
46
|
+
media: _media.media,
|
|
47
|
+
breakpoints: _breakpoints.breakpoints,
|
|
48
|
+
shadows: _shadows.shadows,
|
|
49
|
+
stacking: _stacking.stacking
|
|
50
|
+
};
|
|
51
|
+
var _default = exports.default = canvas;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.media = exports.default = void 0;
|
|
7
|
+
var _breakpoints = require("./breakpoints");
|
|
8
|
+
/*
|
|
9
|
+
* The MIT License (MIT)
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
12
|
+
*
|
|
13
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
* in the Software without restriction, including without limitation the rights
|
|
16
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
* furnished to do so, subject to the following conditions:
|
|
19
|
+
*
|
|
20
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
* copies or substantial portions of the Software.
|
|
22
|
+
*
|
|
23
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
* SOFTWARE.
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
const media = exports.media = Object.freeze({
|
|
33
|
+
mediumMin: `min-width: ${_breakpoints.breakpoints.medium}`,
|
|
34
|
+
largeMin: `min-width: ${_breakpoints.breakpoints.large}`,
|
|
35
|
+
xLargeMin: `min-width: ${_breakpoints.breakpoints.xLarge}`
|
|
36
|
+
});
|
|
37
|
+
var _default = exports.default = media;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.shadows = exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
// use for consistent box shadows
|
|
32
|
+
const values = ['0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2), 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1)', '0 0.1875rem 0.375rem rgba(0, 0, 0, 0.1), 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16)', '0 0.375rem 0.4375rem rgba(0, 0, 0, 0.1), 0 0.625rem 1.75rem rgba(0, 0, 0, 0.25)'];
|
|
33
|
+
const shadows = exports.shadows = Object.freeze({
|
|
34
|
+
depth1: values[0],
|
|
35
|
+
depth2: values[1],
|
|
36
|
+
depth3: values[2],
|
|
37
|
+
resting: values[0],
|
|
38
|
+
above: values[1],
|
|
39
|
+
topmost: values[2]
|
|
40
|
+
});
|
|
41
|
+
var _default = exports.default = shadows;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.spacing = exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const spacing = exports.spacing = Object.freeze({
|
|
32
|
+
xxxSmall: '0.125rem',
|
|
33
|
+
// 2px
|
|
34
|
+
xxSmall: '0.375rem',
|
|
35
|
+
// 6px
|
|
36
|
+
xSmall: '0.5rem',
|
|
37
|
+
// 8px
|
|
38
|
+
small: '0.75rem',
|
|
39
|
+
// 12px
|
|
40
|
+
mediumSmall: '1rem',
|
|
41
|
+
// 16px
|
|
42
|
+
medium: '1.5rem',
|
|
43
|
+
// 24px
|
|
44
|
+
large: '2.25rem',
|
|
45
|
+
// 36px
|
|
46
|
+
xLarge: '3rem',
|
|
47
|
+
// 48px
|
|
48
|
+
xxLarge: '3.75rem' // 60px
|
|
49
|
+
});
|
|
50
|
+
var _default = exports.default = spacing;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.stacking = exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const stacking = exports.stacking = Object.freeze({
|
|
32
|
+
topmost: 9999,
|
|
33
|
+
above: 1,
|
|
34
|
+
below: -1,
|
|
35
|
+
deepest: -9999
|
|
36
|
+
});
|
|
37
|
+
var _default = exports.default = stacking;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.transitions = exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const transitions = exports.transitions = Object.freeze({
|
|
32
|
+
duration: '300ms',
|
|
33
|
+
timing: 'ease-in-out'
|
|
34
|
+
});
|
|
35
|
+
var _default = exports.default = transitions;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.typography = exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const typography = exports.typography = Object.freeze({
|
|
32
|
+
fontFamily: 'LatoWeb, Lato, "Helvetica Neue", Helvetica, Arial, sans-serif',
|
|
33
|
+
fontFamilyMonospace: 'Menlo, Consolas, Monaco, "Andale Mono", monospace',
|
|
34
|
+
fontSizeXSmall: '0.75rem',
|
|
35
|
+
// 12px
|
|
36
|
+
fontSizeSmall: '0.875rem',
|
|
37
|
+
// 14px
|
|
38
|
+
fontSizeMedium: '1rem',
|
|
39
|
+
// 16px
|
|
40
|
+
fontSizeLarge: '1.375rem',
|
|
41
|
+
// 22px
|
|
42
|
+
fontSizeXLarge: '1.75rem',
|
|
43
|
+
// 28px
|
|
44
|
+
fontSizeXXLarge: '2.375rem',
|
|
45
|
+
// 38px
|
|
46
|
+
|
|
47
|
+
fontWeightLight: 300,
|
|
48
|
+
fontWeightNormal: 400,
|
|
49
|
+
fontWeightBold: 700,
|
|
50
|
+
lineHeight: 1.5,
|
|
51
|
+
// 24px
|
|
52
|
+
lineHeightFit: 1.125,
|
|
53
|
+
lineHeightCondensed: 1.25,
|
|
54
|
+
lineHeightDouble: 2,
|
|
55
|
+
letterSpacingNormal: 0,
|
|
56
|
+
letterSpacingCondensed: '-0.0625rem',
|
|
57
|
+
letterSpacingExpanded: '0.0625rem'
|
|
58
|
+
});
|
|
59
|
+
var _default = exports.default = typography;
|