mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-23 02:17:11 +00:00
27 lines
539 B
TypeScript
27 lines
539 B
TypeScript
import { Layout } from 'antd';
|
|
import styled from 'styled-components';
|
|
const { Sider: SiderComponent } = Layout;
|
|
|
|
export const ThemeSwitcherWrapper = styled.div`
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 24px;
|
|
margin-bottom: 16px;
|
|
`;
|
|
|
|
export const Logo = styled.img<LogoProps>`
|
|
width: 100px;
|
|
margin: 9% 5% 5% 10%;
|
|
display: ${({ collapsed }): string => (!collapsed ? 'block' : 'none')};
|
|
`;
|
|
|
|
interface LogoProps {
|
|
collapsed: boolean;
|
|
}
|
|
|
|
export const Sider = styled(SiderComponent)`
|
|
.ant-typography {
|
|
color: white;
|
|
}
|
|
`;
|