import { css } from '@emotion/react';
import {
breakpoints,
theme,
spacing,
typography,
Logo as LogoIcon,
WordMarkLogo,
borderRadius,
iconSize,
ChevronRightIcon,
} from '@expo/styleguide';
import { DocumentationIcon } from '~/ui/components/Sidebar/icons/Documentation';
import { LinkBase } from '~/ui/components/Text';
type Props = {
subgroup?: string;
};
export const Logo = ({ subgroup }: Props) => (
Docs
{subgroup && (
<>
{subgroup}
>
)}
);
const logoWrapperStyle = css({
display: 'flex',
gap: spacing[4],
alignItems: 'center',
});
const linkStyle = css`
display: flex;
flex-direction: row;
align-items: center;
text-decoration: none;
user-select: none;
gap: ${spacing[2]}px;
`;
const logoStyle = css`
height: 20px;
margin-top: 1px;
`;
const chevronStyle = css`
margin: 0 ${-spacing[2]}px;
@media screen and (max-width: ${breakpoints.medium}px) {
margin-left: ${spacing[0.5]}px;
}
`;
const hideOnMobile = css`
@media screen and (max-width: ${breakpoints.medium}px) {
display: none;
}
`;
const showOnMobile = css`
display: none;
@media screen and (max-width: ${breakpoints.medium}px) {
display: block;
margin-top: 0;
margin-right: ${spacing[1.5]}px;
}
`;
const subtitleStyle = css`
color: ${theme.text.default};
font-weight: 500;
${typography.fontSizes[18]}
`;
const iconContainer = css({
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
backgroundColor: theme.palette.blue4,
borderRadius: borderRadius.sm,
height: 24,
width: 24,
});