-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #356 from theiliad/theiliad-update-palette
Update color palettes
- Loading branch information
Showing
5 changed files
with
72 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,44 @@ | ||
import colors from "./colors"; | ||
|
||
// TODO - Some hardcoded values aren't available | ||
// in @carbon/colors yet. We should look at adding those | ||
// colors | ||
export const WHITE = [ | ||
colors.purple(60), | ||
colors.teal(30), | ||
colors.magenta(50), | ||
colors.cyan(40), | ||
colors.magenta(80), | ||
colors.purple(30), | ||
colors.cyan(80) | ||
]; | ||
|
||
export const WHITE_2 = [ | ||
colors.purple(60), | ||
colors.magenta(30), | ||
colors.purple(70), | ||
colors.cyan(50), | ||
colors.teal(70), | ||
colors.cyan(40), | ||
colors.magenta(70), | ||
colors.teal(30), | ||
colors.cyan(80) | ||
colors.red(50), | ||
colors.red(90), | ||
colors.green(60), | ||
colors.blue(80), | ||
colors.magenta(50), | ||
"#b28600", // Yellow 50 | ||
colors.teal(50), | ||
colors.cyan(90), | ||
"#8a3800", // Orange 70 | ||
colors.purple(50) | ||
]; | ||
|
||
export const G10 = [ | ||
export const DARK = [ | ||
colors.purple(60), | ||
colors.teal(30), | ||
colors.magenta(50), | ||
colors.green(40), | ||
colors.purple(20), | ||
colors.cyan(40), | ||
colors.teal(60), | ||
colors.magenta(30) | ||
colors.magenta(40), | ||
colors.red(50), | ||
colors.red(10), | ||
colors.green(30), | ||
colors.blue(50), | ||
colors.magenta(60), | ||
"#d2a106", // Yellow 40 | ||
colors.teal(40), | ||
colors.cyan(20), | ||
"#ba4e00", // Orange 60 | ||
colors.purple(30) | ||
]; | ||
|
||
export const G90 = G10; | ||
export const G100 = G10; | ||
export const G10 = WHITE; | ||
export const G90 = DARK; | ||
export const G100 = DARK; | ||
|
||
export const DEFAULT = WHITE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters