feat(mobile): bigger header buttons

This commit is contained in:
DIYgod 2025-02-26 15:53:44 +08:00
parent 6fafbcb2b8
commit 3ab1c5a9d2
No known key found for this signature in database
3 changed files with 4 additions and 3 deletions

View File

@ -173,6 +173,7 @@ class DialogStatic {
text={props.confirmText ?? "Confirm"}
type="confirm"
className={props.variant === "destructive" ? "bg-red" : "bg-accent"}
textClassName="text-white"
/>
</View>
</DialogDynamicButtonActionProvider>

View File

@ -70,7 +70,7 @@ function FeedShareAction({ params }: { params: any }) {
return (
<UIBarButton
label="Share"
normalIcon={<Share3CuteReIcon height={20} width={20} color={label} />}
normalIcon={<Share3CuteReIcon height={24} width={24} color={label} />}
onPress={() => {
const feed = getFeed(feedId)
if (!feed) return

View File

@ -42,7 +42,7 @@ export function HomeSharedRightAction(props: PropsWithChildren) {
<UIBarButton
label="Mark All as Read"
normalIcon={<CheckCircleCuteReIcon height={20} width={20} color={accentColor} />}
normalIcon={<CheckCircleCuteReIcon height={24} width={24} color={accentColor} />}
onPress={() => {
Dialog.show(MarkAllAsReadDialog)
}}
@ -57,7 +57,7 @@ interface HeaderActionButtonProps {
const useButtonVariant = ({ variant = "primary" }: HeaderActionButtonProps) => {
const label = useColor("label")
const size = 20
const size = 24
const color = variant === "primary" ? accentColor : label
return { size, color }
}