File size: 643 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { For, Stack, Text } from "@chakra-ui/react"

export const TokensTextStyles = () => {
  return (
    <Stack gap="8">
      <For
        each={[
          "xs",
          "sm",
          "md",
          "lg",
          "xl",
          "2xl",
          "3xl",
          "4xl",
          "5xl",
          "6xl",
          "7xl",
        ]}
      >
        {(textStyle) => (
          <Stack>
            <Text textStyle="sm" fontWeight="medium" color="fg.muted">
              textStyle: {textStyle}
            </Text>
            <Text textStyle={textStyle}>Chakra UI</Text>
          </Stack>
        )}
      </For>
    </Stack>
  )
}