commit a4be7966a3c81347c575e9ef86896ef0095ef8a3
parent 9a6db96aeaa11ae65aa7728b48371ff07fd1b266
Author: notamitgamer-bot <noreply@github.com>
Date: Wed, 30 Sep 2026 09:40:14 +0000
fix(ui): headings were hardcoded white and invisible in light mode
h1, file name, modal title, history title and shortener headings now use the text token.
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/app/templates/index.html b/app/templates/index.html
@@ -95,7 +95,7 @@
font-family: var(--font-heading);
font-size: clamp(2.2rem, 5vw, 3rem);
letter-spacing: -0.02em;
- color: #ffffff;
+ color: var(--text-main);
font-weight: 600;
margin: 0 0 1.25rem 0;
line-height: 1.1;
@@ -524,7 +524,7 @@
margin: 0 0 0.75rem 0;
font-weight: 600;
font-size: 1.5rem;
- color: #ffffff;
+ color: var(--text-main);
word-break: break-all;
}
.file-meta-row {
@@ -719,7 +719,7 @@
.modal h3 {
font-family: var(--font-heading);
margin-top: 0; margin-bottom: 1rem;
- color: #fff; font-size: 1.4rem;
+ color: var(--text-main); font-size: 1.4rem;
font-weight: 600;
}
.modal p { margin-bottom: 2rem; color: var(--text-dim); }
@@ -809,7 +809,7 @@
font-size: 1.4rem;
font-weight: 600;
margin: 0;
- color: #ffffff;
+ color: var(--text-main);
}
.clear-history-btn {
background: transparent;
diff --git a/app/templates/url_shortener.html b/app/templates/url_shortener.html
@@ -63,7 +63,7 @@
font-family: var(--font-heading);
font-size: clamp(2.2rem, 5vw, 3rem);
letter-spacing: -0.02em;
- color: #ffffff;
+ color: var(--text-main);
font-weight: 600;
margin: 0 0 1.25rem 0;
line-height: 1.1;
@@ -173,7 +173,7 @@
font-family: var(--font-heading);
font-size: 1.2rem;
margin: 0 0 1rem 0;
- color: #fff;
+ color: var(--text-main);
}
.result-url {
font-family: var(--font-mono);