Adjust theming
This commit is contained in:
@@ -125,7 +125,7 @@ export function Outer({children}: React.PropsWithChildren<{}>) {
|
|||||||
style={[
|
style={[
|
||||||
a.rounded_sm,
|
a.rounded_sm,
|
||||||
a.p_xs,
|
a.p_xs,
|
||||||
t.atoms.bg_contrast_50,
|
t.name === 'light' ? t.atoms.bg : t.atoms.bg_contrast_25,
|
||||||
t.atoms.shadow_md,
|
t.atoms.shadow_md,
|
||||||
]}>
|
]}>
|
||||||
{children}
|
{children}
|
||||||
@@ -133,7 +133,10 @@ export function Outer({children}: React.PropsWithChildren<{}>) {
|
|||||||
|
|
||||||
<DropdownMenu.Arrow
|
<DropdownMenu.Arrow
|
||||||
className="DropdownMenuArrow"
|
className="DropdownMenuArrow"
|
||||||
fill={t.atoms.bg_contrast_50.backgroundColor}
|
fill={
|
||||||
|
(t.name === 'light' ? t.atoms.bg : t.atoms.bg_contrast_25)
|
||||||
|
.backgroundColor
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</DropdownMenu.Content>
|
</DropdownMenu.Content>
|
||||||
</DropdownMenu.Portal>
|
</DropdownMenu.Portal>
|
||||||
@@ -181,7 +184,9 @@ export function Item({children, label, onPress, ...rest}: ItemProps) {
|
|||||||
web({outline: 0}),
|
web({outline: 0}),
|
||||||
(hovered || focused) && [
|
(hovered || focused) && [
|
||||||
web({outline: '0 !important'}),
|
web({outline: '0 !important'}),
|
||||||
t.atoms.bg_contrast_25,
|
t.name === 'light'
|
||||||
|
? t.atoms.bg_contrast_25
|
||||||
|
: t.atoms.bg_contrast_50,
|
||||||
],
|
],
|
||||||
])}
|
])}
|
||||||
{...web({
|
{...web({
|
||||||
|
|||||||
Reference in New Issue
Block a user