From af2092d8f84b24a89128507d1b2552d4480bdfd3 Mon Sep 17 00:00:00 2001 From: Bartal Laearsson Date: Tue, 25 Aug 2026 15:48:17 +0100 Subject: [PATCH] change font to noto sans --- static/app.js | 6 +++--- static/index.html | 6 +++--- static/style.css | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/static/app.js b/static/app.js index ed9be3a..6964c29 100644 --- a/static/app.js +++ b/static/app.js @@ -74,7 +74,7 @@ function renderLineChart(months, massData, valueData) { chartLine.setOption({ backgroundColor: c.bgTransparent, - textStyle: { fontFamily: 'JetBrains Mono', color: c.textColor }, + textStyle: { fontFamily: 'Noto Sans', color: c.textColor }, tooltip: { trigger: 'axis', axisPointer: { type: 'cross' } @@ -179,7 +179,7 @@ function renderTopSpeciesChart(data) { chartDonut.setOption({ backgroundColor: c.bgTransparent, - textStyle: { fontFamily: 'JetBrains Mono', color: c.textColor }, + textStyle: { fontFamily: 'Noto Sans', color: c.textColor }, tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' }, @@ -270,7 +270,7 @@ function renderBarChart(months, seriesData) { chartBar.setOption({ backgroundColor: c.bgTransparent, - textStyle: { fontFamily: 'JetBrains Mono', color: c.textColor }, + textStyle: { fontFamily: 'Noto Sans', color: c.textColor }, tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' }, diff --git a/static/index.html b/static/index.html index b7803d4..8405fcc 100644 --- a/static/index.html +++ b/static/index.html @@ -13,9 +13,9 @@ })(); - - - + + + diff --git a/static/style.css b/static/style.css index 76b0b98..ac8618f 100644 --- a/static/style.css +++ b/static/style.css @@ -69,7 +69,7 @@ body { min-height: 100dvh; background: var(--bg); color: var(--ink); - font-family: 'JetBrains Mono', monospace; + font-family: 'Noto Sans', sans-serif; font-size: 0.92rem; font-weight: 300; line-height: 1.65; @@ -105,7 +105,7 @@ nav { .back-link { grid-column: 1; justify-self: start; - font-family: 'JetBrains Mono', monospace; + font-family: 'Noto Sans', sans-serif; font-weight: 400; font-size: 0.7rem; letter-spacing: 0.15em; @@ -132,7 +132,7 @@ nav { align-items: baseline; gap: 0.35rem; white-space: nowrap; - font-family: 'JetBrains Mono', monospace; + font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; @@ -248,7 +248,7 @@ nav { border: 1px solid var(--border); border-radius: 2px; color: var(--ink); - font-family: 'JetBrains Mono', monospace; + font-family: 'Noto Sans', sans-serif; font-size: 0.82rem; outline: none; transition: border-color 0.2s; @@ -268,7 +268,7 @@ nav { border: 1px solid var(--border); border-radius: 2px; color: var(--ink); - font-family: 'JetBrains Mono', monospace; + font-family: 'Noto Sans', sans-serif; font-size: 0.82rem; cursor: pointer; display: flex; @@ -349,7 +349,7 @@ nav { color: var(--bg-panel); border: none; border-radius: 2px; - font-family: 'JetBrains Mono', monospace; + font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em;