-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.css
74 lines (73 loc) · 2.12 KB
/
tailwind.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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
html {
@apply min-h-dvh text-lg;
}
/* background and text */
body {
@apply bg-primary-50 text-primary-900 dark:bg-primary-950 dark:text-primary-200;
}
/* links */
a, button {
@apply text-primary-900 dark:text-primary-50;
}
/* links hover */
a:hover:not(.button), button:hover {
@apply text-primary-700 dark:text-primary-200;
}
/* links buttons */
.button {
@apply bg-primary-50 text-primary-900 dark:bg-primary-950;
@apply dark:brightness-90;
@apply font-semibold;
@apply border-2 border-primary-900;
}
[data-theme="default"] {
.button {
@apply rounded-md;
@apply transition ease-in-out hover:scale-[102%] duration-300;
}
}
[data-theme="gradient-1"] {
body {
@apply bg-primary-50 text-primary-50 dark:bg-primary-950 dark:text-primary-200;
@apply bg-gradient-to-b from-primary-500 to-secondary-500 dark:from-primary-950 dark:to-secondary-950;
}
a, button {
@apply text-primary-50 dark:text-primary-50;
}
a:hover:not(.button), button:hover {
@apply text-primary-50/75 dark:text-primary-200;
}
.button {
@apply text-primary-700 dark:text-primary-50;
@apply shadow-[8px_8px_0px_0px];
@apply hover:translate-x-[4px] hover:translate-y-[4px] hover:shadow-[4px_4px_0px_0px];
@apply mr-2;
}
}
[data-theme="gradient-2"] {
body {
@apply bg-primary-50 text-primary-50 dark:bg-primary-950 dark:text-primary-200;
@apply bg-gradient-to-b from-primary-500 to-secondary-500 dark:from-primary-950 dark:to-secondary-950;
}
a, button {
@apply text-primary-50 dark:text-primary-50;
}
a:hover:not(.button), button:hover {
@apply text-primary-50/75 dark:text-primary-200;
}
#buttons {
@apply sm:grid-cols-2;
}
.button {
@apply text-primary-700 dark:text-primary-50;
@apply rounded-3xl border-primary-700;
@apply shadow-[8px_8px_0px_0px];
@apply hover:translate-x-[4px] hover:translate-y-[4px] hover:shadow-[4px_4px_0px_0px];
@apply mr-2;
}
}
}