@codecademy/gamut-styles 18.0.1-alpha.c211a2.0 → 18.0.1-alpha.df4bce.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/README.md +1 -1
- package/dist/themes/lxStudio.d.ts +1 -1
- package/dist/themes/percipio.d.ts +1 -1
- package/dist/variables/deprecated-colors.d.ts +156 -0
- package/dist/variables/deprecated-colors.js +156 -0
- package/dist/variables/index.d.ts +1 -0
- package/dist/variables/index.js +3 -1
- package/package.json +2 -2
- package/utils/variables/index.js +8 -0
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Base SCSS for Codecademy
|
|
|
5
5
|
## Variables/
|
|
6
6
|
|
|
7
7
|
This folder houses all shared SCSS style variables.
|
|
8
|
-
|
|
8
|
+
It also contains a JavaScript file with color variables.
|
|
9
9
|
|
|
10
10
|
## Core/
|
|
11
11
|
|
|
@@ -1086,7 +1086,7 @@ export declare const lxStudioTheme: Record<"breakpoints", {
|
|
|
1086
1086
|
}, "-", "_">;
|
|
1087
1087
|
}>;
|
|
1088
1088
|
mode: "light";
|
|
1089
|
-
_getColorValue: (color: "beige" | "blue" | "navy" | "green" | "yellow" | "pink" | "red" | "orange" | "hyper" | "white" | "beige-100" | "blue-0" | "blue-100" | "blue-300" | "blue-400" | "blue-500" | "blue-800" | "navy-100" | "navy-300" | "navy-400" | "navy-500" | "navy-800" | "navy-200" | "navy-600" | "navy-700" | "navy-900" | "green-0" | "green-100" | "green-400" | "green-700" | "green-900" | "yellow-0" | "yellow-400" | "yellow-500" | "yellow-900" | "pink-0" | "pink-400" | "red-0" | "red-300" | "red-400" | "red-500" | "red-600" | "red-900" | "orange-100" | "orange-500" | "hyper-400" | "hyper-500" | "gray-100" | "gray-300" | "gray-800" | "gray-200" | "gray-600" | "gray-900" | "white-100" | "white-300" | "white-400" | "white-500" | "white-200" | "white-600" | "white-700" | "lightBlue" | "lightGreen" | "paleBlue" | "paleGreen" | "palePink" | "paleYellow" | "paleRed" | "
|
|
1089
|
+
_getColorValue: (color: "beige" | "blue" | "navy" | "green" | "yellow" | "pink" | "red" | "orange" | "hyper" | "white" | "beige-100" | "blue-0" | "blue-100" | "blue-300" | "blue-400" | "blue-500" | "blue-800" | "navy-100" | "navy-300" | "navy-400" | "navy-500" | "navy-800" | "navy-200" | "navy-600" | "navy-700" | "navy-900" | "green-0" | "green-100" | "green-400" | "green-700" | "green-900" | "yellow-0" | "yellow-400" | "yellow-500" | "yellow-900" | "pink-0" | "pink-400" | "red-0" | "red-300" | "red-400" | "red-500" | "red-600" | "red-900" | "orange-100" | "orange-500" | "hyper-400" | "hyper-500" | "gray-100" | "gray-300" | "gray-800" | "gray-200" | "gray-600" | "gray-900" | "white-100" | "white-300" | "white-400" | "white-500" | "white-200" | "white-600" | "white-700" | "black" | "lightBlue" | "lightGreen" | "paleBlue" | "paleGreen" | "palePink" | "paleYellow" | "paleRed" | "text" | "secondary" | "background" | "primary" | "danger" | "interface" | "border-primary" | "text-accent" | "text-disabled" | "text-secondary" | "secondary-hover" | "feedback-error" | "feedback-success" | "feedback-warning" | "background-disabled" | "background-error" | "background-success" | "background-warning" | "background-contrast" | "background-current" | "background-primary" | "background-selected" | "background-hover" | "primary-hover" | "primary-inverse" | "shadow-secondary" | "shadow-primary" | "danger-hover" | "interface-hover" | "border-disabled" | "border-secondary" | "border-tertiary" | "lxStudioSuccess" | "lxStudioBgPrimary" | "sapphire") => string;
|
|
1090
1090
|
}> & import("@codecademy/variance/dist/createTheme/types").PrivateThemeKeys, Record<"name", string>> & import("@codecademy/variance/dist/createTheme/types").PrivateThemeKeys;
|
|
1091
1091
|
export type LxStudioThemeShape = typeof lxStudioTheme;
|
|
1092
1092
|
export type LxStudioTheme = LxStudioThemeShape;
|
|
@@ -1148,7 +1148,7 @@ export declare const percipioTheme: Record<"breakpoints", {
|
|
|
1148
1148
|
}, "-", "_">;
|
|
1149
1149
|
}>;
|
|
1150
1150
|
mode: "light";
|
|
1151
|
-
_getColorValue: (color: "beige" | "blue" | "navy" | "green" | "yellow" | "pink" | "red" | "orange" | "hyper" | "white" | "beige-100" | "blue-0" | "blue-100" | "blue-300" | "blue-400" | "blue-500" | "blue-800" | "navy-100" | "navy-300" | "navy-400" | "navy-500" | "navy-800" | "navy-200" | "navy-600" | "navy-700" | "navy-900" | "green-0" | "green-100" | "green-400" | "green-700" | "green-900" | "yellow-0" | "yellow-400" | "yellow-500" | "yellow-900" | "pink-0" | "pink-400" | "red-0" | "red-300" | "red-400" | "red-500" | "red-600" | "red-900" | "orange-100" | "orange-500" | "hyper-400" | "hyper-500" | "gray-100" | "gray-300" | "gray-800" | "gray-200" | "gray-600" | "gray-900" | "white-100" | "white-300" | "white-400" | "white-500" | "white-200" | "white-600" | "white-700" | "lightBlue" | "lightGreen" | "paleBlue" | "paleGreen" | "palePink" | "paleYellow" | "paleRed" | "
|
|
1151
|
+
_getColorValue: (color: "beige" | "blue" | "navy" | "green" | "yellow" | "pink" | "red" | "orange" | "hyper" | "white" | "beige-100" | "blue-0" | "blue-100" | "blue-300" | "blue-400" | "blue-500" | "blue-800" | "navy-100" | "navy-300" | "navy-400" | "navy-500" | "navy-800" | "navy-200" | "navy-600" | "navy-700" | "navy-900" | "green-0" | "green-100" | "green-400" | "green-700" | "green-900" | "yellow-0" | "yellow-400" | "yellow-500" | "yellow-900" | "pink-0" | "pink-400" | "red-0" | "red-300" | "red-400" | "red-500" | "red-600" | "red-900" | "orange-100" | "orange-500" | "hyper-400" | "hyper-500" | "gray-100" | "gray-300" | "gray-800" | "gray-200" | "gray-600" | "gray-900" | "white-100" | "white-300" | "white-400" | "white-500" | "white-200" | "white-600" | "white-700" | "black" | "lightBlue" | "lightGreen" | "paleBlue" | "paleGreen" | "palePink" | "paleYellow" | "paleRed" | "text" | "secondary" | "background" | "primary" | "danger" | "interface" | "border-primary" | "text-accent" | "text-disabled" | "text-secondary" | "secondary-hover" | "feedback-error" | "feedback-success" | "feedback-warning" | "background-disabled" | "background-error" | "background-success" | "background-warning" | "background-contrast" | "background-current" | "background-primary" | "background-selected" | "background-hover" | "primary-hover" | "primary-inverse" | "shadow-secondary" | "shadow-primary" | "danger-hover" | "interface-hover" | "border-disabled" | "border-secondary" | "border-tertiary" | "sapphire" | "percipioTextPrimary" | "percipioTextSecondary" | "percipioTextDisabled" | "percipioTextAccent" | "percipioBgPrimary" | "percipioBgSuccess" | "percipioBgWarning" | "percipioBgError" | "percipioActionPrimaryHover" | "percipioActionSecondary" | "percipioActionSecondaryHover" | "percipioActionDangerHover" | "percipioFeedbackSuccess" | "percipioFeedbackWarning" | "percipioDanger") => string;
|
|
1152
1152
|
}> & import("@codecademy/variance/dist/createTheme/types").PrivateThemeKeys, Record<"name", string>> & import("@codecademy/variance/dist/createTheme/types").PrivateThemeKeys;
|
|
1153
1153
|
export type PercipioThemeShape = typeof percipioTheme;
|
|
1154
1154
|
export interface PercipioTheme extends PercipioThemeShape {
|
|
@@ -0,0 +1,156 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,156 @@
|
|
|
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
|
+
};
|
package/dist/variables/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-styles",
|
|
3
3
|
"description": "Styleguide & Component library for codecademy.com",
|
|
4
|
-
"version": "18.0.1-alpha.
|
|
4
|
+
"version": "18.0.1-alpha.df4bce.0",
|
|
5
5
|
"author": "Jake Hiller <jake@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codecademy/variance": "0.26.2-alpha.
|
|
7
|
+
"@codecademy/variance": "0.26.2-alpha.df4bce.0",
|
|
8
8
|
"@emotion/is-prop-valid": "^1.1.0",
|
|
9
9
|
"framer-motion": "^11.18.0",
|
|
10
10
|
"get-nonce": "^1.0.0",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
if (process.env.NODE_ENV === 'development') {
|
|
2
|
+
// eslint-disable-next-line no-console
|
|
3
|
+
console.warn(
|
|
4
|
+
'Importing from `gamut-styles/utils/variables` is now deprecated, please import directly from the gamut-styles package'
|
|
5
|
+
);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export * from '../../dist/variables';
|