Skip to content

Commit a311390

Browse files
feat(color): Add orange30 to the color palette (#570)
Co-authored-by: Huyen Nguyen <[email protected]>
1 parent 99ddb0a commit a311390

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

src/color-system/color-system.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export const AllPalettes = (): JSX.Element => {
6262
<Palette colors={getPaletteByColorName("blue")} />
6363
<Palette colors={getPaletteByColorName("green")} />
6464
<Palette colors={getPaletteByColorName("red")} />
65+
<Palette colors={getPaletteByColorName("orange")} />
6566
</>
6667
);
6768
};

src/colors.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
--red70: #a94442;
4848
--red80: #f82153;
4949
--red90: #850000;
50+
51+
--orange30: #eda971;
5052
}
5153

5254
/* Export the variables in order to use them on the Color System Storybook page */
@@ -93,6 +95,8 @@
9395
--red70: var(--red70);
9496
--red80: var(--red80);
9597
--red90: var(--red90);
98+
99+
--orange30: var(--orange30);
96100
}
97101

98102
.light-palette {

tailwind.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ module.exports = {
7878
800: "var(--red80)",
7979
900: "var(--red90)",
8080
},
81+
orange: {
82+
300: "var(--orange30)",
83+
},
8184
},
8285
borderWidth: {
8386
1: "1px",

0 commit comments

Comments
 (0)