@@ -28,7 +28,6 @@ const themeA = {
28
28
fontFamilyButtons : 'Comic Sans' ,
29
29
fontSize : '1rem' ,
30
30
fontWeight : { normal : 600 } ,
31
- fontSmoothing : 'antialiased' ,
32
31
spacingUnit : 'px' ,
33
32
} ,
34
33
} as const ;
@@ -54,7 +53,6 @@ const themeB = {
54
53
fontFamilyButtons : 'Arial' ,
55
54
fontSize : '2rem' ,
56
55
fontWeight : { normal : 700 } ,
57
- fontSmoothing : 'never' ,
58
56
spacingUnit : 'px' ,
59
57
} ,
60
58
} as const ;
@@ -97,7 +95,6 @@ describe('AppearanceProvider internalTheme flows', () => {
97
95
expect ( result . current . parsedInternalTheme . fonts . $buttons ) . toBe ( themeA . variables . fontFamily ) ;
98
96
expect ( result . current . parsedInternalTheme . fontSizes . $md ) . toBe ( '1rem' ) ;
99
97
expect ( result . current . parsedInternalTheme . fontWeights . $normal ) . toBe ( themeA . variables . fontWeight . normal ) ;
100
- expect ( result . current . parsedInternalTheme . options . $fontSmoothing ) . toBe ( themeA . variables . fontSmoothing ) ;
101
98
expect ( result . current . parsedInternalTheme . space . $1 ) . toContain ( themeA . variables . spacingUnit ) ;
102
99
} ) ;
103
100
@@ -128,7 +125,6 @@ describe('AppearanceProvider internalTheme flows', () => {
128
125
expect ( result . current . parsedInternalTheme . fonts . $buttons ) . toBe ( themeB . variables . fontFamily ) ;
129
126
expect ( result . current . parsedInternalTheme . fontSizes . $md ) . toBe ( '2rem' ) ;
130
127
expect ( result . current . parsedInternalTheme . fontWeights . $normal ) . toBe ( themeB . variables . fontWeight . normal ) ;
131
- expect ( result . current . parsedInternalTheme . options . $fontSmoothing ) . toBe ( themeB . variables . fontSmoothing ) ;
132
128
expect ( result . current . parsedInternalTheme . space . $1 ) . toContain ( themeB . variables . spacingUnit ) ;
133
129
} ) ;
134
130
@@ -160,7 +156,6 @@ describe('AppearanceProvider internalTheme flows', () => {
160
156
expect ( result . current . parsedInternalTheme . fonts . $buttons ) . toBe ( themeB . variables . fontFamily ) ;
161
157
expect ( result . current . parsedInternalTheme . fontSizes . $md ) . toBe ( '2rem' ) ;
162
158
expect ( result . current . parsedInternalTheme . fontWeights . $normal ) . toBe ( themeB . variables . fontWeight . normal ) ;
163
- expect ( result . current . parsedInternalTheme . options . $fontSmoothing ) . toBe ( themeB . variables . fontSmoothing ) ;
164
159
expect ( result . current . parsedInternalTheme . space . $1 ) . toContain ( themeB . variables . spacingUnit ) ;
165
160
} ) ;
166
161
} ) ;
0 commit comments