Skip to content

Commit 3f3fb34

Browse files
committed
fix(theming-material): use pixels in typescale configs
1 parent 7213f2c commit 3f3fb34

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

packages/theming-material/src/typescale-standard.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,105 +33,105 @@ export const STANDARD_TYPESCALES: Omit<TypescaleConfig, 'font'>[] = [
3333
name: 'display-large',
3434
weight: '400',
3535
size: '57px',
36-
lineHeight: '112.28%',
36+
lineHeight: '64px',
3737
tracking: '-0.2px',
3838
},
3939
{
4040
name: 'display-medium',
4141
weight: '400',
4242
size: '45px',
43-
lineHeight: '115.56%',
43+
lineHeight: '52px',
4444
tracking: '0.0px',
4545
},
4646
{
4747
name: 'display-small',
4848
weight: '400',
4949
size: '36px',
50-
lineHeight: '122.22%',
50+
lineHeight: '44px',
5151
tracking: '0.0px',
5252
},
5353
{
5454
name: 'headline-large',
5555
weight: '400',
5656
size: '32px',
57-
lineHeight: '125%',
57+
lineHeight: '40px',
5858
tracking: '0.0px',
5959
},
6060
{
6161
name: 'headline-medium',
6262
weight: '400',
6363
size: '28px',
64-
lineHeight: '128.57%',
64+
lineHeight: '36px',
6565
tracking: '0.0px',
6666
},
6767
{
6868
name: 'headline-small',
6969
weight: '400',
7070
size: '24px',
71-
lineHeight: '133.33%',
71+
lineHeight: '32px',
7272
tracking: '0.0px',
7373
},
7474
{
7575
name: 'title-large',
7676
weight: '400',
7777
size: '22px',
78-
lineHeight: '127.27%',
78+
lineHeight: '28px',
7979
tracking: '0.0px',
8080
},
8181
{
8282
name: 'title-medium',
8383
weight: '500',
8484
size: '16px',
85-
lineHeight: '150%',
85+
lineHeight: '24px',
8686
tracking: '0.2px',
8787
},
8888
{
8989
name: 'title-small',
9090
weight: '500',
9191
size: '14px',
92-
lineHeight: '142.86%',
92+
lineHeight: '20px',
9393
tracking: '0.1px',
9494
},
9595
{
9696
name: 'body-large',
9797
weight: '400',
9898
size: '16px',
99-
lineHeight: '150%',
99+
lineHeight: '24px',
100100
tracking: '0.5px',
101101
},
102102
{
103103
name: 'body-medium',
104104
weight: '400',
105105
size: '14px',
106-
lineHeight: '142.86%',
106+
lineHeight: '20px',
107107
tracking: '0.2px',
108108
},
109109
{
110110
name: 'body-small',
111111
weight: '400',
112112
size: '12px',
113-
lineHeight: '133.33%',
113+
lineHeight: '16px',
114114
tracking: '0.4px',
115115
},
116116
{
117117
name: 'label-large',
118118
weight: '500',
119119
size: '14px',
120-
lineHeight: '142.86%',
120+
lineHeight: '20px',
121121
tracking: '0.1px',
122122
},
123123
{
124124
name: 'label-medium',
125125
weight: '500',
126126
size: '12px',
127-
lineHeight: '133.33%',
127+
lineHeight: '16px',
128128
tracking: '0.5px',
129129
},
130130
{
131131
name: 'label-small',
132132
weight: '500',
133133
size: '11px',
134-
lineHeight: '145.45%',
134+
lineHeight: '16px',
135135
tracking: '0.5px',
136136
},
137137
];

0 commit comments

Comments
 (0)