mirror of
https://github.com/zoo-labs/zoo.git
synced 2026-11-10 22:32:34 +00:00
81 lines
1.3 KiB
TypeScript
81 lines
1.3 KiB
TypeScript
import { styled } from 'stitches.config'
|
|
|
|
export default styled('span', {
|
|
color: '$gray12',
|
|
fontFamily: '$body',
|
|
letterSpacing: 0,
|
|
|
|
variants: {
|
|
style: {
|
|
h2: {
|
|
fontWeight: 700,
|
|
fontSize: 48,
|
|
},
|
|
h3: {
|
|
fontWeight: 700,
|
|
fontSize: 32,
|
|
},
|
|
h4: {
|
|
fontWeight: 700,
|
|
fontSize: 24,
|
|
},
|
|
h5: {
|
|
fontWeight: 700,
|
|
fontSize: 20,
|
|
},
|
|
h6: {
|
|
fontWeight: 700,
|
|
fontSize: 16,
|
|
},
|
|
subtitle1: {
|
|
fontWeight: 500,
|
|
fontSize: 16,
|
|
},
|
|
subtitle2: {
|
|
fontWeight: 500,
|
|
fontSize: 14,
|
|
},
|
|
subtitle3: {
|
|
fontWeight: 500,
|
|
fontSize: 12,
|
|
},
|
|
body1: {
|
|
fontWeight: 400,
|
|
fontSize: 16,
|
|
},
|
|
body2: {
|
|
fontWeight: 400,
|
|
fontSize: 14,
|
|
},
|
|
body3: {
|
|
fontWeight: 400,
|
|
fontSize: 12,
|
|
},
|
|
},
|
|
color: {
|
|
subtle: {
|
|
color: '$gray11',
|
|
},
|
|
error: {
|
|
color: '$red11',
|
|
},
|
|
},
|
|
italic: {
|
|
true: {
|
|
fontStyle: 'italic',
|
|
},
|
|
},
|
|
ellipsify: {
|
|
true: {
|
|
textOverflow: 'ellipsis',
|
|
overflow: 'hidden',
|
|
whiteSpace: 'nowrap',
|
|
},
|
|
},
|
|
},
|
|
|
|
defaultVariants: {
|
|
style: 'body1',
|
|
},
|
|
})
|