aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/index.css
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-14 10:12:22 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-14 10:12:22 -0800
commit9d3b2a90316a1a5f735845f61abbd8a875529060 (patch)
treeb51c86306a75c4ea57a0e733eeda67a099f15d58 /frontend/src/index.css
parent90fa99359fafea4b0e10a88716675de9de4593ed (diff)
downloadneko-9d3b2a90316a1a5f735845f61abbd8a875529060.tar.gz
neko-9d3b2a90316a1a5f735845f61abbd8a875529060.tar.bz2
neko-9d3b2a90316a1a5f735845f61abbd8a875529060.zip
feat: add font theme support (fixing NK-rn4nzp)
Diffstat (limited to 'frontend/src/index.css')
-rw-r--r--frontend/src/index.css31
1 files changed, 29 insertions, 2 deletions
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 3365d34..6396633 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -1,5 +1,11 @@
+:root {
+ /* Font Variables */
+ --font-body: Palatino, 'Palatino Linotype', 'Palatino LT STD', 'Book Antiqua', Georgia, serif;
+ --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
+}
+
body {
- font-family: Palatino, 'Palatino Linotype', 'Palatino LT STD', 'Book Antiqua', Georgia, serif;
+ font-family: var(--font-body);
}
h1,
@@ -10,10 +16,31 @@ h5,
.logo,
.nav-link,
.logout-btn {
- font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
+ font-family: var(--font-heading);
font-weight: bold;
}
+/* Font Themes */
+.font-default {
+ --font-body: Palatino, 'Palatino Linotype', 'Palatino LT STD', 'Book Antiqua', Georgia, serif;
+ --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
+}
+
+.font-serif {
+ --font-body: Georgia, 'Times New Roman', Times, serif;
+ --font-heading: Georgia, 'Times New Roman', Times, serif;
+}
+
+.font-sans {
+ --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
+ --font-heading: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
+}
+
+.font-mono {
+ --font-body: Menlo, Monaco, Consolas, 'Courier New', monospace;
+ --font-heading: Menlo, Monaco, Consolas, 'Courier New', monospace;
+}
+
:root {
line-height: 1.5;
font-size: 18px;