Skip to content

Commit

Permalink
fix: disabled some css attributes globally
Browse files Browse the repository at this point in the history
They were making it harder to style components and because I intend
to make a library of the components I figure I will use, it makes
sense to clear attributes I commonly modify.
  • Loading branch information
vantaboard committed Sep 24, 2021
1 parent 3531790 commit 57a298f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/globalStyle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { createGlobalStyle } from 'styled-components';

const GlobalStyle = createGlobalStyle`
* {
border-radius: 0;
border-color: 0;
border-style: 0;
border-width: 0;
padding: 0;
margin: 0;
}
`;

export default GlobalStyle;

0 comments on commit 57a298f

Please sign in to comment.