@stakefish/ui
Version:
<div align="center"> <a href="https://www.npmjs.com/package/@stakefish/ui"><img src="https://gateway.pinata.cloud/ipfs/QmbZL1ceA8Yiz2pKALTg919jYx141DPUGegC9L4XpyayW5" width="300" /></a> </div>
73 lines (70 loc) • 1.89 kB
JavaScript
import { _ as __assign } from '../tslib.es6-35932c2c.js';
var colorPalette = {
neonGreen: {
main: "#CCFF00"
},
green: {
light: "#DEF8CC",
main: "#59DC00"
},
red: {
light: "#FFD9DC",
main: "#FF3E4E"
},
blue: {
light: "#CCF0FF",
main: "#00B6FF"
},
yellow: {
light: "#FFF3CC",
main: "#FFC400"
},
gray: {
white: "#FFFFFF",
100: "#F5F5F5",
300: "#DDDDDD",
500: "#767676",
700: "#313540",
900: "#000000"
}
};
var readingColorSet = {
primary: colorPalette.gray[900],
secondary: colorPalette.gray[500],
supporting: colorPalette.gray[700],
inversePrimary: colorPalette.gray.white,
inverseSecondary: colorPalette.gray[300],
inverseSupporting: colorPalette.gray[100],
positive: colorPalette.green.main,
negative: colorPalette.red.main,
transparent: "transparent",
currentColor: "currentColor"
};
var colors = __assign(__assign({}, colorPalette), { primary: {
main: colorPalette.neonGreen.main
}, primaryAlt: {
light: colorPalette.green.light,
main: colorPalette.green.main
}, secondary: {
light: colorPalette.gray[500],
main: colorPalette.gray[900]
}, positive: {
light: colorPalette.green.light,
main: colorPalette.green.main
}, negative: {
light: colorPalette.red.light,
main: colorPalette.red.main
}, text: readingColorSet, icon: readingColorSet });
var ReadingColorVariants = [
"primary",
"secondary",
"supporting",
"inversePrimary",
"inverseSecondary",
"inverseSupporting",
"positive",
"negative",
"transparent",
"currentColor"
];
export { ReadingColorVariants, colors as default };