mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59:11 +00:00
17 lines
450 B
TypeScript
17 lines
450 B
TypeScript
import { palette } from '@roleypoly/design-system/atoms/colors';
|
|
import styled, { css } from 'styled-components';
|
|
|
|
export const Space = styled.div`
|
|
height: 15px;
|
|
`;
|
|
|
|
export const LinedSpace = styled.div<{ width?: number; color?: string }>`
|
|
height: 7.5px;
|
|
margin-top: 7.5px;
|
|
border-top: 1px solid ${(props) => (props.color ? props.color : palette.taupe300)};
|
|
${(props) =>
|
|
props.width &&
|
|
css`
|
|
width: ${props.width}px;
|
|
`}
|
|
`;
|