fix background colors
This commit is contained in:
@@ -136,7 +136,9 @@ let ShareMenuItems = ({
|
|||||||
{hideInPWI && (
|
{hideInPWI && (
|
||||||
<Menu.Group>
|
<Menu.Group>
|
||||||
<Menu.ContainerItem>
|
<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>
|
<Trans>This post is only visible to logged-in users.</Trans>
|
||||||
</Admonition>
|
</Admonition>
|
||||||
</Menu.ContainerItem>
|
</Menu.ContainerItem>
|
||||||
|
|||||||
@@ -195,7 +195,6 @@ function CreateDialogInner({passwords}: {passwords: string[]}) {
|
|||||||
value={data.password}
|
value={data.password}
|
||||||
label={_(msg`Copy App Password`)}
|
label={_(msg`Copy App Password`)}
|
||||||
size="large"
|
size="large"
|
||||||
variant="solid"
|
|
||||||
color="secondary">
|
color="secondary">
|
||||||
<ButtonText>{data.password}</ButtonText>
|
<ButtonText>{data.password}</ButtonText>
|
||||||
<ButtonIcon icon={CopyIcon} />
|
<ButtonIcon icon={CopyIcon} />
|
||||||
|
|||||||
@@ -428,10 +428,10 @@ function OwnHandlePage({goToServiceHandle}: {goToServiceHandle: () => void}) {
|
|||||||
</Text>
|
</Text>
|
||||||
<View style={[a.py_xs]}>
|
<View style={[a.py_xs]}>
|
||||||
<CopyButton
|
<CopyButton
|
||||||
variant="solid"
|
|
||||||
color="secondary"
|
color="secondary"
|
||||||
value="_atproto"
|
value="_atproto"
|
||||||
label={_(msg`Copy host`)}
|
label={_(msg`Copy host`)}
|
||||||
|
style={[a.bg_transparent]}
|
||||||
hoverStyle={[a.bg_transparent]}
|
hoverStyle={[a.bg_transparent]}
|
||||||
hitSlop={HITSLOP_10}>
|
hitSlop={HITSLOP_10}>
|
||||||
<Text style={[a.text_md, a.flex_1]}>_atproto</Text>
|
<Text style={[a.text_md, a.flex_1]}>_atproto</Text>
|
||||||
@@ -449,10 +449,10 @@ function OwnHandlePage({goToServiceHandle}: {goToServiceHandle: () => void}) {
|
|||||||
</Text>
|
</Text>
|
||||||
<View style={[a.py_xs]}>
|
<View style={[a.py_xs]}>
|
||||||
<CopyButton
|
<CopyButton
|
||||||
variant="solid"
|
|
||||||
color="secondary"
|
color="secondary"
|
||||||
value={'did=' + currentAccount?.did}
|
value={'did=' + currentAccount?.did}
|
||||||
label={_(msg`Copy TXT record value`)}
|
label={_(msg`Copy TXT record value`)}
|
||||||
|
style={[a.bg_transparent]}
|
||||||
hoverStyle={[a.bg_transparent]}
|
hoverStyle={[a.bg_transparent]}
|
||||||
hitSlop={HITSLOP_10}>
|
hitSlop={HITSLOP_10}>
|
||||||
<Text style={[a.text_md, a.flex_1]}>
|
<Text style={[a.text_md, a.flex_1]}>
|
||||||
|
|||||||
@@ -58,9 +58,9 @@ export function CopyButton({
|
|||||||
pointerEvents="none">
|
pointerEvents="none">
|
||||||
<Text
|
<Text
|
||||||
style={[
|
style={[
|
||||||
a.font_semi_bold,
|
a.font_medium,
|
||||||
a.text_right,
|
a.text_right,
|
||||||
a.text_md,
|
a.text_sm,
|
||||||
t.atoms.text_contrast_high,
|
t.atoms.text_contrast_high,
|
||||||
]}>
|
]}>
|
||||||
<Trans>Copied!</Trans>
|
<Trans>Copied!</Trans>
|
||||||
|
|||||||
Reference in New Issue
Block a user