We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 849e390 commit 245daf0Copy full SHA for 245daf0
1 file changed
assets/css/styles.css
@@ -1,10 +1,25 @@
1
/* Global text styling */
2
+/* Tema Default (Light) */
3
+:root {
4
+ --bg-color: #fff8e1;
5
+ --text-color: #2c2c2c;
6
+}
7
+
8
+/* Tema Dark */
9
+[data-theme="dark"] {
10
+ --bg-color: #1a1a1a;
11
+ --text-color: #f0f0f0;
12
13
14
body {
- background-color: #fff8e1; /* kuning krem lembut */
15
+ background-color: var(--bg-color);
16
+ color: var(--text-color);
17
+ transition: 0.3s; /* Agar transisi warna halus */
18
+ /*background-color: #fff8e1; /* kuning krem lembut */
19
font-family: "JetBrains Mono", "Fira Code", monospace;
20
font-size: 16px;
21
line-height: 1.6;
- color: #2c2c2c; /* teks abu tua agar mudah dibaca */
22
+ /*color: #2c2c2c; /* teks abu tua agar mudah dibaca */
23
margin: 0;
24
padding: 0 1.25rem;
25
}
0 commit comments