Fix some colors
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ export const defaultTheme: Theme = {
|
|||||||
palette: {
|
palette: {
|
||||||
default: {
|
default: {
|
||||||
background: lightPalette.white,
|
background: lightPalette.white,
|
||||||
backgroundLight: lightPalette.contrast_50,
|
backgroundLight: lightPalette.contrast_25,
|
||||||
text: lightPalette.black,
|
text: lightPalette.black,
|
||||||
textLight: lightPalette.contrast_700,
|
textLight: lightPalette.contrast_700,
|
||||||
textInverted: lightPalette.white,
|
textInverted: lightPalette.white,
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import {useSession} from '#/state/session'
|
|||||||
import {Shadow} from '#/state/cache/types'
|
import {Shadow} from '#/state/cache/types'
|
||||||
import {NEW_REPORT_DIALOG_ENABLED} from '#/lib/build-flags'
|
import {NEW_REPORT_DIALOG_ENABLED} from '#/lib/build-flags'
|
||||||
|
|
||||||
import {atoms as a, useTheme, tokens} from '#/alf'
|
import {atoms as a, useTheme} from '#/alf'
|
||||||
import * as Toast from 'view/com/util/Toast'
|
import * as Toast from 'view/com/util/Toast'
|
||||||
import {NativeDropdown, DropdownItem} from 'view/com/util/forms/NativeDropdown'
|
import {NativeDropdown, DropdownItem} from 'view/com/util/forms/NativeDropdown'
|
||||||
import {ReportDialog, useReportDialogControl} from '#/components/ReportDialog'
|
import {ReportDialog, useReportDialogControl} from '#/components/ReportDialog'
|
||||||
@@ -283,11 +283,8 @@ export function ProfileHeaderDropdownBtn({
|
|||||||
{
|
{
|
||||||
height: 40,
|
height: 40,
|
||||||
width: 40,
|
width: 40,
|
||||||
backgroundColor:
|
|
||||||
t.name === 'light'
|
|
||||||
? tokens.color.gray_50
|
|
||||||
: tokens.color.gray_900,
|
|
||||||
},
|
},
|
||||||
|
t.atoms.bg_contrast_25,
|
||||||
a.flex_row,
|
a.flex_row,
|
||||||
a.align_center,
|
a.align_center,
|
||||||
a.justify_center,
|
a.justify_center,
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export function ProfileHeaderHandle({
|
|||||||
return (
|
return (
|
||||||
<View style={[a.flex_row, a.gap_xs, a.align_center]} pointerEvents="none">
|
<View style={[a.flex_row, a.gap_xs, a.align_center]} pointerEvents="none">
|
||||||
{profile.viewer?.followedBy && !blockHide ? (
|
{profile.viewer?.followedBy && !blockHide ? (
|
||||||
<View style={[t.atoms.bg_contrast_50, a.rounded_xs, a.px_sm, a.py_xs]}>
|
<View style={[t.atoms.bg_contrast_25, a.rounded_xs, a.px_sm, a.py_xs]}>
|
||||||
<Text style={[t.atoms.text, a.text_sm]}>
|
<Text style={[t.atoms.text, a.text_sm]}>
|
||||||
<Trans>Follows you</Trans>
|
<Trans>Follows you</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user