aboutsummaryrefslogtreecommitdiff
path: root/packages/tailwind-config/globals.css
blob: 18017f73ab28fd1c09cd36d9d1ecb7c49cf0c62d (plain) (blame)
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
@tailwind base;
@tailwind components;
@tailwind utilities;

@media (prefers-color-scheme: dark) {
  :root {
    --foreground: rgba(179, 188, 197, 1);
    --foreground-menu: rgba(106, 115, 125, 1);
    --background: rgba(23, 27, 31, 1);
    --secondary: rgba(31, 36, 40, 1);
    --primary: rgba(54, 157, 253, 1);
    --border: rgba(51, 57, 67, 1);

    --card: 0 0% 100%;
    --card-foreground: 0 0% 3.9%;

    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 3.9%;

    --primary-foreground: 0 0% 98%;

    --secondary-foreground: 0 0% 9%;

    --muted: 0 0% 96.1%;
    --muted-foreground: 0 0% 45.1%;

    --accent: 0 0% 96.1%;
    --accent-foreground: 0 0% 9%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;

    --input: 0 0% 89.8%;
    --ring: 0 0% 3.9%;

    --radius: 0.5rem;
  }
}

body {
  color: var(--foreground);
  background: var(--background);
  font-size: 14px;
}

@layer base {
  .all-center {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@layer utilities {
  .text-balance {
    text-wrap: balance;
  }
}

.gradient-background {
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0)
  );
}

/* width */
::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #131f2c;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #22303d;
}