-
Notifications
You must be signed in to change notification settings - Fork 0
/
GlobalStyle.ts
60 lines (49 loc) · 1.32 KB
/
GlobalStyle.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import { createGlobalStyle } from 'styled-components'
const GlobalStyle = createGlobalStyle`
:root {
--theme-background-primary: #463F32;
--theme-background-secondary: #BF6130;
--theme-background-muted: #463F32BC;
--theme-primary: #FFFFFFF7;
--theme-secondary: #00173C;
--theme-alt: #0BBF53;
--theme-link-primary: #DF9629;
--theme-white: #FFFFFB;
--theme-dark: #1C160D;
--theme-muted: #FFFFFF99;
// Default
--font-size-hero: 3rem;
--font-size-title: 2.2rem;
--font-size-medium: 1.1875rem;
--font-size-small : 0.8rem;
--font-weight-title: 400;
--font-weight-thin: 200;
--font-weight-normal: normal;
--font-weight-heavy: bold;
--theme-border-radius: 5px;
}
html {
background: var(--theme-white);
&::-webkit-scrollbar {
width: 16px;
}
&::-webkit-scrollbar-track {
background-color: var(--theme-background-secondary);
}
&::-webkit-scrollbar-thumb {
background-color: var(--theme-background-primary);
}
}
* {
margin: 0;
padding: 0;
line-height: 1.6;
text-decoration: none;
list-style: none;
box-sizing: border-box;
scroll-behavior: smooth;
font-family: Wotfard, Futura, -apple-system, sans-serif;
color: var(--theme-primary);
}
`
export default GlobalStyle