@codecademy/gamut-styles 12.0.0 → 12.1.0-alpha.aa3b41.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
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [12.1.0-alpha.aa3b41.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-styles@12.0.0...@codecademy/gamut-styles@12.1.0-alpha.aa3b41.0) (2021-11-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* remove unused brandColors and drepcatedColors variables ([60d2a08](https://github.com/Codecademy/gamut/commit/60d2a0853d89e6225ec4013f61a0d39d70585088))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [12.0.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-styles@1.2.4...@codecademy/gamut-styles@12.0.0) (2021-10-26)
|
|
7
16
|
|
|
8
17
|
|
|
@@ -1,123 +1,3 @@
|
|
|
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 deprecatedColors: {
|
|
8
|
-
readonly blue: {
|
|
9
|
-
readonly '100': "#c8d7fa";
|
|
10
|
-
readonly '200': "#a5befa";
|
|
11
|
-
readonly '300': "#7da2fa";
|
|
12
|
-
readonly '400': "#5788fa";
|
|
13
|
-
readonly '500': "#3069f0";
|
|
14
|
-
readonly '600': "#2d5dcc";
|
|
15
|
-
readonly '700': "#2e4a99";
|
|
16
|
-
readonly '800': "#233466";
|
|
17
|
-
readonly '900': "#141c3a";
|
|
18
|
-
readonly '1000': "#10162f";
|
|
19
|
-
readonly '1100': "#0a0e1d";
|
|
20
|
-
};
|
|
21
|
-
readonly pink: {
|
|
22
|
-
readonly '100': "#ffd9fc";
|
|
23
|
-
readonly '200': "#ffbffa";
|
|
24
|
-
readonly '300': "#ffa6f8";
|
|
25
|
-
readonly '400': "#f288e9";
|
|
26
|
-
readonly '500': "#d957d9";
|
|
27
|
-
readonly '600': "#b035c9";
|
|
28
|
-
readonly '700': "#9129a6";
|
|
29
|
-
readonly '800': "#702080";
|
|
30
|
-
readonly '900': "#43134d";
|
|
31
|
-
};
|
|
32
|
-
readonly purple: {
|
|
33
|
-
readonly '100': "#d5ccff";
|
|
34
|
-
readonly '200': "#c0b6f2";
|
|
35
|
-
readonly '300': "#ac9df2";
|
|
36
|
-
readonly '400': "#917ef2";
|
|
37
|
-
readonly '500': "#7c5ce6";
|
|
38
|
-
readonly '600': "#6437cc";
|
|
39
|
-
readonly '700': "#4b2999";
|
|
40
|
-
readonly '800': "#381f73";
|
|
41
|
-
readonly '900': "#231347";
|
|
42
|
-
};
|
|
43
|
-
readonly red: {
|
|
44
|
-
readonly '100': "#ffd3cc";
|
|
45
|
-
readonly '200': "#ffb8ad";
|
|
46
|
-
readonly '300': "#ff988c";
|
|
47
|
-
readonly '400': "#ff7566";
|
|
48
|
-
readonly '500': "#fd4d3f";
|
|
49
|
-
readonly '600': "#e53935";
|
|
50
|
-
readonly '700': "#bf2e2c";
|
|
51
|
-
readonly '800': "#992523";
|
|
52
|
-
readonly '900': "#661917";
|
|
53
|
-
};
|
|
54
|
-
readonly green: {
|
|
55
|
-
readonly '100': "#bbfae5";
|
|
56
|
-
readonly '200': "#91f2d2";
|
|
57
|
-
readonly '300': "#6aebc0";
|
|
58
|
-
readonly '400': "#4fe0b0";
|
|
59
|
-
readonly '500': "#47cca0";
|
|
60
|
-
readonly '600': "#3eb38c";
|
|
61
|
-
readonly '700': "#318c6e";
|
|
62
|
-
readonly '800': "#246650";
|
|
63
|
-
readonly '900': "#164032";
|
|
64
|
-
};
|
|
65
|
-
readonly orange: {
|
|
66
|
-
readonly '100': "#FFE9C8";
|
|
67
|
-
readonly '200': "#FFD093";
|
|
68
|
-
readonly '300': "#FFB764";
|
|
69
|
-
readonly '400': "#FF9F3C";
|
|
70
|
-
readonly '500': "#FF881D";
|
|
71
|
-
readonly '600': "#FB7106";
|
|
72
|
-
readonly '700': "#DC5A03";
|
|
73
|
-
readonly '800': "#BA4604";
|
|
74
|
-
readonly '900': "#963606";
|
|
75
|
-
};
|
|
76
|
-
readonly yellow: {
|
|
77
|
-
readonly '100': "#fff7cc";
|
|
78
|
-
readonly '200': "#fff2b3";
|
|
79
|
-
readonly '300': "#ffec8c";
|
|
80
|
-
readonly '400': "#ffe359";
|
|
81
|
-
readonly '500': "#ffd500";
|
|
82
|
-
readonly '600': "#ffb92e";
|
|
83
|
-
readonly '700': "#e69729";
|
|
84
|
-
readonly '800': "#b37620";
|
|
85
|
-
readonly '900': "#805417";
|
|
86
|
-
};
|
|
87
|
-
readonly gray: {
|
|
88
|
-
readonly '100': "#f6f5fa";
|
|
89
|
-
readonly '200': "#dddce0";
|
|
90
|
-
readonly '300': "#c4c3c7";
|
|
91
|
-
readonly '400': "#a2a2a6";
|
|
92
|
-
readonly '500': "#828285";
|
|
93
|
-
readonly '600': "#646466";
|
|
94
|
-
readonly '700': "#4b4b4d";
|
|
95
|
-
readonly '800': "#323233";
|
|
96
|
-
readonly '900': "#19191a";
|
|
97
|
-
};
|
|
98
|
-
readonly royalBlue: "#6400e4";
|
|
99
|
-
readonly black: "#000000";
|
|
100
|
-
readonly white: "#ffffff";
|
|
101
|
-
};
|
|
102
|
-
/**
|
|
103
|
-
* @deprecated
|
|
104
|
-
* Using these variables directly is no longer supported.
|
|
105
|
-
*
|
|
106
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
107
|
-
*/
|
|
108
|
-
export declare const brandColors: {
|
|
109
|
-
readonly red: "#fd4d3f";
|
|
110
|
-
readonly orange: "#FF9F3C";
|
|
111
|
-
readonly yellow: "#ffd500";
|
|
112
|
-
readonly purple: "#6400e4";
|
|
113
|
-
readonly pink: "#f288e9";
|
|
114
|
-
readonly magenta: "#9129a6";
|
|
115
|
-
readonly mint: "#6aebc0";
|
|
116
|
-
readonly beige: "#efd9ca";
|
|
117
|
-
readonly blue: "#3069f0";
|
|
118
|
-
readonly darkBlue: "#141c3a";
|
|
119
|
-
readonly lavender: "#7c5ce6";
|
|
120
|
-
};
|
|
121
1
|
/**
|
|
122
2
|
* @deprecated
|
|
123
3
|
* Using these variables directly is no longer supported.
|
|
@@ -15,128 +15,6 @@ var black = corePalette.black,
|
|
|
15
15
|
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
export var deprecatedColors = {
|
|
19
|
-
blue: {
|
|
20
|
-
'100': '#c8d7fa',
|
|
21
|
-
'200': '#a5befa',
|
|
22
|
-
'300': '#7da2fa',
|
|
23
|
-
'400': '#5788fa',
|
|
24
|
-
'500': '#3069f0',
|
|
25
|
-
'600': '#2d5dcc',
|
|
26
|
-
'700': '#2e4a99',
|
|
27
|
-
'800': '#233466',
|
|
28
|
-
'900': '#141c3a',
|
|
29
|
-
'1000': '#10162f',
|
|
30
|
-
'1100': '#0a0e1d'
|
|
31
|
-
},
|
|
32
|
-
pink: {
|
|
33
|
-
'100': '#ffd9fc',
|
|
34
|
-
'200': '#ffbffa',
|
|
35
|
-
'300': '#ffa6f8',
|
|
36
|
-
'400': '#f288e9',
|
|
37
|
-
'500': '#d957d9',
|
|
38
|
-
'600': '#b035c9',
|
|
39
|
-
'700': '#9129a6',
|
|
40
|
-
'800': '#702080',
|
|
41
|
-
'900': '#43134d'
|
|
42
|
-
},
|
|
43
|
-
purple: {
|
|
44
|
-
'100': '#d5ccff',
|
|
45
|
-
'200': '#c0b6f2',
|
|
46
|
-
'300': '#ac9df2',
|
|
47
|
-
'400': '#917ef2',
|
|
48
|
-
'500': '#7c5ce6',
|
|
49
|
-
'600': '#6437cc',
|
|
50
|
-
'700': '#4b2999',
|
|
51
|
-
'800': '#381f73',
|
|
52
|
-
'900': '#231347'
|
|
53
|
-
},
|
|
54
|
-
red: {
|
|
55
|
-
'100': '#ffd3cc',
|
|
56
|
-
'200': '#ffb8ad',
|
|
57
|
-
'300': '#ff988c',
|
|
58
|
-
'400': '#ff7566',
|
|
59
|
-
'500': '#fd4d3f',
|
|
60
|
-
'600': '#e53935',
|
|
61
|
-
'700': '#bf2e2c',
|
|
62
|
-
'800': '#992523',
|
|
63
|
-
'900': '#661917'
|
|
64
|
-
},
|
|
65
|
-
green: {
|
|
66
|
-
'100': '#bbfae5',
|
|
67
|
-
'200': '#91f2d2',
|
|
68
|
-
'300': '#6aebc0',
|
|
69
|
-
'400': '#4fe0b0',
|
|
70
|
-
'500': '#47cca0',
|
|
71
|
-
'600': '#3eb38c',
|
|
72
|
-
'700': '#318c6e',
|
|
73
|
-
'800': '#246650',
|
|
74
|
-
'900': '#164032'
|
|
75
|
-
},
|
|
76
|
-
orange: {
|
|
77
|
-
'100': '#FFE9C8',
|
|
78
|
-
'200': '#FFD093',
|
|
79
|
-
'300': '#FFB764',
|
|
80
|
-
'400': '#FF9F3C',
|
|
81
|
-
'500': '#FF881D',
|
|
82
|
-
'600': '#FB7106',
|
|
83
|
-
'700': '#DC5A03',
|
|
84
|
-
'800': '#BA4604',
|
|
85
|
-
'900': '#963606'
|
|
86
|
-
},
|
|
87
|
-
yellow: {
|
|
88
|
-
'100': '#fff7cc',
|
|
89
|
-
'200': '#fff2b3',
|
|
90
|
-
'300': '#ffec8c',
|
|
91
|
-
'400': '#ffe359',
|
|
92
|
-
'500': '#ffd500',
|
|
93
|
-
'600': '#ffb92e',
|
|
94
|
-
'700': '#e69729',
|
|
95
|
-
'800': '#b37620',
|
|
96
|
-
'900': '#805417'
|
|
97
|
-
},
|
|
98
|
-
gray: {
|
|
99
|
-
'100': '#f6f5fa',
|
|
100
|
-
'200': '#dddce0',
|
|
101
|
-
'300': '#c4c3c7',
|
|
102
|
-
'400': '#a2a2a6',
|
|
103
|
-
'500': '#828285',
|
|
104
|
-
'600': '#646466',
|
|
105
|
-
'700': '#4b4b4d',
|
|
106
|
-
'800': '#323233',
|
|
107
|
-
'900': '#19191a'
|
|
108
|
-
},
|
|
109
|
-
royalBlue: '#6400e4',
|
|
110
|
-
black: black,
|
|
111
|
-
white: white
|
|
112
|
-
};
|
|
113
|
-
/**
|
|
114
|
-
* @deprecated
|
|
115
|
-
* Using these variables directly is no longer supported.
|
|
116
|
-
*
|
|
117
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
118
|
-
*/
|
|
119
|
-
|
|
120
|
-
export var brandColors = {
|
|
121
|
-
red: deprecatedColors.red[500],
|
|
122
|
-
orange: deprecatedColors.orange[400],
|
|
123
|
-
yellow: deprecatedColors.yellow[500],
|
|
124
|
-
purple: deprecatedColors.royalBlue,
|
|
125
|
-
pink: deprecatedColors.pink[400],
|
|
126
|
-
magenta: deprecatedColors.pink[700],
|
|
127
|
-
mint: deprecatedColors.green[300],
|
|
128
|
-
beige: '#efd9ca',
|
|
129
|
-
blue: deprecatedColors.blue[500],
|
|
130
|
-
darkBlue: deprecatedColors.blue[900],
|
|
131
|
-
lavender: deprecatedColors.purple[500]
|
|
132
|
-
};
|
|
133
|
-
/**
|
|
134
|
-
* @deprecated
|
|
135
|
-
* Using these variables directly is no longer supported.
|
|
136
|
-
*
|
|
137
|
-
* Please use [`theme.colors`](https://gamut.codecademy.com/storybook/?path=/docs/foundations-theme--colors#standard-colors)
|
|
138
|
-
*/
|
|
139
|
-
|
|
140
18
|
export var interactiveColors = {
|
|
141
19
|
dark: corePalette.hyper,
|
|
142
20
|
light: corePalette.yellow
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deprecated-colors.js","sourceRoot":"","sources":["../../src/variables/deprecated-colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;AAErC;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"deprecated-colors.js","sourceRoot":"","sources":["../../src/variables/deprecated-colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;AAErC;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,WAAW,CAAC,KAAK;IACvB,KAAK,EAAE,WAAW,CAAC,MAAM;CACjB,CAAC;AAEX;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,SAAS;IACf,UAAU,EAAE,SAAS;IACrB,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IACjB,GAAG,EAAE,SAAS;IACd,MAAM,EAAE,SAAS;CACT,CAAC;AAEX;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE;QACJ,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;KACjB;IACD,MAAM,EAAE;QACN,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;Q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C,KAAK,CAAC,GAAG,CAAC;IAC1B,SAAS,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC;IAC7B,UAAU,EAAE,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC;IAC/B,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC;IACxB,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC;IAC5B,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1B,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5B,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1B,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9B,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC;IACxB,GAAG,EAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC;IACtB,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC;IAC5B,KAAK;IACL,KAAK;CACG,CAAC;AAEX;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,GAAG,YAAY,CAAC,QAAQ,CAAC;IACzB,GAAG,UAAU;CACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-styles",
|
|
3
3
|
"description": "Styleguide & Component library for codecademy.com",
|
|
4
|
-
"version": "12.0.0",
|
|
4
|
+
"version": "12.1.0-alpha.aa3b41.0",
|
|
5
5
|
"author": "Jake Hiller <jake@codecademy.com>",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "27bfb498cdb0e65f484bd075b1430218ef7ff508"
|
|
43
43
|
}
|