-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
85 lines (70 loc) · 1.66 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
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
@tailwind base;
@tailwind components;
@tailwind utilities;
/*
- https://ui.shadcn.com/themes
- https://daisyui.com/docs/colors/
- https://github.com/saadeghi/daisyui/blob/master/src/theming/themes.js
- https://www.radix-ui.com/colors
- https://github.com/kiliman/shadcn-custom-theme
*/
@layer base {
:root {
--body: theme(colors.zinc.100);
--body-content: theme(colors.zinc.900);
--card: theme(colors.white);
--card-content: theme(colors.zinc.900);
--rest: theme(colors.neutral.100);
--rest-content: theme(colors.neutral.500);
--border: theme(colors.zinc.200);
--primary: theme(colors.orange.500);
}
.dark {
--body: theme(colors.stone.950);
--body-content: theme(colors.stone.300);
--card: theme(colors.stone.800);
--card-content: theme(colors.stone.300);
--rest: theme(colors.neutral.700);
--rest-content: theme(colors.neutral.500);
--border: theme(colors.stone.800);
--primary: theme(colors.orange.500);
--body: #1f2020;
--card: #2b2b2b;
--border: #424242;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply !bg-body text-body-content;
}
[data-drag-node] {
@apply cursor-move;
}
#root {
@apply mx-auto max-w-[1040px] overflow-hidden px-2.5 pb-8;
}
}
@layer utilities {
/* https://github.com/reslear/tailwind-scrollbar-hide/blob/main/src/index.js */
.no-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.no-scrollbar::-webkit-scrollbar {
display: none;
}
}
.animate-tick {
animation: tick 2s linear infinite;
}
@keyframes tick {
0% {
opacity: 1;
}
50% {
opacity: 0;
}
}