-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.css
49 lines (43 loc) · 1.13 KB
/
index.css
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
/* Example of adjusting UI styles to the user's current color theme using ThemeParams */
:root {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
color: var(--tg-theme-text-color);
background-color: var(--tg-theme-bg-color);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
html,
body,
#root {
width: 100%;
height: 100%;
margin: 0;
}
#root {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
/* Example of adjusting UI styles to the user's current color theme using ThemeParams */
button {
cursor: pointer;
border-radius: 8px;
padding: 10px 25px;
background-color: var(--tg-theme-button-color);
color: var(--tg-theme-button-text-color);
user-select: none;
border: none;
font-family: inherit;
font-size: inherit;
}