From 6e4bf83c91ec28490e75cd306a00eadb6fcc6ab6 Mon Sep 17 00:00:00 2001 From: "Pedro M. de Echanove Pasquin" Date: Sun, 11 Oct 2026 16:26:01 +0200 Subject: [PATCH] The default theme declares Noto Serif as a font family `theme.json` gains a `noto-serif` family with its Light 300, Regular 400, Medium 500 and Bold 700 weights, read from the `fonts-noto-core` files that `ltk-theme-default` already depends on, and falling back to Sora. Only the families declared in the theme resolve through `Text::font`, so a widget that wants a serif face, such as the crustace clock with its bold time over a regular date, needs the family to be listed here. --- themes/default/theme.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/themes/default/theme.json b/themes/default/theme.json index b3de1a4..3a7be35 100644 --- a/themes/default/theme.json +++ b/themes/default/theme.json @@ -14,6 +14,16 @@ { "weight": 600, "path": "/usr/share/fonts/opentype/sora/Sora-SemiBold.otf" }, { "weight": 700, "path": "/usr/share/fonts/opentype/sora/Sora-Bold.otf" } ] + }, + "noto-serif": { + "name": "Noto Serif", + "fallbacks": ["sora"], + "sources": [ + { "weight": 300, "path": "/usr/share/fonts/truetype/noto/NotoSerif-Light.ttf" }, + { "weight": 400, "path": "/usr/share/fonts/truetype/noto/NotoSerif-Regular.ttf" }, + { "weight": 500, "path": "/usr/share/fonts/truetype/noto/NotoSerif-Medium.ttf" }, + { "weight": 700, "path": "/usr/share/fonts/truetype/noto/NotoSerif-Bold.ttf" } + ] } },