forked from meshery/play
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.style.js
115 lines (98 loc) · 1.9 KB
/
index.style.js
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
import { createGlobalStyle } from "styled-components";
export const GlobalStyle = createGlobalStyle`
::selection {
background: #3C494F;
color: #ffffff;
}
body {
margin: 0;
padding: 0;
font-family: 'Qanelas Soft', 'Open Sans', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 1.125rem;
background: ${({ theme }) => theme.body};
color: #3C494F;
}
h1, h2, h3, h4, h5 {
font-family: 'Qanelas Soft', 'Open Sans', sans-serif;
color: ${({ theme }) => theme.text};
margin: 0;
line-height: normal;
}
h1 {
font-size: 3.125rem;
font-weight: 700;
@media (max-width: 62rem) {
font-size: 2.125rem;
}
}
h2 {
font-size: 2.125rem;
font-weight: 600;
@media (max-width: 62rem) {
font-size: 1.75rem;
}
}
h3 {
font-size: 1.75rem;
font-weight: 500;
@media (max-width: 62rem) {
font-size: 1.5rem;
}
}
h4 {
font-size: 1.5rem;
font-weight: 400;
@media (max-width: 62rem) {
font-size: 1.25rem;
}
}
h5 {
font-size: 1.25rem;
font-weight: 300;
@media (max-width: 62rem) {
font-size: 1.1rem;
}
}
h6 {
font-weight: 200;
font-size: 1rem;
}
p {
color: ${({ theme }) => theme.text};
margin: 0 0 1rem 0;
font-size: 1.125rem;
font-weight: 400;
@media (max-width: 62rem) {
font-size: 1rem;
}
}
a {
text-decoration: none;
color: #00D3A9;
&:hover {
color: #00B39F;
}
}
img{
max-width: 100%;
}
section{
position: relative;
}
`;
export const lightTheme = {
body: '#FFF',
text: '#363537',
toggleBorder: '#FFF',
background: '#363537',
btn: '#FFF',
}
export const darkTheme = {
body: 'rgb(18, 18, 18)',
text: '#FAFAFA',
toggleBorder: '#6B8096',
background: '#999',
btn: '#1E2117',
}