@chakra-v2/styled-system
Version:
Style function for css-in-js building component libraries
631 lines (629 loc) • 11.7 kB
TypeScript
// regenerate by running
// npx @chakra-v2/cli tokens path/to/your/theme.(js|ts)
import { BaseThemeTypings } from "./shared.types.js"
export interface ThemeTypings extends BaseThemeTypings {
blur:
| "none"
| "sm"
| "base"
| "md"
| "lg"
| "xl"
| "2xl"
| "3xl"
| (string & {})
borders: "none" | "1px" | "2px" | "4px" | "8px" | (string & {})
borderStyles: string & {}
borderWidths: string & {}
breakpoints: "base" | "sm" | "md" | "lg" | "xl" | "2xl" | (string & {})
colors:
| "transparent"
| "current"
| "black"
| "white"
| "whiteAlpha.50"
| "whiteAlpha.100"
| "whiteAlpha.200"
| "whiteAlpha.300"
| "whiteAlpha.400"
| "whiteAlpha.500"
| "whiteAlpha.600"
| "whiteAlpha.700"
| "whiteAlpha.800"
| "whiteAlpha.900"
| "blackAlpha.50"
| "blackAlpha.100"
| "blackAlpha.200"
| "blackAlpha.300"
| "blackAlpha.400"
| "blackAlpha.500"
| "blackAlpha.600"
| "blackAlpha.700"
| "blackAlpha.800"
| "blackAlpha.900"
| "gray.50"
| "gray.100"
| "gray.200"
| "gray.300"
| "gray.400"
| "gray.500"
| "gray.600"
| "gray.700"
| "gray.800"
| "gray.900"
| "red.50"
| "red.100"
| "red.200"
| "red.300"
| "red.400"
| "red.500"
| "red.600"
| "red.700"
| "red.800"
| "red.900"
| "orange.50"
| "orange.100"
| "orange.200"
| "orange.300"
| "orange.400"
| "orange.500"
| "orange.600"
| "orange.700"
| "orange.800"
| "orange.900"
| "yellow.50"
| "yellow.100"
| "yellow.200"
| "yellow.300"
| "yellow.400"
| "yellow.500"
| "yellow.600"
| "yellow.700"
| "yellow.800"
| "yellow.900"
| "green.50"
| "green.100"
| "green.200"
| "green.300"
| "green.400"
| "green.500"
| "green.600"
| "green.700"
| "green.800"
| "green.900"
| "teal.50"
| "teal.100"
| "teal.200"
| "teal.300"
| "teal.400"
| "teal.500"
| "teal.600"
| "teal.700"
| "teal.800"
| "teal.900"
| "blue.50"
| "blue.100"
| "blue.200"
| "blue.300"
| "blue.400"
| "blue.500"
| "blue.600"
| "blue.700"
| "blue.800"
| "blue.900"
| "cyan.50"
| "cyan.100"
| "cyan.200"
| "cyan.300"
| "cyan.400"
| "cyan.500"
| "cyan.600"
| "cyan.700"
| "cyan.800"
| "cyan.900"
| "purple.50"
| "purple.100"
| "purple.200"
| "purple.300"
| "purple.400"
| "purple.500"
| "purple.600"
| "purple.700"
| "purple.800"
| "purple.900"
| "pink.50"
| "pink.100"
| "pink.200"
| "pink.300"
| "pink.400"
| "pink.500"
| "pink.600"
| "pink.700"
| "pink.800"
| "pink.900"
| "chakra-body-text._light"
| "chakra-body-text._dark"
| "chakra-body-bg._light"
| "chakra-body-bg._dark"
| "chakra-border-color._light"
| "chakra-border-color._dark"
| "chakra-inverse-text._light"
| "chakra-inverse-text._dark"
| "chakra-subtle-bg._light"
| "chakra-subtle-bg._dark"
| "chakra-subtle-text._light"
| "chakra-subtle-text._dark"
| "chakra-placeholder-color._light"
| "chakra-placeholder-color._dark"
| (string & {})
colorSchemes:
| "whiteAlpha"
| "blackAlpha"
| "gray"
| "red"
| "orange"
| "yellow"
| "green"
| "teal"
| "blue"
| "cyan"
| "purple"
| "pink"
| (string & {})
conditions: never
fonts: "heading" | "body" | "mono" | (string & {})
fontSizes:
| "3xs"
| "2xs"
| "xs"
| "sm"
| "md"
| "lg"
| "xl"
| "2xl"
| "3xl"
| "4xl"
| "5xl"
| "6xl"
| "7xl"
| "8xl"
| "9xl"
| (string & {})
fontWeights:
| "hairline"
| "thin"
| "light"
| "normal"
| "medium"
| "semibold"
| "bold"
| "extrabold"
| "black"
| (string & {})
layerStyles: string & {}
letterSpacings:
| "tighter"
| "tight"
| "normal"
| "wide"
| "wider"
| "widest"
| (string & {})
lineHeights:
| "3"
| "4"
| "5"
| "6"
| "7"
| "8"
| "9"
| "10"
| "normal"
| "none"
| "shorter"
| "short"
| "base"
| "tall"
| "taller"
| (string & {})
radii:
| "none"
| "sm"
| "base"
| "md"
| "lg"
| "xl"
| "2xl"
| "3xl"
| "full"
| (string & {})
shadows:
| "xs"
| "sm"
| "base"
| "md"
| "lg"
| "xl"
| "2xl"
| "outline"
| "inner"
| "none"
| "dark-lg"
| (string & {})
sizes:
| "1"
| "2"
| "3"
| "4"
| "5"
| "6"
| "7"
| "8"
| "9"
| "10"
| "12"
| "14"
| "16"
| "20"
| "24"
| "28"
| "32"
| "36"
| "40"
| "44"
| "48"
| "52"
| "56"
| "60"
| "64"
| "72"
| "80"
| "96"
| "px"
| "0.5"
| "1.5"
| "2.5"
| "3.5"
| "max"
| "min"
| "full"
| "3xs"
| "2xs"
| "xs"
| "sm"
| "md"
| "lg"
| "xl"
| "2xl"
| "3xl"
| "4xl"
| "5xl"
| "6xl"
| "7xl"
| "8xl"
| "prose"
| "container.sm"
| "container.md"
| "container.lg"
| "container.xl"
| (string & {})
space:
| "1"
| "-1"
| "2"
| "-2"
| "3"
| "-3"
| "4"
| "-4"
| "5"
| "-5"
| "6"
| "-6"
| "7"
| "-7"
| "8"
| "-8"
| "9"
| "-9"
| "10"
| "-10"
| "12"
| "-12"
| "14"
| "-14"
| "16"
| "-16"
| "20"
| "-20"
| "24"
| "-24"
| "28"
| "-28"
| "32"
| "-32"
| "36"
| "-36"
| "40"
| "-40"
| "44"
| "-44"
| "48"
| "-48"
| "52"
| "-52"
| "56"
| "-56"
| "60"
| "-60"
| "64"
| "-64"
| "72"
| "-72"
| "80"
| "-80"
| "96"
| "-96"
| "px"
| "-px"
| "0.5"
| "-0.5"
| "1.5"
| "-1.5"
| "2.5"
| "-2.5"
| "3.5"
| "-3.5"
| (string & {})
textStyles: string & {}
transition:
| "property.common"
| "property.colors"
| "property.dimensions"
| "property.position"
| "property.background"
| "easing.ease-in"
| "easing.ease-out"
| "easing.ease-in-out"
| "duration.ultra-fast"
| "duration.faster"
| "duration.fast"
| "duration.normal"
| "duration.slow"
| "duration.slower"
| "duration.ultra-slow"
| (string & {})
zIndices:
| "hide"
| "auto"
| "base"
| "docked"
| "dropdown"
| "sticky"
| "banner"
| "overlay"
| "modal"
| "popover"
| "skipLink"
| "toast"
| "tooltip"
| (string & {})
components: {
Accordion: {
sizes: string & {}
variants: string & {}
}
Alert: {
sizes: string & {}
variants:
| "subtle"
| "left-accent"
| "top-accent"
| "solid"
| (string & {})
}
Avatar: {
sizes:
| "2xs"
| "xs"
| "sm"
| "md"
| "lg"
| "xl"
| "2xl"
| "full"
| (string & {})
variants: string & {}
}
Badge: {
sizes: string & {}
variants: "solid" | "subtle" | "outline" | (string & {})
}
Breadcrumb: {
sizes: string & {}
variants: string & {}
}
Button: {
sizes: "lg" | "md" | "sm" | "xs" | (string & {})
variants:
| "ghost"
| "outline"
| "solid"
| "link"
| "unstyled"
| (string & {})
}
Checkbox: {
sizes: "sm" | "md" | "lg" | (string & {})
variants: string & {}
}
CloseButton: {
sizes: "lg" | "md" | "sm" | (string & {})
variants: string & {}
}
Code: {
sizes: string & {}
variants: "solid" | "subtle" | "outline" | (string & {})
}
Container: {
sizes: string & {}
variants: string & {}
}
Divider: {
sizes: string & {}
variants: "solid" | "dashed" | (string & {})
}
Drawer: {
sizes: "xs" | "sm" | "md" | "lg" | "xl" | "full" | (string & {})
variants: string & {}
}
Editable: {
sizes: string & {}
variants: string & {}
}
Form: {
sizes: string & {}
variants: string & {}
}
FormError: {
sizes: string & {}
variants: string & {}
}
FormLabel: {
sizes: string & {}
variants: string & {}
}
Heading: {
sizes:
| "4xl"
| "3xl"
| "2xl"
| "xl"
| "lg"
| "md"
| "sm"
| "xs"
| (string & {})
variants: string & {}
}
Input: {
sizes: "lg" | "md" | "sm" | "xs" | (string & {})
variants: "outline" | "filled" | "flushed" | "unstyled" | (string & {})
}
Kbd: {
sizes: string & {}
variants: string & {}
}
Link: {
sizes: string & {}
variants: string & {}
}
List: {
sizes: string & {}
variants: string & {}
}
Menu: {
sizes: string & {}
variants: string & {}
}
Modal: {
sizes:
| "xs"
| "sm"
| "md"
| "lg"
| "xl"
| "2xl"
| "3xl"
| "4xl"
| "5xl"
| "6xl"
| "full"
| (string & {})
variants: string & {}
}
NumberInput: {
sizes: "xs" | "sm" | "md" | "lg" | (string & {})
variants: "outline" | "filled" | "flushed" | "unstyled" | (string & {})
}
PinInput: {
sizes: "lg" | "md" | "sm" | "xs" | (string & {})
variants: "outline" | "flushed" | "filled" | "unstyled" | (string & {})
}
Popover: {
sizes: string & {}
variants: string & {}
}
Progress: {
sizes: "xs" | "sm" | "md" | "lg" | (string & {})
variants: string & {}
}
Radio: {
sizes: "md" | "lg" | "sm" | (string & {})
variants: string & {}
}
Select: {
sizes: "lg" | "md" | "sm" | "xs" | (string & {})
variants: "outline" | "filled" | "flushed" | "unstyled" | (string & {})
}
Skeleton: {
sizes: string & {}
variants: string & {}
}
SkipLink: {
sizes: string & {}
variants: string & {}
}
Slider: {
sizes: "lg" | "md" | "sm" | (string & {})
variants: string & {}
}
Spinner: {
sizes: "xs" | "sm" | "md" | "lg" | "xl" | (string & {})
variants: string & {}
}
Stat: {
sizes: "md" | (string & {})
variants: string & {}
}
Switch: {
sizes: "sm" | "md" | "lg" | (string & {})
variants: string & {}
}
Table: {
sizes: "sm" | "md" | "lg" | (string & {})
variants: "simple" | "striped" | "unstyled" | (string & {})
}
Tabs: {
sizes: "sm" | "md" | "lg" | (string & {})
variants:
| "line"
| "enclosed"
| "enclosed-colored"
| "soft-rounded"
| "solid-rounded"
| "unstyled"
| (string & {})
}
Tag: {
sizes: "sm" | "md" | "lg" | (string & {})
variants: "subtle" | "solid" | "outline" | (string & {})
}
Textarea: {
sizes: "xs" | "sm" | "md" | "lg" | (string & {})
variants: "outline" | "flushed" | "filled" | "unstyled" | (string & {})
}
Tooltip: {
sizes: string & {}
variants: string & {}
}
Card: {
sizes: "sm" | "md" | "lg" | (string & {})
variants: "elevated" | "outline" | "filled" | "unstyled" | (string & {})
}
Stepper: {
sizes: "xs" | "sm" | "md" | "lg" | (string & {})
variants: string & {}
}
}
}