mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 09:59:10 +00:00
chore: update prettier tab width for consistency
This commit is contained in:
parent
a931f8c69c
commit
9b71a24e2d
247 changed files with 7224 additions and 7375 deletions
|
@ -4,115 +4,115 @@ import { transitions } from '@roleypoly/design-system/atoms/timings';
|
|||
import styled, { css } from 'styled-components';
|
||||
|
||||
const reset = css`
|
||||
margin: 0;
|
||||
line-height: 163%;
|
||||
padding: 0;
|
||||
font-weight: 400;
|
||||
text-decoration: none;
|
||||
font-size-adjust: 0.75;
|
||||
margin: 0;
|
||||
line-height: 163%;
|
||||
padding: 0;
|
||||
font-weight: 400;
|
||||
text-decoration: none;
|
||||
font-size-adjust: 0.75;
|
||||
`;
|
||||
|
||||
export const text900 = css`
|
||||
${reset}
|
||||
${reset}
|
||||
|
||||
font-size: 2.3rem;
|
||||
font-size: 2.3rem;
|
||||
`;
|
||||
|
||||
export const text800 = css`
|
||||
${reset}
|
||||
${reset}
|
||||
|
||||
font-size: 2rem;
|
||||
font-size: 2rem;
|
||||
`;
|
||||
|
||||
export const text700 = css`
|
||||
${reset}
|
||||
${reset}
|
||||
|
||||
font-size: 1.7rem;
|
||||
font-size: 1.7rem;
|
||||
`;
|
||||
|
||||
export const text600 = css`
|
||||
${reset}
|
||||
${reset}
|
||||
|
||||
font-size: 1.4rem;
|
||||
font-size: 1.4rem;
|
||||
`;
|
||||
|
||||
export const text500 = css`
|
||||
${reset}
|
||||
${reset}
|
||||
|
||||
font-size: 1.2rem;
|
||||
font-size: 1.2rem;
|
||||
`;
|
||||
|
||||
export const text400 = css`
|
||||
${reset}
|
||||
${reset}
|
||||
|
||||
font-size: 1rem;
|
||||
font-size: 1rem;
|
||||
`;
|
||||
|
||||
export const text300 = css`
|
||||
${reset}
|
||||
${reset}
|
||||
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.9rem;
|
||||
`;
|
||||
|
||||
export const text200 = css`
|
||||
${reset}
|
||||
${reset}
|
||||
|
||||
font-size: 0.7rem;
|
||||
font-size: 0.7rem;
|
||||
`;
|
||||
|
||||
export const text100 = css`
|
||||
${reset}
|
||||
${reset}
|
||||
|
||||
font-size: 0.5rem;
|
||||
font-size: 0.5rem;
|
||||
`;
|
||||
|
||||
export const LargeTitle = styled.span`
|
||||
${text900}
|
||||
${text900}
|
||||
`;
|
||||
|
||||
export const MediumTitle = styled.span`
|
||||
${text800}
|
||||
${text800}
|
||||
`;
|
||||
|
||||
export const SmallTitle = styled.span`
|
||||
${text700}
|
||||
${text700}
|
||||
`;
|
||||
|
||||
export const AccentTitle = styled.span`
|
||||
${text600}
|
||||
${text600}
|
||||
`;
|
||||
|
||||
export const LargeText = styled.span`
|
||||
${text500}
|
||||
${text500}
|
||||
`;
|
||||
|
||||
export const Text = styled.span`
|
||||
${text400}
|
||||
${text400}
|
||||
`;
|
||||
|
||||
export const AmbientLarge = styled.span`
|
||||
${text200}
|
||||
${text200}
|
||||
`;
|
||||
|
||||
export const AmbientSmall = styled.span`
|
||||
${text100}
|
||||
${text100}
|
||||
`;
|
||||
|
||||
export const Link = styled.a`
|
||||
color: ${palette.taupe500};
|
||||
text-decoration: none;
|
||||
transition: color ${transitions.actionable}s ease-in-out;
|
||||
&:hover {
|
||||
color: ${palette.taupe600};
|
||||
}
|
||||
color: ${palette.taupe500};
|
||||
text-decoration: none;
|
||||
transition: color ${transitions.actionable}s ease-in-out;
|
||||
&:hover {
|
||||
color: ${palette.taupe600};
|
||||
}
|
||||
`;
|
||||
|
||||
export const CompletelyStylelessLink = styled(RouterLink)`
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
:visited,
|
||||
:active,
|
||||
:hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
:visited,
|
||||
:active,
|
||||
:hover {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue