Skip to content

Commit ee93bb3

Browse files
committed
docs(MenuDropdown): 统一主题颜色
1 parent 3ae9299 commit ee93bb3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/src/Button/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export default function ButtonView<T>(props: ButtonProps) {
105105
borderWidth = 0;
106106
}
107107
const buttonStyle = {
108-
backgroundColor,
108+
backgroundColor: backgroundColor || '#fff5',
109109
borderColor,
110110
borderWidth,
111111
borderRadius,

packages/core/src/MenuDropdown/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default function MenuDropdown(props: MenuDropdownProps) {
6161
};
6262
return (
6363
<View style={[styles.menuBox, { height: listHeight + 50 }]}>
64-
<Button {...btnProps} color={btnProps.color || '#035bb6'} onPress={handleonPress} size={size}>
64+
<Button {...btnProps} color={btnProps.color} onPress={handleonPress} size={size}>
6565
<Text>{title}</Text>
6666
<Icon name={btnIcon} size={17} />
6767
</Button>

0 commit comments

Comments
 (0)