-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.ts
53 lines (44 loc) · 1.04 KB
/
global.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
import { createGlobalStyle } from "styled-components";
export const GlobalStyles = createGlobalStyle`
*,
*::after,
*::before {
box-sizing: border-box;
}
body {
font-family: BlinkMacSystemFont, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
letter-spacing: 0.2em;
}
.ant-layout, .ant-layout-footer {
background: ${({ theme }) => theme.body} !important;
}
.ant-typography, h1, h2, h3, h4, h5, p, small {
color: ${({ theme }) => theme.text} !important;
}
a {
display: inline-block;
font-size: 0.6em;
text-transform: uppercase;
letter-spacing: 0.5em;
transition: all 0.3s;
&:hover {
transform: scale(1.2);
}
}
&::-webkit-scrollbar-track {
width: 3px;
}
.footer-icon {
svg {
font-size: 20px;
color: ${({ theme }) => theme.colors.link};
transition: all 0.3s;
transform-origin: 50% 50%;
&:hover {
cursor: pointer;
transform: scale(1.2);
color: ${({ theme }) => theme.colors.link};
}
}
}
`;