-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathkor-styles.css
110 lines (110 loc) · 3.29 KB
/
kor-styles.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
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
/* colors */
html, :host, *[theme="light"] {
--neutral-1: 0, 0, 0;
--neutral-2: 255, 255, 255;
--accent-1: 60, 100, 240;
--accent-1b: 70, 110, 250;
--base-0: 255, 255, 255;
--base-1: 235, 235, 235;
--base-2: 245, 245, 245;
--base-3: 255, 255, 255;
--base-4: 255, 255, 255;
--functional-blue: 20, 120, 220;
--functional-red: 220, 40, 40;
--functional-yellow: 220, 168, 40;
--functional-green: 50, 168, 40;
--text-1: rgba(0, 0, 0, .90);
--text-2: rgba(0, 0, 0, .60);
--text-3: rgba(0, 0, 0, .20);
--shadow-1: 0 2px 8px rgba(0,0,0,.1), 0 1px 4px rgba(0,0,0,.05);
}
*[theme="dark"] {
--neutral-1: 255, 255, 255;
--neutral-2: 0, 0, 0;
--accent-1: 60, 100, 240;
--accent-1b: 70, 110, 250;
--base-0: 0, 0, 2;
--base-1: 15, 15, 15;
--base-2: 25, 25, 25;
--base-3: 35, 35, 35;
--base-4: 45, 45, 45;
--functional-blue: 20, 120, 220;
--functional-red: 220, 40, 40;
--functional-yellow: 220, 160, 40;
--functional-green: 40, 160, 40;
--text-1: rgba(255, 255, 255, .90);
--text-2: rgba(255, 255, 255, .60);
--text-3: rgba(255, 255, 255, .20);
--shadow-1: 0 2px 8px rgba(0,0,0,.2), 0 1px 4px rgba(0,0,0,.15);
}
/* typography */
@font-face {
font-family: 'md-icons';
src: local('Material Icons'), local('MaterialIcons-Regular'), url('./fonts/md-icons.ttf') format('truetype');
}
@font-face {
font-family: 'open-sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans Regular'), local('OpenSans-Regular'), url('./fonts/open-sans-regular.woff2') format('woff2'), url('./fonts/open-sans-regular.woff') format('woff');
}
@font-face {
font-family: 'open-sans';
font-style: normal;
font-weight: 600;
src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), url('./fonts/open-sans-semibold.woff2') format('woff2'), url('./fonts/open-sans-semibold.woff') format('woff');
}
@font-face {
font-family: 'open-sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url('./fonts/open-sans-bold.woff2') format('woff2'), url('./fonts/open-sans-bold.woff') format('woff');
}
html, body {
--body-1: normal 14px/24px 'open-sans';
--body-2: normal 12px/16px 'open-sans';
--header-1: bold 16px/24px 'open-sans';
--header-2: bold 14px/24px 'open-sans';
--transition-1: 0.1s all ease-out;
--border-radius: 4px;
--spacing-xs: calc(var(--spacing-s) / 2);
--spacing-s: 8px;
--spacing-m: calc(var(--spacing-s) * 1.5);
--spacing-l: calc(var(--spacing-s) * 2);;
font-family: 'open-sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 24px;
color: var(--text-1);
height: 100%;
width: 100%;
margin: 0;
overflow: hidden;
-webkit-tap-highlight-color: transparent;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
}
/* scrollbar */
*::-webkit-scrollbar {
width: 8px;
height: 8px;
background-color: transparent;
visibility: hidden;
}
*::-webkit-scrollbar-track {
background-color: rgba(var(--neutral-1), .05);
border-radius: 8px;
}
*::-webkit-scrollbar-thumb {
background-color: rgba(var(--neutral-1), .10);
border-radius: 8px;
}
*::-webkit-scrollbar-thumb:active,
*::-webkit-scrollbar-thumb:hover {
background-color: rgba(var(--neutral-1), .20)
}
kor-swipe-actions::-webkit-scrollbar {
display: none;
}