1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-18 09:06:14 +07:00

Refactor(#240): Created Reset CSS and added local fonts

This commit is contained in:
Priscila Oliveira
2019-11-12 08:18:05 +01:00
committed by GitHub
parent f265b6ba33
commit 09fe1db850
10 changed files with 78 additions and 104 deletions

View File

@@ -28,9 +28,8 @@ const commonStyle = ({ size = 'sm' as Breakpoint, pointer, modifiers = null }):
`;
export const Svg = styled('svg')`
&& {
${commonStyle};
}
${commonStyle};
box-sizing: initial;
`;
export const ImgWrapper: StyledOtherComponent<
@@ -43,9 +42,8 @@ export const ImgWrapper: StyledOtherComponent<
DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>,
{}
> = styled('span')`
&& {
${commonStyle};
}
${commonStyle};
box-sizing: initial;
`;
export const Img = styled('img')({