@codecademy/gamut-styles 17.9.1-alpha.2ea313.0 → 17.9.1-alpha.3e8b72.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/package.json +3 -3
- package/dist/AssetProvider.d.ts +0 -2
- package/dist/AssetProvider.js +0 -20
- package/dist/Background.d.ts +0 -6
- package/dist/Background.js +0 -66
- package/dist/ColorMode.d.ts +0 -1312
- package/dist/ColorMode.js +0 -134
- package/dist/GamutProvider.d.ts +0 -23
- package/dist/GamutProvider.js +0 -64
- package/dist/cache/createEmotionCache.d.ts +0 -4
- package/dist/cache/createEmotionCache.js +0 -25
- package/dist/cache/index.d.ts +0 -1
- package/dist/cache/index.js +0 -1
- package/dist/cache/stylisPlugins/focusVisible.d.ts +0 -2
- package/dist/cache/stylisPlugins/focusVisible.js +0 -10
- package/dist/cache/stylisPlugins/index.d.ts +0 -1
- package/dist/cache/stylisPlugins/index.js +0 -1
- package/dist/globals/Reboot.d.ts +0 -1
- package/dist/globals/Reboot.js +0 -7
- package/dist/globals/Typography.d.ts +0 -1
- package/dist/globals/Typography.js +0 -20
- package/dist/globals/Variables.d.ts +0 -5
- package/dist/globals/Variables.js +0 -15
- package/dist/globals/index.d.ts +0 -2
- package/dist/globals/index.js +0 -2
- package/dist/index.d.ts +0 -13
- package/dist/index.js +0 -13
- package/dist/remoteAssets/fonts.d.ts +0 -26
- package/dist/remoteAssets/fonts.js +0 -34
- package/dist/styles/boxShadow.d.ts +0 -26
- package/dist/styles/boxShadow.js +0 -34
- package/dist/styles/fontSmoothing.d.ts +0 -29
- package/dist/styles/fontSmoothing.js +0 -27
- package/dist/styles/index.d.ts +0 -7
- package/dist/styles/index.js +0 -7
- package/dist/styles/noSelect.d.ts +0 -1
- package/dist/styles/noSelect.js +0 -11
- package/dist/styles/pxRem.d.ts +0 -1
- package/dist/styles/pxRem.js +0 -4
- package/dist/styles/responsive.d.ts +0 -6
- package/dist/styles/responsive.js +0 -12
- package/dist/styles/screenReaderOnly.d.ts +0 -2
- package/dist/styles/screenReaderOnly.js +0 -20
- package/dist/styles/transitionConcat.d.ts +0 -3
- package/dist/styles/transitionConcat.js +0 -6
- package/dist/themes/admin.d.ts +0 -966
- package/dist/themes/admin.js +0 -15
- package/dist/themes/core.d.ts +0 -519
- package/dist/themes/core.js +0 -132
- package/dist/themes/index.d.ts +0 -4
- package/dist/themes/index.js +0 -4
- package/dist/themes/lxStudio.d.ts +0 -1080
- package/dist/themes/lxStudio.js +0 -54
- package/dist/themes/platform.d.ts +0 -1157
- package/dist/themes/platform.js +0 -78
- package/dist/typings/theme.d.ts +0 -6
- package/dist/utilities/index.d.ts +0 -1
- package/dist/utilities/index.js +0 -1
- package/dist/utilities/themed.d.ts +0 -14
- package/dist/utilities/themed.js +0 -16
- package/dist/variables/borderRadii.d.ts +0 -8
- package/dist/variables/borderRadii.js +0 -8
- package/dist/variables/colors.d.ts +0 -310
- package/dist/variables/colors.js +0 -170
- package/dist/variables/deprecated-colors.d.ts +0 -156
- package/dist/variables/deprecated-colors.js +0 -156
- package/dist/variables/elements.d.ts +0 -11
- package/dist/variables/elements.js +0 -11
- package/dist/variables/index.d.ts +0 -8
- package/dist/variables/index.js +0 -9
- package/dist/variables/responsive.d.ts +0 -28
- package/dist/variables/responsive.js +0 -28
- package/dist/variables/spacing.d.ts +0 -13
- package/dist/variables/spacing.js +0 -14
- package/dist/variables/timing.d.ts +0 -12
- package/dist/variables/timing.js +0 -12
- package/dist/variables/typography.d.ts +0 -32
- package/dist/variables/typography.js +0 -39
- package/dist/variance/config.d.ts +0 -1052
- package/dist/variance/config.js +0 -514
- package/dist/variance/index.d.ts +0 -3
- package/dist/variance/index.js +0 -3
- package/dist/variance/props.d.ts +0 -1963
- package/dist/variance/props.js +0 -24
- package/dist/variance/utils.d.ts +0 -29
- package/dist/variance/utils.js +0 -34
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated
|
|
3
|
-
* Using these variables directly is no longer supported.
|
|
4
|
-
*
|
|
5
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
6
|
-
*/
|
|
7
|
-
export declare const interactiveColors: {
|
|
8
|
-
readonly dark: "#3A10E5";
|
|
9
|
-
readonly light: "#FFD300";
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated
|
|
13
|
-
* Using these variables directly is no longer supported.
|
|
14
|
-
*
|
|
15
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
16
|
-
*/
|
|
17
|
-
export declare const editorColors: {
|
|
18
|
-
readonly blue: "#83fff5";
|
|
19
|
-
readonly deepPurple: "#cc7bc2";
|
|
20
|
-
readonly gray: "#939598";
|
|
21
|
-
readonly green: "#b4d353";
|
|
22
|
-
readonly orange: "#ff8973";
|
|
23
|
-
readonly purple: "#b3ccff";
|
|
24
|
-
readonly red: "#ea6c8b";
|
|
25
|
-
readonly yellow: "#ffe083";
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated
|
|
29
|
-
* Using these variables directly is no longer supported.
|
|
30
|
-
*
|
|
31
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
32
|
-
*/
|
|
33
|
-
export declare const platformColors: {
|
|
34
|
-
readonly mint: {
|
|
35
|
-
readonly '500': "#37c3be";
|
|
36
|
-
readonly '600': "#2c9c98";
|
|
37
|
-
readonly '700': "#217572";
|
|
38
|
-
};
|
|
39
|
-
readonly purple: {
|
|
40
|
-
readonly '200': "#c3c1d7";
|
|
41
|
-
readonly '300': "#a5a1c2";
|
|
42
|
-
readonly '400': "#8782ae";
|
|
43
|
-
readonly '500': "#69639a";
|
|
44
|
-
readonly '600': "#544f7b";
|
|
45
|
-
readonly '700': "#3f3b5c";
|
|
46
|
-
readonly '800': "#2a283e";
|
|
47
|
-
readonly '900': "#15141f";
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated
|
|
52
|
-
* Using these variables directly is no longer supported.
|
|
53
|
-
*
|
|
54
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
55
|
-
*/
|
|
56
|
-
export declare const swatches: {
|
|
57
|
-
readonly beige: {
|
|
58
|
-
readonly '0': "#FFF0E5";
|
|
59
|
-
};
|
|
60
|
-
readonly blue: {
|
|
61
|
-
readonly '0': "#F5FCFF";
|
|
62
|
-
readonly '300': "#66C4FF";
|
|
63
|
-
readonly '500': "#1557FF";
|
|
64
|
-
readonly '800': "#1D2340";
|
|
65
|
-
readonly '900': "#10162f";
|
|
66
|
-
};
|
|
67
|
-
readonly green: {
|
|
68
|
-
readonly '0': "#F5FFE3";
|
|
69
|
-
readonly '400': "#AEE938";
|
|
70
|
-
readonly '700': "#008A27";
|
|
71
|
-
};
|
|
72
|
-
readonly yellow: {
|
|
73
|
-
readonly '0': "#FFFAE5";
|
|
74
|
-
readonly '400': "#CCA900";
|
|
75
|
-
readonly '500': "#FFD300";
|
|
76
|
-
};
|
|
77
|
-
readonly pink: {
|
|
78
|
-
readonly '0': "#FFF5FF";
|
|
79
|
-
readonly '400': "#F966FF";
|
|
80
|
-
};
|
|
81
|
-
readonly red: {
|
|
82
|
-
readonly '500': "#E91C11";
|
|
83
|
-
};
|
|
84
|
-
readonly orange: {
|
|
85
|
-
readonly '500': "#FF8C00";
|
|
86
|
-
};
|
|
87
|
-
readonly hyper: {
|
|
88
|
-
readonly '400': "#5533FF";
|
|
89
|
-
readonly '500': "#3A10E5";
|
|
90
|
-
};
|
|
91
|
-
readonly gray: {
|
|
92
|
-
readonly '0': "#ffffff";
|
|
93
|
-
readonly '100': "#f6f5fa";
|
|
94
|
-
readonly '200': "#dddce0";
|
|
95
|
-
readonly '300': "#c4c3c7";
|
|
96
|
-
readonly '400': "#a2a2a6";
|
|
97
|
-
readonly '500': "#828285";
|
|
98
|
-
readonly '600': "#646466";
|
|
99
|
-
readonly '700': "#4b4b4d";
|
|
100
|
-
readonly '800': "#323233";
|
|
101
|
-
readonly '900': "#19191a";
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* @deprecated
|
|
106
|
-
* Using these variables directly is no longer supported.
|
|
107
|
-
*
|
|
108
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
109
|
-
*/
|
|
110
|
-
export declare const colors: {
|
|
111
|
-
readonly beige: "#FFF0E5";
|
|
112
|
-
readonly blue: "#1557FF";
|
|
113
|
-
readonly green: "#008A27";
|
|
114
|
-
readonly hyper: "#3A10E5";
|
|
115
|
-
readonly lightBlue: "#66C4FF";
|
|
116
|
-
readonly lightGreen: "#AEE938";
|
|
117
|
-
readonly navy: "#10162f";
|
|
118
|
-
readonly orange: "#FF8C00";
|
|
119
|
-
readonly paleBlue: "#F5FCFF";
|
|
120
|
-
readonly paleGreen: "#F5FFE3";
|
|
121
|
-
readonly palePink: "#FFF5FF";
|
|
122
|
-
readonly paleYellow: "#FFFAE5";
|
|
123
|
-
readonly pink: "#F966FF";
|
|
124
|
-
readonly red: "#E91C11";
|
|
125
|
-
readonly yellow: "#FFD300";
|
|
126
|
-
readonly black: "#000000";
|
|
127
|
-
readonly white: "#ffffff";
|
|
128
|
-
readonly "blue-0": "#F5FCFF";
|
|
129
|
-
readonly "blue-300": "#66C4FF";
|
|
130
|
-
readonly "blue-500": "#1557FF";
|
|
131
|
-
readonly "blue-800": "#1D2340";
|
|
132
|
-
readonly "green-0": "#F5FFE3";
|
|
133
|
-
readonly "green-400": "#AEE938";
|
|
134
|
-
readonly "green-700": "#008A27";
|
|
135
|
-
readonly "yellow-0": "#FFFAE5";
|
|
136
|
-
readonly "yellow-400": "#CCA900";
|
|
137
|
-
readonly "yellow-500": "#FFD300";
|
|
138
|
-
readonly "pink-0": "#FFF5FF";
|
|
139
|
-
readonly "pink-400": "#F966FF";
|
|
140
|
-
readonly "red-500": "#E91C11";
|
|
141
|
-
readonly "orange-500": "#FF8C00";
|
|
142
|
-
readonly "hyper-400": "#5533FF";
|
|
143
|
-
readonly "hyper-500": "#3A10E5";
|
|
144
|
-
readonly "gray-100": "#f6f5fa";
|
|
145
|
-
readonly "gray-300": "#c4c3c7";
|
|
146
|
-
readonly "gray-800": "#323233";
|
|
147
|
-
readonly "gray-200": "#dddce0";
|
|
148
|
-
readonly "gray-600": "#646466";
|
|
149
|
-
readonly "gray-900": "#19191a";
|
|
150
|
-
readonly "beige-0": "#FFF0E5";
|
|
151
|
-
readonly "blue-900": "#10162f";
|
|
152
|
-
readonly "gray-0": "#ffffff";
|
|
153
|
-
readonly "gray-400": "#a2a2a6";
|
|
154
|
-
readonly "gray-500": "#828285";
|
|
155
|
-
readonly "gray-700": "#4b4b4d";
|
|
156
|
-
};
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import { flattenScale } from '@codecademy/variance';
|
|
2
|
-
import { corePalette } from './colors';
|
|
3
|
-
const {
|
|
4
|
-
black,
|
|
5
|
-
white
|
|
6
|
-
} = corePalette;
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated
|
|
10
|
-
* Using these variables directly is no longer supported.
|
|
11
|
-
*
|
|
12
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
export const interactiveColors = {
|
|
16
|
-
dark: corePalette.hyper,
|
|
17
|
-
light: corePalette.yellow
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated
|
|
22
|
-
* Using these variables directly is no longer supported.
|
|
23
|
-
*
|
|
24
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
export const editorColors = {
|
|
28
|
-
blue: '#83fff5',
|
|
29
|
-
deepPurple: '#cc7bc2',
|
|
30
|
-
gray: '#939598',
|
|
31
|
-
green: '#b4d353',
|
|
32
|
-
orange: '#ff8973',
|
|
33
|
-
purple: '#b3ccff',
|
|
34
|
-
red: '#ea6c8b',
|
|
35
|
-
yellow: '#ffe083'
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated
|
|
40
|
-
* Using these variables directly is no longer supported.
|
|
41
|
-
*
|
|
42
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
43
|
-
*/
|
|
44
|
-
|
|
45
|
-
export const platformColors = {
|
|
46
|
-
mint: {
|
|
47
|
-
'500': '#37c3be',
|
|
48
|
-
'600': '#2c9c98',
|
|
49
|
-
'700': '#217572'
|
|
50
|
-
},
|
|
51
|
-
purple: {
|
|
52
|
-
'200': '#c3c1d7',
|
|
53
|
-
'300': '#a5a1c2',
|
|
54
|
-
'400': '#8782ae',
|
|
55
|
-
'500': '#69639a',
|
|
56
|
-
'600': '#544f7b',
|
|
57
|
-
'700': '#3f3b5c',
|
|
58
|
-
'800': '#2a283e',
|
|
59
|
-
'900': '#15141f'
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @deprecated
|
|
65
|
-
* Using these variables directly is no longer supported.
|
|
66
|
-
*
|
|
67
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
68
|
-
*/
|
|
69
|
-
|
|
70
|
-
export const swatches = {
|
|
71
|
-
beige: {
|
|
72
|
-
'0': '#FFF0E5'
|
|
73
|
-
},
|
|
74
|
-
blue: {
|
|
75
|
-
'0': '#F5FCFF',
|
|
76
|
-
'300': '#66C4FF',
|
|
77
|
-
'500': '#1557FF',
|
|
78
|
-
'800': '#1D2340',
|
|
79
|
-
'900': '#10162f'
|
|
80
|
-
},
|
|
81
|
-
green: {
|
|
82
|
-
'0': '#F5FFE3',
|
|
83
|
-
'400': '#AEE938',
|
|
84
|
-
'700': '#008A27'
|
|
85
|
-
},
|
|
86
|
-
yellow: {
|
|
87
|
-
'0': '#FFFAE5',
|
|
88
|
-
'400': '#CCA900',
|
|
89
|
-
'500': '#FFD300'
|
|
90
|
-
},
|
|
91
|
-
pink: {
|
|
92
|
-
'0': '#FFF5FF',
|
|
93
|
-
'400': '#F966FF'
|
|
94
|
-
},
|
|
95
|
-
red: {
|
|
96
|
-
'500': '#E91C11'
|
|
97
|
-
},
|
|
98
|
-
orange: {
|
|
99
|
-
'500': '#FF8C00'
|
|
100
|
-
},
|
|
101
|
-
hyper: {
|
|
102
|
-
'400': '#5533FF',
|
|
103
|
-
'500': '#3A10E5'
|
|
104
|
-
},
|
|
105
|
-
gray: {
|
|
106
|
-
'0': white,
|
|
107
|
-
'100': '#f6f5fa',
|
|
108
|
-
'200': '#dddce0',
|
|
109
|
-
'300': '#c4c3c7',
|
|
110
|
-
'400': '#a2a2a6',
|
|
111
|
-
'500': '#828285',
|
|
112
|
-
'600': '#646466',
|
|
113
|
-
'700': '#4b4b4d',
|
|
114
|
-
'800': '#323233',
|
|
115
|
-
'900': '#19191a'
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @deprecated
|
|
121
|
-
* Using these variables directly is no longer supported.
|
|
122
|
-
*
|
|
123
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
124
|
-
*/
|
|
125
|
-
|
|
126
|
-
const trueColors = {
|
|
127
|
-
beige: swatches.beige[0],
|
|
128
|
-
blue: swatches.blue[500],
|
|
129
|
-
green: swatches.green[700],
|
|
130
|
-
hyper: swatches.hyper[500],
|
|
131
|
-
lightBlue: swatches.blue[300],
|
|
132
|
-
lightGreen: swatches.green[400],
|
|
133
|
-
navy: swatches.blue[900],
|
|
134
|
-
orange: swatches.orange[500],
|
|
135
|
-
paleBlue: swatches.blue[0],
|
|
136
|
-
paleGreen: swatches.green[0],
|
|
137
|
-
palePink: swatches.pink[0],
|
|
138
|
-
paleYellow: swatches.yellow[0],
|
|
139
|
-
pink: swatches.pink[400],
|
|
140
|
-
red: swatches.red[500],
|
|
141
|
-
yellow: swatches.yellow[500],
|
|
142
|
-
black,
|
|
143
|
-
white
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* @deprecated
|
|
148
|
-
* Using these variables directly is no longer supported.
|
|
149
|
-
*
|
|
150
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
151
|
-
*/
|
|
152
|
-
|
|
153
|
-
export const colors = {
|
|
154
|
-
...flattenScale(swatches),
|
|
155
|
-
...trueColors
|
|
156
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const elements: {
|
|
2
|
-
readonly headerHeight: {
|
|
3
|
-
readonly base: "4rem";
|
|
4
|
-
readonly md: "5rem";
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Semi-arbitrary z-index for global page headers.
|
|
8
|
-
* @remarks PLEASE talk to web platform before adding new z-index constants!
|
|
9
|
-
*/
|
|
10
|
-
readonly headerZ: 15;
|
|
11
|
-
};
|
package/dist/variables/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './borderRadii';
|
|
2
|
-
export * from './colors';
|
|
3
|
-
export * from './elements';
|
|
4
|
-
export * from './responsive';
|
|
5
|
-
export * from './spacing';
|
|
6
|
-
export * from './timing';
|
|
7
|
-
export * from './typography';
|
|
8
|
-
// Deprecated variables
|
|
9
|
-
export * from './deprecated-colors';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare const breakpoints: {
|
|
2
|
-
readonly xs: "480px";
|
|
3
|
-
readonly sm: "768px";
|
|
4
|
-
readonly md: "1024px";
|
|
5
|
-
readonly lg: "1200px";
|
|
6
|
-
readonly xl: "1440px";
|
|
7
|
-
};
|
|
8
|
-
export type MediaSize = keyof typeof breakpoints;
|
|
9
|
-
export type ContainerSize = keyof typeof containerQueries;
|
|
10
|
-
export declare const mediaQueries: {
|
|
11
|
-
xs: string;
|
|
12
|
-
sm: string;
|
|
13
|
-
md: string;
|
|
14
|
-
lg: string;
|
|
15
|
-
xl: string;
|
|
16
|
-
};
|
|
17
|
-
export declare const containerQueries: {
|
|
18
|
-
c_base: string;
|
|
19
|
-
c_xs: string;
|
|
20
|
-
c_sm: string;
|
|
21
|
-
c_md: string;
|
|
22
|
-
c_lg: string;
|
|
23
|
-
c_xl: string;
|
|
24
|
-
};
|
|
25
|
-
export declare const contentWidths: {
|
|
26
|
-
md: "1200px";
|
|
27
|
-
max: "1440px";
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export const breakpoints = {
|
|
2
|
-
xs: '480px',
|
|
3
|
-
sm: '768px',
|
|
4
|
-
md: '1024px',
|
|
5
|
-
lg: '1200px',
|
|
6
|
-
xl: '1440px'
|
|
7
|
-
};
|
|
8
|
-
const createMediaQuery = (size, direction) => `@media only screen and (${direction}-width: ${breakpoints[size]})`;
|
|
9
|
-
const createContainerQuery = (size, direction) => `@container (${direction}-width: ${breakpoints[size]})`;
|
|
10
|
-
export const mediaQueries = {
|
|
11
|
-
xs: createMediaQuery('xs', 'min'),
|
|
12
|
-
sm: createMediaQuery('sm', 'min'),
|
|
13
|
-
md: createMediaQuery('md', 'min'),
|
|
14
|
-
lg: createMediaQuery('lg', 'min'),
|
|
15
|
-
xl: createMediaQuery('xl', 'min')
|
|
16
|
-
};
|
|
17
|
-
export const containerQueries = {
|
|
18
|
-
c_base: '@container (min-width: 1px)',
|
|
19
|
-
c_xs: createContainerQuery('xs', 'min'),
|
|
20
|
-
c_sm: createContainerQuery('sm', 'min'),
|
|
21
|
-
c_md: createContainerQuery('md', 'min'),
|
|
22
|
-
c_lg: createContainerQuery('lg', 'min'),
|
|
23
|
-
c_xl: createContainerQuery('xl', 'min')
|
|
24
|
-
};
|
|
25
|
-
export const contentWidths = {
|
|
26
|
-
md: breakpoints.lg,
|
|
27
|
-
max: breakpoints.xl
|
|
28
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const spacing: {
|
|
2
|
-
readonly 0: 0;
|
|
3
|
-
readonly 4: string;
|
|
4
|
-
readonly 8: string;
|
|
5
|
-
readonly 12: string;
|
|
6
|
-
readonly 16: string;
|
|
7
|
-
readonly 24: string;
|
|
8
|
-
readonly 32: string;
|
|
9
|
-
readonly 40: string;
|
|
10
|
-
readonly 48: string;
|
|
11
|
-
readonly 64: string;
|
|
12
|
-
readonly 96: string;
|
|
13
|
-
};
|
package/dist/variables/timing.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export const timingValues = {
|
|
2
|
-
fast: 150,
|
|
3
|
-
medium: 200,
|
|
4
|
-
base: 300,
|
|
5
|
-
slow: 350
|
|
6
|
-
};
|
|
7
|
-
export const timing = {
|
|
8
|
-
fast: `${timingValues.fast}ms`,
|
|
9
|
-
medium: `${timingValues.medium}ms`,
|
|
10
|
-
base: `${timingValues.base}ms`,
|
|
11
|
-
slow: `${timingValues.slow}ms`
|
|
12
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const fontAccent = "\"Suisse\", \"Apercu\", -apple-system, BlinkMacSystemFont,\n\"Segoe UI\", \"Roboto\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\",\n\"Helvetica Neue\", sans-serif";
|
|
2
|
-
export declare const fontBase = "\"Apercu\", -apple-system, BlinkMacSystemFont, \"Segoe UI\",\n\"Roboto\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\",\nsans-serif";
|
|
3
|
-
export declare const fontMonospace = "Monaco, Menlo, \"Ubuntu Mono\", \"Droid Sans Mono\", Consolas,\nmonospace";
|
|
4
|
-
export declare const fontSystem = "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Ubuntu\",\n\"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif";
|
|
5
|
-
export declare const fontFamily: {
|
|
6
|
-
readonly accent: "\"Suisse\", \"Apercu\", -apple-system, BlinkMacSystemFont,\n\"Segoe UI\", \"Roboto\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\",\n\"Helvetica Neue\", sans-serif";
|
|
7
|
-
readonly base: "\"Apercu\", -apple-system, BlinkMacSystemFont, \"Segoe UI\",\n\"Roboto\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\",\nsans-serif";
|
|
8
|
-
readonly monospace: "Monaco, Menlo, \"Ubuntu Mono\", \"Droid Sans Mono\", Consolas,\nmonospace";
|
|
9
|
-
readonly system: "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Ubuntu\",\n\"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif";
|
|
10
|
-
};
|
|
11
|
-
export declare const fontSize: {
|
|
12
|
-
readonly 64: string;
|
|
13
|
-
readonly 44: string;
|
|
14
|
-
readonly 34: string;
|
|
15
|
-
readonly 26: string;
|
|
16
|
-
readonly 22: string;
|
|
17
|
-
readonly 20: string;
|
|
18
|
-
readonly 18: string;
|
|
19
|
-
readonly 16: string;
|
|
20
|
-
readonly 14: string;
|
|
21
|
-
};
|
|
22
|
-
export declare const lineHeight: {
|
|
23
|
-
readonly base: 1.5;
|
|
24
|
-
readonly spacedTitle: 1.3;
|
|
25
|
-
readonly title: 1.2;
|
|
26
|
-
};
|
|
27
|
-
export declare const fontWeight: {
|
|
28
|
-
readonly base: 400;
|
|
29
|
-
readonly title: 700;
|
|
30
|
-
readonly 700: 700;
|
|
31
|
-
readonly 400: 400;
|
|
32
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { pxRem } from '../styles/pxRem';
|
|
2
|
-
export const fontAccent = `"Suisse", "Apercu", -apple-system, BlinkMacSystemFont,
|
|
3
|
-
"Segoe UI", "Roboto", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
|
|
4
|
-
"Helvetica Neue", sans-serif`;
|
|
5
|
-
export const fontBase = `"Apercu", -apple-system, BlinkMacSystemFont, "Segoe UI",
|
|
6
|
-
"Roboto", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
|
|
7
|
-
sans-serif`;
|
|
8
|
-
export const fontMonospace = `Monaco, Menlo, "Ubuntu Mono", "Droid Sans Mono", Consolas,
|
|
9
|
-
monospace`;
|
|
10
|
-
export const fontSystem = `-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Ubuntu",
|
|
11
|
-
"Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif`;
|
|
12
|
-
export const fontFamily = {
|
|
13
|
-
accent: fontAccent,
|
|
14
|
-
base: fontBase,
|
|
15
|
-
monospace: fontMonospace,
|
|
16
|
-
system: fontSystem
|
|
17
|
-
};
|
|
18
|
-
export const fontSize = {
|
|
19
|
-
64: pxRem(64),
|
|
20
|
-
44: pxRem(44),
|
|
21
|
-
34: pxRem(34),
|
|
22
|
-
26: pxRem(26),
|
|
23
|
-
22: pxRem(22),
|
|
24
|
-
20: pxRem(20),
|
|
25
|
-
18: pxRem(18),
|
|
26
|
-
16: pxRem(16),
|
|
27
|
-
14: pxRem(14)
|
|
28
|
-
};
|
|
29
|
-
export const lineHeight = {
|
|
30
|
-
base: 1.5,
|
|
31
|
-
spacedTitle: 1.3,
|
|
32
|
-
title: 1.2
|
|
33
|
-
};
|
|
34
|
-
export const fontWeight = {
|
|
35
|
-
base: 400,
|
|
36
|
-
title: 700,
|
|
37
|
-
700: 700,
|
|
38
|
-
400: 400
|
|
39
|
-
};
|