xp.js-styled
Version:
Build performant styled components for Web, iOS and Android platforms.
112 lines (111 loc) • 2.85 kB
TypeScript
export declare const StyleProps: string[];
export declare const ShortcutStyleProps: {
readonly f: "flex";
readonly s: "size";
readonly w: "width";
readonly h: "height";
readonly minW: "minWidth";
readonly minH: "minHeight";
readonly maxW: "maxWidth";
readonly maxH: "maxHeight";
readonly bW: "borderWidth";
readonly bRadius: "borderRadius";
readonly bColor: "borderColor";
readonly p: "padding";
readonly pX: "paddingHorizontal";
readonly pY: "paddingVertical";
readonly pT: "paddingTop";
readonly pL: "paddingLeft";
readonly pB: "paddingBottom";
readonly pR: "paddingRight";
readonly m: "margin";
readonly mX: "marginHorizontal";
readonly mY: "marginVertical";
readonly mT: "marginTop";
readonly mL: "marginLeft";
readonly mB: "marginBottom";
readonly mR: "marginRight";
readonly bg: "background";
readonly bgColor: "backgroundColor";
readonly font: "fontFamily";
readonly g: "gap";
readonly t: "top";
readonly b: "bottom";
readonly r: "right";
readonly l: "left";
readonly z: "zIndex";
readonly align: "alignItems";
readonly justify: "justifyContent";
readonly grow: "flexGrow";
readonly wrap: "flexWrap";
readonly lines: "numberOfLines";
readonly spacing: "letterSpacing";
};
export declare const TypographyProps: string[];
export declare const ColorPallete: {
red: string;
coral: string;
orange: string;
gold: string;
yellow: string;
lime: string;
lightGreen: string;
green: string;
darkGreen: string;
nature: string;
teal: string;
aqua: string;
sky: string;
lightBlue: string;
blue: string;
darkBlue: string;
blueViolet: string;
violet: string;
indigo: string;
purple: string;
magenta: string;
pink: string;
hotPink: string;
black: string;
gray: string;
white: string;
};
export declare const FontSizes: {
xxs: number;
xs: number;
sm: number;
md: number;
lg: number;
xl: number;
xxl: number;
};
export declare const FontWeights: {
thinnest: number;
thin: number;
light: number;
normal: number;
medium: number;
semibold: number;
bold: number;
boldest: number;
};
export declare const Spacing: {
xxs: number;
xs: number;
sm: number;
md: number;
lg: number;
xl: number;
xxl: number;
};
export declare const Breakpoints: {
xxs: number;
xs: number;
sm: number;
md: number;
lg: number;
xl: number;
xxl: number;
};
export declare const SizeRegex: RegExp;
export declare const ColorIntensity = "(100|150|200|250|300|350|400|450|500|550|600|650|700|750|800|850|900)";