@kiwicom/orbit-components
Version:
Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.
36 lines • 1.15 kB
JavaScript
export const TYPE_OPTIONS = {
PRIMARY: "primary",
SECONDARY: "secondary",
CRITICAL: "critical",
WHITE: "white",
PRIMARY_SUBTLE: "primarySubtle",
CRITICAL_SUBTLE: "criticalSubtle",
BUNDLE_BASIC: "bundleBasic",
BUNDLE_MEDIUM: "bundleMedium",
BUNDLE_TOP: "bundleTop"
};
export const SIZE_OPTIONS = {
SMALL: "small",
NORMAL: "normal",
LARGE: "large"
};
export const TOKENS = {
// Size tokens
heightButton: "heightButton",
loadingWidth: "loadingWidth",
loadingHeight: "loadingHeight",
fontSizeButton: "fontSizeButton",
paddingButton: "paddingButton",
paddingButtonWithIcons: "paddingButtonWithIcons",
paddingButtonWithLeftIcon: "paddingButtonWithLeftIcon",
paddingButtonWithRightIcon: "paddingButtonWithRightIcon",
// Type tokens
backgroundButton: "backgroundButton",
backgroundButtonHover: "backgroundButtonHover",
backgroundButtonActive: "backgroundButtonActive",
backgroundButtonFocus: "backgroundButtonFocus",
colorTextButton: "colorTextButton",
colorTextButtonHover: "colorTextButtonHover",
colorTextButtonActive: "colorTextButtonActive",
borderColorButtonFocus: "borderColorButtonFocus"
};