types: some theme vars can be number type (#11037)

This commit is contained in:
neverland 2022-09-12 10:44:53 +08:00 committed by GitHub
parent 39a100f3a0
commit 65d9fbc5da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
48 changed files with 66 additions and 66 deletions

View File

@ -4,15 +4,15 @@ export type ActionSheetThemeVars = {
actionSheetHeaderFontSize?: string; actionSheetHeaderFontSize?: string;
actionSheetDescriptionColor?: string; actionSheetDescriptionColor?: string;
actionSheetDescriptionFontSize?: string; actionSheetDescriptionFontSize?: string;
actionSheetDescriptionLineHeight?: string; actionSheetDescriptionLineHeight?: number | string;
actionSheetItemBackground?: string; actionSheetItemBackground?: string;
actionSheetItemFontSize?: string; actionSheetItemFontSize?: string;
actionSheetItemLineHeight?: string; actionSheetItemLineHeight?: number | string;
actionSheetItemTextColor?: string; actionSheetItemTextColor?: string;
actionSheetItemDisabledTextColor?: string; actionSheetItemDisabledTextColor?: string;
actionSheetSubnameColor?: string; actionSheetSubnameColor?: string;
actionSheetSubnameFontSize?: string; actionSheetSubnameFontSize?: string;
actionSheetSubnameLineHeight?: string; actionSheetSubnameLineHeight?: number | string;
actionSheetCloseIconSize?: string; actionSheetCloseIconSize?: string;
actionSheetCloseIconColor?: string; actionSheetCloseIconColor?: string;
actionSheetCloseIconPadding?: string; actionSheetCloseIconPadding?: string;

View File

@ -3,13 +3,13 @@ export type AddressListThemeVars = {
addressListDisabledTextColor?: string; addressListDisabledTextColor?: string;
addressListDisabledTextPadding?: string; addressListDisabledTextPadding?: string;
addressListDisabledTextFontSize?: string; addressListDisabledTextFontSize?: string;
addressListDisabledTextLineHeight?: string; addressListDisabledTextLineHeight?: number | string;
addressListAddButtonZIndex?: string; addressListAddButtonZIndex?: number | string;
addressListItemPadding?: string; addressListItemPadding?: string;
addressListItemTextColor?: string; addressListItemTextColor?: string;
addressListItemDisabledTextColor?: string; addressListItemDisabledTextColor?: string;
addressListItemFontSize?: string; addressListItemFontSize?: string;
addressListItemLineHeight?: string; addressListItemLineHeight?: number | string;
addressListRadioColor?: string; addressListRadioColor?: string;
addressListEditIconSize?: string; addressListEditIconSize?: string;
}; };

View File

@ -24,7 +24,7 @@ export type ButtonThemeVars = {
buttonNormalFontSize?: string; buttonNormalFontSize?: string;
buttonLargeHeight?: string; buttonLargeHeight?: string;
buttonDefaultHeight?: string; buttonDefaultHeight?: string;
buttonDefaultLineHeight?: string; buttonDefaultLineHeight?: number | string;
buttonDefaultFontSize?: string; buttonDefaultFontSize?: string;
buttonDefaultColor?: string; buttonDefaultColor?: string;
buttonDefaultBackground?: string; buttonDefaultBackground?: string;
@ -45,7 +45,7 @@ export type ButtonThemeVars = {
buttonRadius?: string; buttonRadius?: string;
buttonRoundRadius?: string; buttonRoundRadius?: string;
buttonPlainBackground?: string; buttonPlainBackground?: string;
buttonDisabledOpacity?: string; buttonDisabledOpacity?: number | string;
buttonIconSize?: string; buttonIconSize?: string;
buttonLoadingIconSize?: string; buttonLoadingIconSize?: string;
}; };

View File

@ -67,11 +67,11 @@ export type CalendarThemeVars = {
calendarRangeEdgeColor?: string; calendarRangeEdgeColor?: string;
calendarRangeEdgeBackground?: string; calendarRangeEdgeBackground?: string;
calendarRangeMiddleColor?: string; calendarRangeMiddleColor?: string;
calendarRangeMiddleBackgroundOpacity?: string; calendarRangeMiddleBackgroundOpacity?: number | string;
calendarSelectedDaySize?: string; calendarSelectedDaySize?: string;
calendarSelectedDayColor?: string; calendarSelectedDayColor?: string;
calendarInfoFontSize?: string; calendarInfoFontSize?: string;
calendarInfoLineHeight?: string; calendarInfoLineHeight?: number | string;
calendarSelectedDayBackground?: string; calendarSelectedDayBackground?: string;
calendarDayDisabledColor?: string; calendarDayDisabledColor?: string;
calendarConfirmButtonHeight?: string; calendarConfirmButtonHeight?: string;

View File

@ -5,9 +5,9 @@ export type CardThemeVars = {
cardBackground?: string; cardBackground?: string;
cardThumbSize?: string; cardThumbSize?: string;
cardThumbRadius?: string; cardThumbRadius?: string;
cardTitleLineHeight?: string; cardTitleLineHeight?: number | string;
cardDescColor?: string; cardDescColor?: string;
cardDescLineHeight?: string; cardDescLineHeight?: number | string;
cardPriceColor?: string; cardPriceColor?: string;
cardOriginPriceColor?: string; cardOriginPriceColor?: string;
cardNumColor?: string; cardNumColor?: string;

View File

@ -26,7 +26,7 @@ export type CascaderThemeVars = {
cascaderHeaderHeight?: string; cascaderHeaderHeight?: string;
cascaderHeaderPadding?: string; cascaderHeaderPadding?: string;
cascaderTitleFontSize?: string; cascaderTitleFontSize?: string;
cascaderTitleLineHeight?: string; cascaderTitleLineHeight?: number | string;
cascaderCloseIconSize?: string; cascaderCloseIconSize?: string;
cascaderCloseIconColor?: string; cascaderCloseIconColor?: string;
cascaderSelectedIconSize?: string; cascaderSelectedIconSize?: string;

View File

@ -3,7 +3,7 @@ export type CellGroupThemeVars = {
cellGroupTitleColor?: string; cellGroupTitleColor?: string;
cellGroupTitlePadding?: string; cellGroupTitlePadding?: string;
cellGroupTitleFontSize?: string; cellGroupTitleFontSize?: string;
cellGroupTitleLineHeight?: string; cellGroupTitleLineHeight?: number | string;
cellGroupInsetPadding?: string; cellGroupInsetPadding?: string;
cellGroupInsetRadius?: string; cellGroupInsetRadius?: string;
cellGroupInsetTitlePadding?: string; cellGroupInsetTitlePadding?: string;

View File

@ -1,6 +1,6 @@
export type CellThemeVars = { export type CellThemeVars = {
cellFontSize?: string; cellFontSize?: string;
cellLineHeight?: string; cellLineHeight?: number | string;
cellVerticalPadding?: string; cellVerticalPadding?: string;
cellHorizontalPadding?: string; cellHorizontalPadding?: string;
cellTextColor?: string; cellTextColor?: string;
@ -10,7 +10,7 @@ export type CellThemeVars = {
cellRequiredColor?: string; cellRequiredColor?: string;
cellLabelColor?: string; cellLabelColor?: string;
cellLabelFontSize?: string; cellLabelFontSize?: string;
cellLabelLineHeight?: string; cellLabelLineHeight?: number | string;
cellLabelMarginTop?: string; cellLabelMarginTop?: string;
cellValueColor?: string; cellValueColor?: string;
cellIconSize?: string; cellIconSize?: string;

View File

@ -5,5 +5,5 @@ export type CircleThemeVars = {
circleTextColor?: string; circleTextColor?: string;
circleTextFontWeight?: string; circleTextFontWeight?: string;
circleTextFontSize?: string; circleTextFontSize?: string;
circleTextLineHeight?: string; circleTextLineHeight?: number | string;
}; };

View File

@ -14,7 +14,7 @@ export type CollapseItemThemeVars = {
collapseItemDuration?: string; collapseItemDuration?: string;
collapseItemContentPadding?: string; collapseItemContentPadding?: string;
collapseItemContentFontSize?: string; collapseItemContentFontSize?: string;
collapseItemContentLineHeight?: string; collapseItemContentLineHeight?: number | string;
collapseItemContentTextColor?: string; collapseItemContentTextColor?: string;
collapseItemContentBackground?: string; collapseItemContentBackground?: string;
collapseItemTitleDisabledColor?: string; collapseItemTitleDisabledColor?: string;

View File

@ -2,5 +2,5 @@ export type ContactCardThemeVars = {
contactCardPadding?: string; contactCardPadding?: string;
contactCardAddIconSize?: string; contactCardAddIconSize?: string;
contactCardAddIconColor?: string; contactCardAddIconColor?: string;
contactCardTitleLineHeight?: string; contactCardTitleLineHeight?: number | string;
}; };

View File

@ -1,6 +1,6 @@
export type ContactListThemeVars = { export type ContactListThemeVars = {
contactListEditIconSize?: string; contactListEditIconSize?: string;
contactListAddButtonZIndex?: string; contactListAddButtonZIndex?: number | string;
contactListRadioColor?: string; contactListRadioColor?: string;
contactListItemPadding?: string; contactListItemPadding?: string;
}; };

View File

@ -18,5 +18,5 @@ export type CountDownCurrentTime = CurrentTime;
export type CountDownThemeVars = { export type CountDownThemeVars = {
countDownTextColor?: string; countDownTextColor?: string;
countDownFontSize?: string; countDownFontSize?: string;
countDownLineHeight?: string; countDownLineHeight?: number | string;
}; };

View File

@ -5,5 +5,5 @@ export type CouponListThemeVars = {
couponListCloseButtonHeight?: string; couponListCloseButtonHeight?: string;
couponListEmptyTipColor?: string; couponListEmptyTipColor?: string;
couponListEmptyTipFontSize?: string; couponListEmptyTipFontSize?: string;
couponListEmptyTipLineHeight?: string; couponListEmptyTipLineHeight?: number | string;
}; };

View File

@ -41,12 +41,12 @@ export type DialogThemeVars = {
dialogRadius?: string; dialogRadius?: string;
dialogBackground?: string; dialogBackground?: string;
dialogHeaderFontWeight?: string; dialogHeaderFontWeight?: string;
dialogHeaderLineHeight?: string; dialogHeaderLineHeight?: number | string;
dialogHeaderPaddingTop?: string; dialogHeaderPaddingTop?: string;
dialogHeaderIsolatedPadding?: string; dialogHeaderIsolatedPadding?: string;
dialogMessagePadding?: string; dialogMessagePadding?: string;
dialogMessageFontSize?: string; dialogMessageFontSize?: string;
dialogMessageLineHeight?: string; dialogMessageLineHeight?: number | string;
dialogMessageMaxHeight?: string; dialogMessageMaxHeight?: string;
dialogHasTitleMessageTextColor?: string; dialogHasTitleMessageTextColor?: string;
dialogHasTitleMessagePaddingTop?: string; dialogHasTitleMessagePaddingTop?: string;

View File

@ -2,7 +2,7 @@ export type DividerThemeVars = {
dividerMargin?: string; dividerMargin?: string;
dividerTextColor?: string; dividerTextColor?: string;
dividerFontSize?: string; dividerFontSize?: string;
dividerLineHeight?: string; dividerLineHeight?: number | string;
dividerBorderColor?: string; dividerBorderColor?: string;
dividerContentPadding?: string; dividerContentPadding?: string;
dividerContentLeftWidth?: string; dividerContentLeftWidth?: string;

View File

@ -31,5 +31,5 @@ export type DropdownItemInstance = ComponentPublicInstance<
>; >;
export type DropdownItemThemeVars = { export type DropdownItemThemeVars = {
dropdownItemZIndex?: string; dropdownItemZIndex?: number | string;
}; };

View File

@ -18,7 +18,7 @@ export type DropdownMenuThemeVars = {
dropdownMenuTitleActiveTextColor?: string; dropdownMenuTitleActiveTextColor?: string;
dropdownMenuTitleDisabledTextColor?: string; dropdownMenuTitleDisabledTextColor?: string;
dropdownMenuTitlePadding?: string; dropdownMenuTitlePadding?: string;
dropdownMenuTitleLineHeight?: string; dropdownMenuTitleLineHeight?: number | string;
dropdownMenuOptionActiveColor?: string; dropdownMenuOptionActiveColor?: string;
dropdownMenuContentMaxHeight?: string; dropdownMenuContentMaxHeight?: string;
}; };

View File

@ -5,6 +5,6 @@ export type EmptyThemeVars = {
emptyDescriptionPadding?: string; emptyDescriptionPadding?: string;
emptyDescriptionColor?: string; emptyDescriptionColor?: string;
emptyDescriptionFontSize?: string; emptyDescriptionFontSize?: string;
emptyDescriptionLineHeight?: string; emptyDescriptionLineHeight?: number | string;
emptyBottomMarginTop?: string; emptyBottomMarginTop?: string;
}; };

View File

@ -116,7 +116,7 @@ export type FieldThemeVars = {
fieldTextAreaMinHeight?: string; fieldTextAreaMinHeight?: string;
fieldWordLimitColor?: string; fieldWordLimitColor?: string;
fieldWordLimitFontSize?: string; fieldWordLimitFontSize?: string;
fieldWordLimitLineHeight?: string; fieldWordLimitLineHeight?: number | string;
fieldDisabledTextColor?: string; fieldDisabledTextColor?: string;
fieldRequiredMarkColor?: string; fieldRequiredMarkColor?: string;
}; };

View File

@ -49,11 +49,11 @@ export type ImagePreviewInstance = ComponentPublicInstance<
export type ImagePreviewThemeVars = { export type ImagePreviewThemeVars = {
imagePreviewIndexTextColor?: string; imagePreviewIndexTextColor?: string;
imagePreviewIndexFontSize?: string; imagePreviewIndexFontSize?: string;
imagePreviewIndexLineHeight?: string; imagePreviewIndexLineHeight?: number | string;
imagePreviewIndexTextShadow?: string; imagePreviewIndexTextShadow?: string;
imagePreviewOverlayBackground?: string; imagePreviewOverlayBackground?: string;
imagePreviewCloseIconSize?: string; imagePreviewCloseIconSize?: string;
imagePreviewCloseIconColor?: string; imagePreviewCloseIconColor?: string;
imagePreviewCloseIconMargin?: string; imagePreviewCloseIconMargin?: string;
imagePreviewCloseIconZIndex?: string; imagePreviewCloseIconZIndex?: number | string;
}; };

View File

@ -1,10 +1,10 @@
export type IndexAnchorThemeVars = { export type IndexAnchorThemeVars = {
indexAnchorZIndex?: string; indexAnchorZIndex?: number | string;
indexAnchorPadding?: string; indexAnchorPadding?: string;
indexAnchorTextColor?: string; indexAnchorTextColor?: string;
indexAnchorFontWeight?: string; indexAnchorFontWeight?: string;
indexAnchorFontSize?: string; indexAnchorFontSize?: string;
indexAnchorLineHeight?: string; indexAnchorLineHeight?: number | string;
indexAnchorBackground?: string; indexAnchorBackground?: string;
indexAnchorStickyTextColor?: string; indexAnchorStickyTextColor?: string;
indexAnchorStickyBackground?: string; indexAnchorStickyBackground?: string;

View File

@ -16,8 +16,8 @@ export type IndexBarInstance = ComponentPublicInstance<
>; >;
export type IndexBarThemeVars = { export type IndexBarThemeVars = {
indexBarSidebarZIndex?: string; indexBarSidebarZIndex?: number | string;
indexBarIndexFontSize?: string; indexBarIndexFontSize?: string;
indexBarIndexLineHeight?: string; indexBarIndexLineHeight?: number | string;
indexBarIndexActiveColor?: string; indexBarIndexActiveColor?: string;
}; };

View File

@ -12,6 +12,6 @@ export type ListInstance = ComponentPublicInstance<ListProps, ListExpose>;
export type ListThemeVars = { export type ListThemeVars = {
listTextColor?: string; listTextColor?: string;
listTextFontSize?: string; listTextFontSize?: string;
listTextLineHeight?: string; listTextLineHeight?: number | string;
listLoadingIconSize?: string; listLoadingIconSize?: string;
}; };

View File

@ -6,5 +6,5 @@ export type NavBarThemeVars = {
navBarTextColor?: string; navBarTextColor?: string;
navBarTitleFontSize?: string; navBarTitleFontSize?: string;
navBarTitleTextColor?: string; navBarTitleTextColor?: string;
navBarZIndex?: string; navBarZIndex?: number | string;
}; };

View File

@ -18,7 +18,7 @@ export type NoticeBarThemeVars = {
noticeBarWrapablePadding?: string; noticeBarWrapablePadding?: string;
noticeBarTextColor?: string; noticeBarTextColor?: string;
noticeBarFontSize?: string; noticeBarFontSize?: string;
noticeBarLineHeight?: string; noticeBarLineHeight?: number | string;
noticeBarBackground?: string; noticeBarBackground?: string;
noticeBarIconSize?: string; noticeBarIconSize?: string;
noticeBarIconMinWidth?: string; noticeBarIconMinWidth?: string;

View File

@ -24,7 +24,7 @@ export type NotifyThemeVars = {
notifyTextColor?: string; notifyTextColor?: string;
notifyPadding?: string; notifyPadding?: string;
notifyFontSize?: string; notifyFontSize?: string;
notifyLineHeight?: string; notifyLineHeight?: number | string;
notifyPrimaryBackground?: string; notifyPrimaryBackground?: string;
notifySuccessBackground?: string; notifySuccessBackground?: string;
notifyDangerBackground?: string; notifyDangerBackground?: string;

View File

@ -13,5 +13,5 @@ export type NumberKeyboardThemeVars = {
numberKeyboardCloseFontSize?: string; numberKeyboardCloseFontSize?: string;
numberKeyboardButtonTextColor?: string; numberKeyboardButtonTextColor?: string;
numberKeyboardButtonBackground?: string; numberKeyboardButtonBackground?: string;
numberKeyboardZIndex?: string; numberKeyboardZIndex?: number | string;
}; };

View File

@ -1,4 +1,4 @@
export type OverlayThemeVars = { export type OverlayThemeVars = {
overlayZIndex?: string; overlayZIndex?: number | string;
overlayBackground?: string; overlayBackground?: string;
}; };

View File

@ -7,5 +7,5 @@ export type PaginationThemeVars = {
paginationItemDisabledBackground?: string; paginationItemDisabledBackground?: string;
paginationBackground?: string; paginationBackground?: string;
paginationDescColor?: string; paginationDescColor?: string;
paginationDisabledOpacity?: string; paginationDisabledOpacity?: number | string;
}; };

View File

@ -59,7 +59,7 @@ export type PickerThemeVars = {
pickerBackground?: string; pickerBackground?: string;
pickerToolbarHeight?: string; pickerToolbarHeight?: string;
pickerTitleFontSize?: string; pickerTitleFontSize?: string;
pickerTitleLineHeight?: string; pickerTitleLineHeight?: number | string;
pickerActionPadding?: string; pickerActionPadding?: string;
pickerActionFontSize?: string; pickerActionFontSize?: string;
pickerConfirmActionColor?: string; pickerConfirmActionColor?: string;
@ -67,7 +67,7 @@ export type PickerThemeVars = {
pickerOptionFontSize?: string; pickerOptionFontSize?: string;
pickerOptionPadding?: string; pickerOptionPadding?: string;
pickerOptionTextColor?: string; pickerOptionTextColor?: string;
pickerOptionDisabledOpacity?: string; pickerOptionDisabledOpacity?: number | string;
pickerLoadingIconColor?: string; pickerLoadingIconColor?: string;
pickerLoadingMaskColor?: string; pickerLoadingMaskColor?: string;
pickerMaskColor?: string; pickerMaskColor?: string;

View File

@ -29,7 +29,7 @@ export type PopoverThemeVars = {
popoverActionWidth?: string; popoverActionWidth?: string;
popoverActionHeight?: string; popoverActionHeight?: string;
popoverActionFontSize?: string; popoverActionFontSize?: string;
popoverActionLineHeight?: string; popoverActionLineHeight?: number | string;
popoverActionIconSize?: string; popoverActionIconSize?: string;
popoverLightTextColor?: string; popoverLightTextColor?: string;
popoverLightBackground?: string; popoverLightBackground?: string;

View File

@ -22,5 +22,5 @@ export type PopupThemeVars = {
popupCloseIconSize?: string; popupCloseIconSize?: string;
popupCloseIconColor?: string; popupCloseIconColor?: string;
popupCloseIconMargin?: string; popupCloseIconMargin?: string;
popupCloseIconZIndex?: string; popupCloseIconZIndex?: number | string;
}; };

View File

@ -18,6 +18,6 @@ export type ProgressThemeVars = {
progressPivotPadding?: string; progressPivotPadding?: string;
progressPivotTextColor?: string; progressPivotTextColor?: string;
progressPivotFontSize?: string; progressPivotFontSize?: string;
progressPivotLineHeight?: string; progressPivotLineHeight?: number | string;
progressPivotBackground?: string; progressPivotBackground?: string;
}; };

View File

@ -2,10 +2,10 @@ export type ShareSheetThemeVars = {
shareSheetHeaderPadding?: string; shareSheetHeaderPadding?: string;
shareSheetTitleColor?: string; shareSheetTitleColor?: string;
shareSheetTitleFontSize?: string; shareSheetTitleFontSize?: string;
shareSheetTitleLineHeight?: string; shareSheetTitleLineHeight?: number | string;
shareSheetDescriptionColor?: string; shareSheetDescriptionColor?: string;
shareSheetDescriptionFontSize?: string; shareSheetDescriptionFontSize?: string;
shareSheetDescriptionLineHeight?: string; shareSheetDescriptionLineHeight?: number | string;
shareSheetIconSize?: string; shareSheetIconSize?: string;
shareSheetOptionNameColor?: string; shareSheetOptionNameColor?: string;
shareSheetOptionNameFontSize?: string; shareSheetOptionNameFontSize?: string;

View File

@ -1,6 +1,6 @@
export type SidebarItemThemeVars = { export type SidebarItemThemeVars = {
sidebarFontSize?: string; sidebarFontSize?: string;
sidebarLineHeight?: string; sidebarLineHeight?: number | string;
sidebarTextColor?: string; sidebarTextColor?: string;
sidebarDisabledTextColor?: string; sidebarDisabledTextColor?: string;
sidebarPadding?: string; sidebarPadding?: string;

View File

@ -1,7 +1,7 @@
export type SliderThemeVars = { export type SliderThemeVars = {
sliderActiveBackground?: string; sliderActiveBackground?: string;
sliderInactiveBackground?: string; sliderInactiveBackground?: string;
sliderDisabledOpacity?: string; sliderDisabledOpacity?: number | string;
sliderBarHeight?: string; sliderBarHeight?: string;
sliderButtonWidth?: string; sliderButtonWidth?: string;
sliderButtonHeight?: string; sliderButtonHeight?: string;

View File

@ -7,7 +7,7 @@ export type StepperThemeVars = {
stepperInputWidth?: string; stepperInputWidth?: string;
stepperInputHeight?: string; stepperInputHeight?: string;
stepperInputFontSize?: string; stepperInputFontSize?: string;
stepperInputLineHeight?: string; stepperInputLineHeight?: number | string;
stepperInputTextColor?: string; stepperInputTextColor?: string;
stepperInputDisabledTextColor?: string; stepperInputDisabledTextColor?: string;
stepperInputDisabledBackground?: string; stepperInputDisabledBackground?: string;

View File

@ -1,3 +1,3 @@
export type StickyThemeVars = { export type StickyThemeVars = {
stickyZIndex?: string; stickyZIndex?: number | string;
}; };

View File

@ -1,6 +1,6 @@
export type SubmitBarThemeVars = { export type SubmitBarThemeVars = {
submitBarHeight?: string; submitBarHeight?: string;
submitBarZIndex?: string; submitBarZIndex?: number | string;
submitBarBackground?: string; submitBarBackground?: string;
submitBarButtonWidth?: string; submitBarButtonWidth?: string;
submitBarPriceColor?: string; submitBarPriceColor?: string;
@ -12,7 +12,7 @@ export type SubmitBarThemeVars = {
submitBarTextFontSize?: string; submitBarTextFontSize?: string;
submitBarTipPadding?: string; submitBarTipPadding?: string;
submitBarTipFontSize?: string; submitBarTipFontSize?: string;
submitBarTipLineHeight?: string; submitBarTipLineHeight?: number | string;
submitBarTipColor?: string; submitBarTipColor?: string;
submitBarTipBackground?: string; submitBarTipBackground?: string;
submitBarTipIconSize?: string; submitBarTipIconSize?: string;

View File

@ -35,8 +35,8 @@ export type SwipeInstance = ComponentPublicInstance<SwipeProps, SwipeExpose>;
export type SwipeThemeVars = { export type SwipeThemeVars = {
swipeIndicatorSize?: string; swipeIndicatorSize?: string;
swipeIndicatorMargin?: string; swipeIndicatorMargin?: string;
swipeIndicatorActiveOpacity?: string; swipeIndicatorActiveOpacity?: number | string;
swipeIndicatorInactiveOpacity?: string; swipeIndicatorInactiveOpacity?: number | string;
swipeIndicatorActiveBackground?: string; swipeIndicatorActiveBackground?: string;
swipeIndicatorInactiveBackground?: string; swipeIndicatorInactiveBackground?: string;
}; };

View File

@ -8,5 +8,5 @@ export type SwitchThemeVars = {
switchBackground?: string; switchBackground?: string;
switchOnBackground?: string; switchOnBackground?: string;
switchDuration?: string; switchDuration?: string;
switchDisabledOpacity?: string; switchDisabledOpacity?: number | string;
}; };

View File

@ -3,7 +3,7 @@ export type TabbarItemThemeVars = {
tabbarItemTextColor?: string; tabbarItemTextColor?: string;
tabbarItemActiveColor?: string; tabbarItemActiveColor?: string;
tabbarItemActiveBackground?: string; tabbarItemActiveBackground?: string;
tabbarItemLineHeight?: string; tabbarItemLineHeight?: number | string;
tabbarItemIconSize?: string; tabbarItemIconSize?: string;
tabbarItemIconMarginBottom?: string; tabbarItemIconMarginBottom?: string;
}; };

View File

@ -1,5 +1,5 @@
export type TabbarThemeVars = { export type TabbarThemeVars = {
tabbarHeight?: string; tabbarHeight?: string;
tabbarZIndex?: string; tabbarZIndex?: number | string;
tabbarBackground?: string; tabbarBackground?: string;
}; };

View File

@ -32,9 +32,9 @@ export type TabsThemeVars = {
tabActiveTextColor?: string; tabActiveTextColor?: string;
tabDisabledTextColor?: string; tabDisabledTextColor?: string;
tabFontSize?: string; tabFontSize?: string;
tabLineHeight?: string; tabLineHeight?: number | string;
tabsDefaultColor?: string; tabsDefaultColor?: string;
tabsLineHeight?: string; tabsLineHeight?: number | string;
tabsCardHeight?: string; tabsCardHeight?: string;
tabsNavBackground?: string; tabsNavBackground?: string;
tabsBottomBarWidth?: string; tabsBottomBarWidth?: string;

View File

@ -7,7 +7,7 @@ export type TagThemeVars = {
tagTextColor?: string; tagTextColor?: string;
tagFontSize?: string; tagFontSize?: string;
tagRadius?: string; tagRadius?: string;
tagLineHeight?: string; tagLineHeight?: number | string;
tagMediumPadding?: string; tagMediumPadding?: string;
tagLargePadding?: string; tagLargePadding?: string;
tagLargeRadius?: string; tagLargeRadius?: string;

View File

@ -44,7 +44,7 @@ export type ToastThemeVars = {
toastFontSize?: string; toastFontSize?: string;
toastTextColor?: string; toastTextColor?: string;
toastLoadingIconColor?: string; toastLoadingIconColor?: string;
toastLineHeight?: string; toastLineHeight?: number | string;
toastRadius?: string; toastRadius?: string;
toastBackground?: string; toastBackground?: string;
toastIconSize?: string; toastIconSize?: string;

View File

@ -68,8 +68,8 @@ export type UploaderThemeVars = {
uploaderMaskBackground?: string; uploaderMaskBackground?: string;
uploaderMaskIconSize?: string; uploaderMaskIconSize?: string;
uploaderMaskMessageFontSize?: string; uploaderMaskMessageFontSize?: string;
uploaderMaskMessageLineHeight?: string; uploaderMaskMessageLineHeight?: number | string;
uploaderLoadingIconSize?: string; uploaderLoadingIconSize?: string;
uploaderLoadingIconColor?: string; uploaderLoadingIconColor?: string;
uploaderDisabledOpacity?: string; uploaderDisabledOpacity?: number | string;
}; };