-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.ts
44 lines (38 loc) · 973 Bytes
/
style.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import styled, { createGlobalStyle } from "styled-components";
export const GlobalStyle = createGlobalStyle`
*, *::before, *::after{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
overflow-x: hidden;
}
:root {
min-height: 100vh;
color: ${({ theme }) => theme.text200};
background-color: ${({ theme }) => theme.white};
display: flex;
flex-direction: column;
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 1rem;
line-height: 1.5rem;
font-weight: 400;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
/* -webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: transparent;
::-webkit-scrollbar {
width: 5px;
background: #636975;
} */
}
`;
export const Container = styled.div`
width: 100%;
min-height: 100vh;
background-color: ${({ theme }) => theme.bg100};
`;