feat: sync dark mode w cloud
This commit is contained in:
@@ -601,11 +601,11 @@ export const NavBar: React.FC<NavBarProps> = ({
|
|||||||
|
|
||||||
const NavBarWrapper = styled.div<{ mode: 'light' | 'dark' }>`
|
const NavBarWrapper = styled.div<{ mode: 'light' | 'dark' }>`
|
||||||
grid-area: navbar;
|
grid-area: navbar;
|
||||||
background-color: ${({ mode }) => (mode === 'dark' ? '#080808ff' : '#ffffff')};
|
background-color: ${({ mode }) => (mode === 'dark' ? '#000000ff' : '#ffffff')};
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
border-bottom: 1px solid ${({ mode }) => (mode === 'dark' ? '#121111ff' : '#e0e0e0')};
|
border-bottom: 1px solid ${({ mode }) => (mode === 'dark' ? '#000000ff' : '#e0e0e0')};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const ProjectName = styled.b<{ mode: 'light' | 'dark' }>`
|
const ProjectName = styled.b<{ mode: 'light' | 'dark' }>`
|
||||||
|
|||||||
Reference in New Issue
Block a user