fix background colors (#9174)

This commit is contained in:
Samuel Newman
2025-10-10 19:17:57 +03:00
committed by GitHub
parent a9efd94983
commit fe31cf4508
4 changed files with 7 additions and 6 deletions
@@ -136,7 +136,9 @@ let ShareMenuItems = ({
{hideInPWI && (
<Menu.Group>
<Menu.ContainerItem>
<Admonition type="warning" style={[a.flex_1, a.border_0, a.p_0]}>
<Admonition
type="warning"
style={[a.flex_1, a.border_0, a.p_0, a.bg_transparent]}>
<Trans>This post is only visible to logged-in users.</Trans>
</Admonition>
</Menu.ContainerItem>
@@ -195,7 +195,6 @@ function CreateDialogInner({passwords}: {passwords: string[]}) {
value={data.password}
label={_(msg`Copy App Password`)}
size="large"
variant="solid"
color="secondary">
<ButtonText>{data.password}</ButtonText>
<ButtonIcon icon={CopyIcon} />
@@ -428,10 +428,10 @@ function OwnHandlePage({goToServiceHandle}: {goToServiceHandle: () => void}) {
</Text>
<View style={[a.py_xs]}>
<CopyButton
variant="solid"
color="secondary"
value="_atproto"
label={_(msg`Copy host`)}
style={[a.bg_transparent]}
hoverStyle={[a.bg_transparent]}
hitSlop={HITSLOP_10}>
<Text style={[a.text_md, a.flex_1]}>_atproto</Text>
@@ -449,10 +449,10 @@ function OwnHandlePage({goToServiceHandle}: {goToServiceHandle: () => void}) {
</Text>
<View style={[a.py_xs]}>
<CopyButton
variant="solid"
color="secondary"
value={'did=' + currentAccount?.did}
label={_(msg`Copy TXT record value`)}
style={[a.bg_transparent]}
hoverStyle={[a.bg_transparent]}
hitSlop={HITSLOP_10}>
<Text style={[a.text_md, a.flex_1]}>
@@ -58,9 +58,9 @@ export function CopyButton({
pointerEvents="none">
<Text
style={[
a.font_semi_bold,
a.font_medium,
a.text_right,
a.text_md,
a.text_sm,
t.atoms.text_contrast_high,
]}>
<Trans>Copied!</Trans>