Skip to content

Commit fbfa255

Browse files
committed
fix(Text): body-xs size
1 parent a692d2e commit fbfa255

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/lib/text/text.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
font-family: theme('fontFamily.sans');
66
}
77
/* textStyle */
8+
.body-xs {
9+
font-size: theme('fontSize.xs');
10+
line-height: theme('lineHeight.xs');
11+
}
812
.body-sm {
913
font-size: theme('fontSize.sm');
1014
line-height: theme('lineHeight.sm');

src/lib/text/text.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const Text = forwardRef(
2525
export const textCss = css(styles.text, {
2626
variants: {
2727
textStyle: {
28+
'body-xs': styles['body-xs'],
2829
'body-sm': styles['body-sm'],
2930
'body-md': styles['body-md'],
3031
'body-lg': styles['body-lg'],

0 commit comments

Comments
 (0)