import { css } from '@emotion/react'; import styled from '@emotion/styled'; import { getResponsiveTypographyStyleFromToken } from '../../../../foundation/Typography'; import { createTransition } from '../../../../utils/create-transition'; export const SubLinkButton = styled('a')` display: flex; flex-direction: row; align-items: center; padding: 8px 16px; gap: 8px; background-color: transparent; ${({ theme }) => css(getResponsiveTypographyStyleFromToken({ theme, token: 'bodySmallMedium' }))}; color: ${({ theme }) => theme.colors.white100}; text-decoration: none; width: 100%; transition: ${createTransition({ properties: 'background-color' })}; &:hover { text-decoration: none; background-color: ${({ theme }) => theme.colors.black600}; } `; export const ActiveSubLinkButton = styled('a')` display: flex; flex-direction: row; align-items: center; padding: 8px 16px; gap: 8px; background-color: transparent; ${({ theme }) => css(getResponsiveTypographyStyleFromToken({ theme, token: 'bodySmallMedium' }))}; color: ${({ theme }) => theme.colors.white100}; text-decoration: none; width: 100%; transition: ${createTransition({ properties: 'background-color' })}; &:hover { text-decoration: none; background-color: ${({ theme }) => theme.colors.black600}; } `;