Palash Gupta ac4d35c6c0
chore: alignment is fixed in header (#1723)
* chore: alignment is fixed
2022-11-16 19:08:09 +05:30

69 lines
1.3 KiB
TypeScript

import { Switch, Typography } from 'antd';
import styled from 'styled-components';
export const Container = styled.div`
display: flex;
justify-content: space-between;
height: 100%;
`;
export const AvatarContainer = styled.div`
display: flex;
gap: 1rem;
`;
export const Wrapper = styled.div`
display: flex;
justify-content: space-between;
margin-top: 1rem;
`;
export const ManageAccountLink = styled(Typography.Link)`
width: 6rem;
text-align: end;
`;
export const OrganizationWrapper = styled.div`
display: flex;
gap: 1rem;
align-items: center;
margin-top: 1rem;
`;
export const OrganizationContainer = styled.div`
display: flex;
justify-content: space-between;
align-items: center;
`;
export const InviteMembersContainer = styled.div`
display: flex;
gap: 0.5rem;
align-items: center;
margin-top: 1.25rem;
`;
export const LogoutContainer = styled.div`
display: flex;
gap: 0.5rem;
align-items: center;
`;
export interface DarkModeProps {
checked?: boolean;
defaultChecked?: boolean;
}
export const ToggleButton = styled(Switch)<DarkModeProps>`
&&& {
background: ${({ checked }): string => (checked === false ? 'grey' : '')};
}
.ant-switch-inner {
font-size: 1rem !important;
}
`;
export const IconContainer = styled.div`
color: white;
`;