Switch moderation UIs to tertiary color
This commit is contained in:
@@ -53,7 +53,7 @@ export function ContentHider({
|
|||||||
|
|
||||||
<Button
|
<Button
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="secondary"
|
color="tertiary"
|
||||||
size="large"
|
size="large"
|
||||||
shape="default"
|
shape="default"
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ export function LabelsOnMe({
|
|||||||
|
|
||||||
<Button
|
<Button
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="secondary"
|
color="tertiary"
|
||||||
size={size || 'small'}
|
size={size || 'small'}
|
||||||
label={_(msg`View information about these labels`)}
|
label={_(msg`View information about these labels`)}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ function Label({
|
|||||||
<View>
|
<View>
|
||||||
<Button
|
<Button
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="secondary"
|
color="tertiary"
|
||||||
size="small"
|
size="small"
|
||||||
label={_(msg`Appeal`)}
|
label={_(msg`Appeal`)}
|
||||||
onPress={() => onPressAppeal(label)}>
|
onPress={() => onPressAppeal(label)}>
|
||||||
@@ -245,7 +245,7 @@ function AppealForm({
|
|||||||
<Button
|
<Button
|
||||||
testID="backBtn"
|
testID="backBtn"
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="secondary"
|
color="tertiary"
|
||||||
size="small"
|
size="small"
|
||||||
onPress={onPressBack}
|
onPress={onPressBack}
|
||||||
label={_(msg`Back`)}>
|
label={_(msg`Back`)}>
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ function PostInform({cause}: {cause: ModerationCause}) {
|
|||||||
<Button
|
<Button
|
||||||
label={desc.name}
|
label={desc.name}
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="secondary"
|
color="tertiary"
|
||||||
size="tiny"
|
size="tiny"
|
||||||
shape="default"
|
shape="default"
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
@@ -76,7 +76,7 @@ function PostAlert({cause}: {cause: ModerationCause}) {
|
|||||||
<Button
|
<Button
|
||||||
label={desc.name}
|
label={desc.name}
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="secondary"
|
color="tertiary"
|
||||||
size="small"
|
size="small"
|
||||||
shape="default"
|
shape="default"
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ function ProfileInform({cause}: {cause: ModerationCause}) {
|
|||||||
<Button
|
<Button
|
||||||
label={desc.name}
|
label={desc.name}
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="secondary"
|
color="tertiary"
|
||||||
size="tiny"
|
size="tiny"
|
||||||
shape="default"
|
shape="default"
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
@@ -76,7 +76,7 @@ function ProfileAlert({cause}: {cause: ModerationCause}) {
|
|||||||
<Button
|
<Button
|
||||||
label={desc.name}
|
label={desc.name}
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="secondary"
|
color="tertiary"
|
||||||
size="small"
|
size="small"
|
||||||
shape="default"
|
shape="default"
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
|
|||||||
@@ -593,7 +593,7 @@ function CustomLabelForm({
|
|||||||
a.flex_row,
|
a.flex_row,
|
||||||
a.flex_wrap,
|
a.flex_wrap,
|
||||||
a.gap_md,
|
a.gap_md,
|
||||||
t.atoms.bg_contrast_50,
|
t.atoms.bg_contrast_25,
|
||||||
a.rounded_md,
|
a.rounded_md,
|
||||||
a.p_md,
|
a.p_md,
|
||||||
a.mt_md,
|
a.mt_md,
|
||||||
@@ -789,7 +789,7 @@ function MockPostFeedItem({
|
|||||||
const t = useTheme()
|
const t = useTheme()
|
||||||
if (moderation.ui('contentList').filter) {
|
if (moderation.ui('contentList').filter) {
|
||||||
return (
|
return (
|
||||||
<P style={[t.atoms.bg_contrast_50, a.px_lg, a.py_md, a.mb_lg]}>
|
<P style={[t.atoms.bg_contrast_25, a.px_lg, a.py_md, a.mb_lg]}>
|
||||||
Filtered from the feed
|
Filtered from the feed
|
||||||
</P>
|
</P>
|
||||||
)
|
)
|
||||||
@@ -838,7 +838,7 @@ function MockNotifItem({
|
|||||||
const t = useTheme()
|
const t = useTheme()
|
||||||
if (shouldFilterNotif(notif.notification, moderationOpts)) {
|
if (shouldFilterNotif(notif.notification, moderationOpts)) {
|
||||||
return (
|
return (
|
||||||
<P style={[t.atoms.bg_contrast_50, a.px_lg, a.py_md]}>
|
<P style={[t.atoms.bg_contrast_25, a.px_lg, a.py_md]}>
|
||||||
Filtered from the feed
|
Filtered from the feed
|
||||||
</P>
|
</P>
|
||||||
)
|
)
|
||||||
@@ -857,7 +857,7 @@ function MockAccountCard({
|
|||||||
|
|
||||||
if (moderation.ui('profileList').filter) {
|
if (moderation.ui('profileList').filter) {
|
||||||
return (
|
return (
|
||||||
<P style={[t.atoms.bg_contrast_50, a.px_lg, a.py_md, a.mb_lg]}>
|
<P style={[t.atoms.bg_contrast_25, a.px_lg, a.py_md, a.mb_lg]}>
|
||||||
Filtered from the listing
|
Filtered from the listing
|
||||||
</P>
|
</P>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user