mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 07:26:02 +01:00
refactor(web/menu): adjust header icon color ternary
This commit is contained in:
@@ -23,7 +23,7 @@ const useStyles = createStyles((theme, params: { canClose?: boolean }) => ({
|
|||||||
border: 'none',
|
border: 'none',
|
||||||
},
|
},
|
||||||
label: {
|
label: {
|
||||||
color: params.canClose ? theme.colors.dark[0] : theme.colors.dark[2],
|
color: params.canClose === false ? theme.colors.dark[2] : theme.colors.dark[0],
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user