adaptiv-ui
Version:
a library of styled components with some global style overrides in sass
25 lines (23 loc) • 594 B
JavaScript
import styledMap from "styled-map";
import theme from "../../../theme";
export default styledMap`
primary: white;
secondary: ${theme.primary};
red: ${theme.red5};
orange: ${theme.orange5};
amber: ${theme.amber5};
yellow: ${theme.yellow5};
brown: ${theme.brown5};
lime: ${theme.lime5};
green: ${theme.green5};
teal: ${theme.teal5};
cyan: ${theme.cyan5};
skyBlue: ${theme.skyBlue5};
blue: ${theme.blue5};
indigo: ${theme.indigo5};
violet: ${theme.violet5};
purple: ${theme.purple5};
pink: ${theme.pink5};
invert: ${theme.gray2};
default: ${theme.gray5};
`;