@@ -218,10 +218,10 @@ const themes = [
218
218
{ name : 'dark' , theme : darkTheme } ,
219
219
{ name : 'midnight' , theme : midnightTheme } ,
220
220
] as const ;
221
- type ThemeName = typeof themes [ number ] [ 'name' ] ;
221
+ type ThemeName = ( typeof themes ) [ number ] [ 'name' ] ;
222
222
223
223
const fontStacks = [ 'rounded' , 'system' ] as const ;
224
- type FontStack = typeof fontStacks [ number ] ;
224
+ type FontStack = ( typeof fontStacks ) [ number ] ;
225
225
226
226
const accentColors = [
227
227
'blue' ,
@@ -232,16 +232,16 @@ const accentColors = [
232
232
'red' ,
233
233
'custom' ,
234
234
] as const ;
235
- type AccentColor = typeof accentColors [ number ] ;
235
+ type AccentColor = ( typeof accentColors ) [ number ] ;
236
236
237
237
const radiusScales = [ 'large' , 'medium' , 'small' , 'none' ] as const ;
238
- type RadiusScale = typeof radiusScales [ number ] ;
238
+ type RadiusScale = ( typeof radiusScales ) [ number ] ;
239
239
240
240
const overlayBlurs = [ 'large' , 'small' , 'none' ] as const ;
241
- type OverlayBlur = typeof overlayBlurs [ number ] ;
241
+ type OverlayBlur = ( typeof overlayBlurs ) [ number ] ;
242
242
243
243
const modalSizes = [ 'wide' , 'compact' ] as const ;
244
- type ModalSize = typeof modalSizes [ number ] ;
244
+ type ModalSize = ( typeof modalSizes ) [ number ] ;
245
245
246
246
function RainbowKitApp ( {
247
247
Component,
0 commit comments