Skip to content

Commit f8e0bae

Browse files
Fix privacy policy light mode and colors
1 parent 9db612b commit f8e0bae

1 file changed

Lines changed: 33 additions & 33 deletions

File tree

‎frontend/pages/privacy-policy.html‎

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252

5353
body {
5454
margin: 0;
55-
background: var(--bg-main, #0f1117);
56-
color: var(--text-main, #f5f5f5);
55+
background: var(--bg-color);
56+
color: var(--text-main);
5757
font-family: "Inter", sans-serif;
5858
line-height: 1.8;
5959
}
@@ -66,8 +66,8 @@
6666
position: absolute;
6767
top: -40px;
6868
left: 20px;
69-
background: #fff;
70-
color: #000;
69+
background: var(--surface-elevated);
70+
color: var(--text-main);
7171
padding: 10px 16px;
7272
border-radius: 8px;
7373
z-index: 9999;
@@ -84,20 +84,20 @@
8484
left: 0;
8585
width: 30%;
8686
height: 4px;
87-
background: #8b5cf6;
87+
background: var(--accent-gold);
8888
z-index: 9999;
8989
}
9090

9191
.breadcrumb {
9292
max-width: 1400px;
9393
margin: 1rem auto;
9494
padding: 0 2rem;
95-
color: rgba(255, 255, 255, 0.6);
95+
color: var(--text-muted);
9696
font-size: 0.95rem;
9797
}
9898

9999
.breadcrumb a {
100-
color: rgba(255, 255, 255, 0.8);
100+
color: var(--text-main);
101101
text-decoration: none;
102102
}
103103

@@ -117,8 +117,8 @@
117117
gap: 10px;
118118
padding: 10px 18px;
119119
border-radius: 999px;
120-
background: rgba(139, 92, 246, 0.15);
121-
color: #c4b5fd;
120+
background: var(--control-focus-ring);
121+
color: var(--accent-gold);
122122
font-size: 0.9rem;
123123
margin-bottom: 1.5rem;
124124
}
@@ -131,15 +131,15 @@
131131
}
132132

133133
.privacy-hero p {
134-
color: rgba(255, 255, 255, 0.75);
134+
color: var(--text-muted);
135135
max-width: 700px;
136136
margin: auto;
137137
font-size: 1.1rem;
138138
}
139139

140140
.policy-meta {
141141
margin-top: 1.5rem;
142-
color: rgba(255, 255, 255, 0.6);
142+
color: var(--text-muted);
143143
font-size: 0.95rem;
144144
}
145145

@@ -152,11 +152,11 @@
152152
}
153153

154154
.hero-meta span {
155-
background: rgba(255, 255, 255, 0.05);
155+
background: var(--glass-bg);
156156
padding: 12px 18px;
157157
border-radius: 14px;
158158
font-size: 0.95rem;
159-
color: rgba(255, 255, 255, 0.85);
159+
color: var(--text-main);
160160
}
161161

162162
.privacy-layout {
@@ -175,8 +175,8 @@
175175
}
176176

177177
.sidebar-card {
178-
background: rgba(255, 255, 255, 0.04);
179-
border: 1px solid rgba(255, 255, 255, 0.08);
178+
background: var(--surface-panel);
179+
border: 1px solid var(--glass-border);
180180
border-radius: 24px;
181181
padding: 1.5rem;
182182
backdrop-filter: blur(16px);
@@ -196,15 +196,15 @@
196196

197197
.sidebar-nav a {
198198
text-decoration: none;
199-
color: rgba(255, 255, 255, 0.7);
199+
color: var(--text-muted);
200200
padding: 10px 14px;
201201
border-radius: 12px;
202202
transition: all 0.3s ease;
203203
}
204204

205205
.sidebar-nav a:hover {
206-
background: rgba(255, 255, 255, 0.08);
207-
color: white;
206+
background: var(--nav-active-ring);
207+
color: var(--nav-active-color);
208208
transform: translateX(4px);
209209
}
210210

@@ -215,8 +215,8 @@
215215
}
216216

217217
.policy-card {
218-
background: rgba(255, 255, 255, 0.04);
219-
border: 1px solid rgba(255, 255, 255, 0.08);
218+
background: var(--surface-panel);
219+
border: 1px solid var(--glass-border);
220220
border-radius: 28px;
221221
padding: 2rem;
222222
backdrop-filter: blur(14px);
@@ -225,8 +225,8 @@
225225

226226
.policy-card:hover {
227227
transform: translateY(-4px);
228-
border-color: rgba(139, 92, 246, 0.4);
229-
box-shadow: 0 10px 40px rgba(139, 92, 246, 0.12);
228+
border-color: var(--accent-gold);
229+
box-shadow: var(--shadow-panel);
230230
}
231231

232232
.policy-heading {
@@ -238,7 +238,7 @@
238238

239239
.policy-heading i {
240240
font-size: 1.2rem;
241-
color: #c4b5fd;
241+
color: var(--accent-gold);
242242
margin-top: 6px;
243243
}
244244

@@ -249,13 +249,13 @@
249249

250250
.section-subtitle {
251251
margin-top: 6px;
252-
color: rgba(255, 255, 255, 0.6);
252+
color: var(--text-muted);
253253
font-size: 0.95rem;
254254
}
255255

256256
.policy-list {
257257
padding-left: 1.2rem;
258-
color: rgba(255, 255, 255, 0.85);
258+
color: var(--text-main);
259259
}
260260

261261
.policy-list li {
@@ -269,33 +269,33 @@
269269
margin-top: 1rem;
270270
padding: 14px 24px;
271271
border-radius: 16px;
272-
background: linear-gradient(135deg, #8b5cf6, #7c3aed);
273-
color: white;
272+
background: var(--accent-gold);
273+
color: var(--nav-active-color);
274274
text-decoration: none;
275275
font-weight: 600;
276276
transition: all 0.3s ease;
277277
}
278278

279279
.primary-btn:hover {
280280
transform: translateY(-2px);
281-
box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
281+
box-shadow: var(--shadow-panel);
282282
}
283283

284284
.contact-link {
285-
color: #c4b5fd;
285+
color: var(--accent-gold);
286286
text-decoration: none;
287287
font-weight: 600;
288288
}
289289

290290
.response-note {
291-
color: rgba(255, 255, 255, 0.6);
291+
color: var(--text-muted);
292292
font-size: 0.95rem;
293293
}
294294

295295
.privacy-footer-cta {
296296
text-align: center;
297-
background: rgba(255, 255, 255, 0.04);
298-
border: 1px solid rgba(255, 255, 255, 0.08);
297+
background: var(--surface-panel);
298+
border: 1px solid var(--glass-border);
299299
border-radius: 28px;
300300
padding: 3rem 2rem;
301301
}
@@ -306,7 +306,7 @@
306306
}
307307

308308
.privacy-footer-cta p {
309-
color: rgba(255, 255, 255, 0.7);
309+
color: var(--text-muted);
310310
max-width: 600px;
311311
margin: auto;
312312
}

0 commit comments

Comments
 (0)