@hackoregon/component-library
Version:
Official repo for Hack Oregon React component library
97 lines (94 loc) • 2 kB
JavaScript
const categorical = {
pink: {
rgb: "rgb(220,69,86)",
rgba: "rgba(220,69,86,1)",
mapFormatRGBA: [220, 69, 86, 255],
hex: "#DC4556"
},
// Called "teal" in style story
green: {
rgb: "rgb(25,183,170)",
rgba: "rgba(25,183,170,1)",
mapFormatRGBA: [25, 183, 170, 255],
hex: "#19B7AA"
},
blue: {
rgb: "rgb(30,98,189)",
rgba: "rgba(30,98,189,1)",
mapFormatRGBA: [30, 98, 189, 255],
hex: "#1E62BD"
},
purple: {
rgb: "rgb(114,29,124)",
rgba: "rgba(114,29,124,1)",
mapFormatRGBA: [114, 29, 124, 255],
hex: "#721D7C"
},
yellow: {
rgb: "rgb(255,178,31)",
rgba: "rgba(255,178,38,1)",
mapFormatRGBA: [255, 178, 38, 255],
hex: "#FFB226"
}
};
const sequential = {
thermal: [
[],
[],
[],
[],
[],
[],
[],
[],
[]
],
planet: [
[],
[],
[],
[],
[],
[],
[],
[],
[]
],
space: [
[],
[],
[],
[],
[],
[],
[],
[],
[]
],
earth: [
[],
[],
[],
[],
[],
[],
[],
[],
[]
],
ocean: [
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
};
export default {
categorical,
sequential
};