Skip to content

Commit ed202f8

Browse files
Alessandra Davilashixiedesign
authored andcommitted
feat(colors): update colors to match V2 palette (carbon-design-system#3957)
* chore(colors): change yellow 20 to 30 * chore(colors): update color palette to v2 * chore(colors): deprecate yellow 20 * chore(theme): remove from depreaction as its not in theme * chore(colors): deprecate yellow * chore(colors): fix some colors * fix(colors): update build task and move block The deprecated block was defined after colors which caused the value of yellow20 to be undefined. In turn, the build process failed because the value for that color was undefined. * chore(colors): update snapshot * chore(colors): update snapshot after pulling
1 parent 4901bf9 commit ed202f8

File tree

3 files changed

+186
-180
lines changed

3 files changed

+186
-180
lines changed

packages/colors/__tests__/__snapshots__/colors-test.js.snap

Lines changed: 90 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -6,133 +6,134 @@ Object {
66
"100": "#000000",
77
},
88
"blue": Object {
9-
"10": "#edf4ff",
10-
"100": "#051243",
11-
"20": "#c9deff",
12-
"30": "#97c1ff",
13-
"40": "#6ea6ff",
14-
"50": "#408bfc",
15-
"60": "#0062ff",
16-
"70": "#054ada",
17-
"80": "#0530ad",
18-
"90": "#061f80",
9+
"10": "#edf5ff",
10+
"100": "#001141",
11+
"20": "#d0e2ff",
12+
"30": "#a6c8ff",
13+
"40": "#78a9ff",
14+
"50": "#4589ff",
15+
"60": "#0f62fe",
16+
"70": "#0043ce",
17+
"80": "#002d9c",
18+
"90": "#001d6c",
1919
},
2020
"coolGray": Object {
2121
"10": "#f2f4f8",
22-
"100": "#13171a",
23-
"20": "#d5d9e0",
24-
"30": "#b9bfc7",
25-
"40": "#9fa5ad",
26-
"50": "#868d95",
22+
"100": "#121619",
23+
"20": "#dde1e6",
24+
"30": "#c1c7cd",
25+
"40": "#a2a9b0",
26+
"50": "#878d96",
2727
"60": "#697077",
28-
"70": "#50565b",
29-
"80": "#373d42",
30-
"90": "#242a2e",
28+
"70": "#4d5358",
29+
"80": "#343a3f",
30+
"90": "#21272a",
3131
},
3232
"cyan": Object {
33-
"10": "#e3f6ff",
34-
"100": "#07192b",
35-
"20": "#b3e6ff",
36-
"30": "#6ccaff",
37-
"40": "#30b0ff",
38-
"50": "#1191e6",
33+
"10": "#e5f6ff",
34+
"100": "#061727",
35+
"20": "#bae6ff",
36+
"30": "#82cfff",
37+
"40": "#33b1ff",
38+
"50": "#1192e8",
3939
"60": "#0072c3",
40-
"70": "#0058a1",
41-
"80": "#003d73",
42-
"90": "#002b50",
40+
"70": "#00539a",
41+
"80": "#003a6d",
42+
"90": "#012749",
4343
},
4444
"gray": Object {
45-
"10": "#f3f3f3",
46-
"100": "#171717",
47-
"20": "#dcdcdc",
48-
"30": "#bebebe",
49-
"40": "#a4a4a4",
50-
"50": "#8c8c8c",
45+
"10": "#f4f4f4",
46+
"100": "#161616",
47+
"20": "#e0e0e0",
48+
"30": "#c6c6c6",
49+
"40": "#a8a8a8",
50+
"50": "#8d8d8d",
5151
"60": "#6f6f6f",
52-
"70": "#565656",
53-
"80": "#3d3d3d",
54-
"90": "#282828",
52+
"70": "#525252",
53+
"80": "#393939",
54+
"90": "#262626",
5555
},
5656
"green": Object {
57-
"10": "#dafbe4",
58-
"100": "#081b09",
59-
"20": "#9deeb2",
60-
"30": "#56d679",
61-
"40": "#3dbb61",
57+
"10": "#defbe6",
58+
"100": "#071908",
59+
"20": "#a7f0ba",
60+
"30": "#6fdc8c",
61+
"40": "#42be65",
6262
"50": "#24a148",
6363
"60": "#198038",
64-
"70": "#10642a",
65-
"80": "#054719",
66-
"90": "#01330f",
64+
"70": "#0e6027",
65+
"80": "#044317",
66+
"90": "#022d0d",
6767
},
6868
"magenta": Object {
69-
"10": "#fff0f6",
70-
"100": "#2a0a16",
71-
"20": "#ffcfe1",
72-
"30": "#ffa0c2",
73-
"40": "#fa75a6",
74-
"50": "#ee538b",
75-
"60": "#d12765",
76-
"70": "#a11950",
77-
"80": "#760a3a",
78-
"90": "#57002b",
69+
"10": "#fff0f7",
70+
"100": "#2a0a18",
71+
"20": "#ffd6e8",
72+
"30": "#ffafd2",
73+
"40": "#ff7eb6",
74+
"50": "#ee5396",
75+
"60": "#d12771",
76+
"70": "#9f1853",
77+
"80": "#740937",
78+
"90": "#510224",
7979
},
8080
"orange": Object {
81-
"40": "#fc7b1e",
81+
"40": "#ff832b",
8282
},
8383
"purple": Object {
84-
"10": "#f7f1ff",
85-
"100": "#1e1033",
86-
"20": "#e6d6ff",
87-
"30": "#d0b0ff",
88-
"40": "#bb8eff",
89-
"50": "#a66efa",
84+
"10": "#f6f2ff",
85+
"100": "#1c0f30",
86+
"20": "#e8daff",
87+
"30": "#d4bbff",
88+
"40": "#be95ff",
89+
"50": "#a56eff",
9090
"60": "#8a3ffc",
91-
"70": "#6e32c9",
92-
"80": "#4f2196",
93-
"90": "#38146b",
91+
"70": "#6929c4",
92+
"80": "#491d8b",
93+
"90": "#31135e",
9494
},
9595
"red": Object {
96-
"10": "#fff0f1",
97-
"100": "#2c080a",
98-
"20": "#fcd0d3",
99-
"30": "#ffa4a9",
100-
"40": "#ff767c",
101-
"50": "#fb4b53",
96+
"10": "#fff1f1",
97+
"100": "#2d0709",
98+
"20": "#ffd7d9",
99+
"30": "#ffb3b8",
100+
"40": "#ff8389",
101+
"50": "#fa4d56",
102102
"60": "#da1e28",
103-
"70": "#a51920",
103+
"70": "#a2191f",
104104
"80": "#750e13",
105-
"90": "#570408",
105+
"90": "#520408",
106106
},
107107
"teal": Object {
108-
"10": "#dbfbfb",
108+
"10": "#d9fbfb",
109109
"100": "#081a1c",
110-
"20": "#92eeee",
111-
"30": "#20d5d2",
112-
"40": "#00bab6",
113-
"50": "#009c98",
110+
"20": "#9ef0f0",
111+
"30": "#3ddbd9",
112+
"40": "#08bdba",
113+
"50": "#009d9a",
114114
"60": "#007d79",
115-
"70": "#006161",
116-
"80": "#004548",
117-
"90": "#003137",
115+
"70": "#005d5d",
116+
"80": "#004144",
117+
"90": "#022b30",
118118
},
119119
"warmGray": Object {
120-
"10": "#f7f3f1",
121-
"100": "#1a1717",
122-
"20": "#e0dbda",
123-
"30": "#c1bcbb",
124-
"40": "#a7a2a2",
120+
"10": "#f7f3f2",
121+
"100": "#171414",
122+
"20": "#e5e0df",
123+
"30": "#cac5c4",
124+
"40": "#ada8a8",
125125
"50": "#8f8b8b",
126-
"60": "#726e6e",
127-
"70": "#595555",
128-
"80": "#403c3c",
129-
"90": "#2b2828",
126+
"60": "#736f6f",
127+
"70": "#565151",
128+
"80": "#3c3838",
129+
"90": "#272525",
130130
},
131131
"white": Object {
132132
"0": "#ffffff",
133133
},
134134
"yellow": Object {
135135
"20": "#fdd13a",
136+
"30": "#f1c21b",
136137
},
137138
}
138139
`;

0 commit comments

Comments
 (0)