-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.tailwind.css
106 lines (106 loc) · 2.31 KB
/
base.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
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
@tailwind base;
@layer base {
html {
@apply bg-slate-100;
@apply dark:bg-neutral-800;
}
h1 {
@apply text-6xl;
@apply text-black;
@apply dark:text-emerald-50;
}
h2 {
@apply text-2xl;
@apply text-black;
@apply dark:text-emerald-50;
}
h3 {
@apply text-xl;
@apply text-black;
@apply dark:text-emerald-50;
}
a {
@apply hover:underline;
@apply text-emerald-600;
@apply dark:text-emerald-300;
}
p{
@apply sm:text-lg;
@apply text-base;
@apply text-black;
@apply dark:text-emerald-50;
}
pre {
@apply bg-white;
@apply dark:bg-neutral-900;
@apply border-2;
@apply border-emerald-500;
@apply rounded;
@apply p-2;
}
code {
@apply sm:text-base;
@apply text-sm;
@apply leading-snug;
@apply break-words;
@apply text-black;
@apply dark:text-emerald-50;
}
blockquote {
@apply dark:prose-invert;
@apply border-l-2;
@apply border-gray-400;
@apply pl-2;
@apply italic;
}
hr {
@apply text-black;
@apply dark:text-emerald-50;
}
.postcard {
@apply box-border;
@apply hover:border-emerald-500;
@apply border-slate-100;
@apply dark:border-neutral-800;
@apply dark:hover:border-emerald-200;
@apply border-2;
}
/* syntax highlighting theme as required by chroma*/
.chroma {
tab-size: 4;
@apply whitespace-pre-wrap;
word-break: break-word;
}
.line {
@apply flex;
}
.k,.kc,.kd,.kn,.kr,.kt,.nt {
@apply dark:text-emerald-400;
@apply text-emerald-600;
@apply font-bold;
}
.kp {
@apply dark:text-emerald-400;
@apply text-emerald-600;
}
.p, .nx {
@apply text-black;
@apply dark:text-emerald-50;
}
.nf {
@apply text-black;
@apply dark:text-emerald-50;
@apply italic;
}
.c {
@apply dark:text-gray-600;
@apply text-gray-500;
@apply italic;
}
.s,.sr {
@apply text-lime-600;
@apply dark:text-lime-600;
}
}
@tailwind components;
@tailwind utilities;