diff options
author | Eric Bailey <git@esb.lol> | 2024-09-20 11:38:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-20 11:38:51 -0500 |
commit | 0eed1cfec1b0caac35930529dfd9ac92bf38606f (patch) | |
tree | c356b389bb5db2c5e531ec860b5a288bada4cbe6 /src/components/dialogs | |
parent | 27cceb96f33c86a06507a9ad3e631171474100b4 (diff) | |
download | voidsky-0eed1cfec1b0caac35930529dfd9ac92bf38606f.tar.zst |
[Neue] Buttons (#5406)
* Re-align button sizing (cherry picked from commit bcec243bb59dfe468313d98ba61f464d9750feec) * Use large, small, tiny (cherry picked from commit 1dc333c2993ab7f2e0ac750c0670dcec9a7069d0) * Tweaks
Diffstat (limited to 'src/components/dialogs')
-rw-r--r-- | src/components/dialogs/BirthDateSettings.tsx | 2 | ||||
-rw-r--r-- | src/components/dialogs/Embed.tsx | 2 | ||||
-rw-r--r-- | src/components/dialogs/EmbedConsent.tsx | 6 | ||||
-rw-r--r-- | src/components/dialogs/GifSelect.ios.tsx | 2 | ||||
-rw-r--r-- | src/components/dialogs/GifSelect.tsx | 2 | ||||
-rw-r--r-- | src/components/dialogs/MutedWords.tsx | 2 | ||||
-rw-r--r-- | src/components/dialogs/PostInteractionSettingsDialog.tsx | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/src/components/dialogs/BirthDateSettings.tsx b/src/components/dialogs/BirthDateSettings.tsx index d831c6002..08608f9d8 100644 --- a/src/components/dialogs/BirthDateSettings.tsx +++ b/src/components/dialogs/BirthDateSettings.tsx @@ -117,7 +117,7 @@ function BirthdayInner({ <View style={isWeb && [a.flex_row, a.justify_end]}> <Button label={hasChanged ? _(msg`Save birthday`) : _(msg`Done`)} - size="medium" + size="large" onPress={onSave} variant="solid" color="primary"> diff --git a/src/components/dialogs/Embed.tsx b/src/components/dialogs/Embed.tsx index f43c3c6fe..73ecf6616 100644 --- a/src/components/dialogs/Embed.tsx +++ b/src/components/dialogs/Embed.tsx @@ -120,7 +120,7 @@ function EmbedDialogInner({ label={_(msg`Copy code`)} color="primary" variant="solid" - size="medium" + size="large" onPress={() => { ref.current?.focus() ref.current?.setSelection(0, snippet.length) diff --git a/src/components/dialogs/EmbedConsent.tsx b/src/components/dialogs/EmbedConsent.tsx index f7e614597..765b8adc7 100644 --- a/src/components/dialogs/EmbedConsent.tsx +++ b/src/components/dialogs/EmbedConsent.tsx @@ -83,7 +83,7 @@ export function EmbedConsentDialog({ onPress={onShowAllPress} onAccessibilityEscape={control.close} color="primary" - size="medium" + size="large" variant="solid"> <ButtonText> <Trans>Enable external media</Trans> @@ -95,7 +95,7 @@ export function EmbedConsentDialog({ onPress={onShowPress} onAccessibilityEscape={control.close} color="secondary" - size="medium" + size="large" variant="solid"> <ButtonText> <Trans>Enable {externalEmbedLabels[source]} only</Trans> @@ -106,7 +106,7 @@ export function EmbedConsentDialog({ onAccessibilityEscape={control.close} onPress={onHidePress} color="secondary" - size="medium" + size="large" variant="ghost"> <ButtonText> <Trans>No thanks</Trans> diff --git a/src/components/dialogs/GifSelect.ios.tsx b/src/components/dialogs/GifSelect.ios.tsx index 091a23e51..2f867e865 100644 --- a/src/components/dialogs/GifSelect.ios.tsx +++ b/src/components/dialogs/GifSelect.ios.tsx @@ -244,7 +244,7 @@ function ModalError({details, close}: {details?: string; close: () => void}) { label={_(msg`Close dialog`)} onPress={close} color="primary" - size="medium" + size="large" variant="solid"> <ButtonText> <Trans>Close</Trans> diff --git a/src/components/dialogs/GifSelect.tsx b/src/components/dialogs/GifSelect.tsx index 4c60c6ebe..1afc588da 100644 --- a/src/components/dialogs/GifSelect.tsx +++ b/src/components/dialogs/GifSelect.tsx @@ -264,7 +264,7 @@ function DialogError({details}: {details?: string}) { label={_(msg`Close dialog`)} onPress={() => control.close()} color="primary" - size="medium" + size="large" variant="solid"> <ButtonText> <Trans>Close</Trans> diff --git a/src/components/dialogs/MutedWords.tsx b/src/components/dialogs/MutedWords.tsx index 38273aad5..81a614103 100644 --- a/src/components/dialogs/MutedWords.tsx +++ b/src/components/dialogs/MutedWords.tsx @@ -319,7 +319,7 @@ function MutedWordsInner() { <Button disabled={isPending || !field} label={_(msg`Add mute word for configured settings`)} - size="medium" + size="large" color="primary" variant="solid" style={[]} diff --git a/src/components/dialogs/PostInteractionSettingsDialog.tsx b/src/components/dialogs/PostInteractionSettingsDialog.tsx index a326602b7..d1828e4c8 100644 --- a/src/components/dialogs/PostInteractionSettingsDialog.tsx +++ b/src/components/dialogs/PostInteractionSettingsDialog.tsx @@ -439,7 +439,7 @@ export function PostInteractionSettingsForm({ onPress={onSave} onAccessibilityEscape={control.close} color="primary" - size="medium" + size="large" variant="solid" style={a.mt_xl}> <ButtonText>{_(msg`Save`)}</ButtonText> |