From ec4433827ae11cc41fb1b2bddb792036a8ae5d20 Mon Sep 17 00:00:00 2001 From: Yuri Zamyatin Date: Fri, 27 Jun 2025 18:10:35 +0000 Subject: [PATCH] style --- arch-user/config/fontconfig/fonts.conf | 13 +++++++++---- arch-user/config/mako/config.tmpl | 5 +++-- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/arch-user/config/fontconfig/fonts.conf b/arch-user/config/fontconfig/fonts.conf index 25cd127..6e637c7 100644 --- a/arch-user/config/fontconfig/fonts.conf +++ b/arch-user/config/fontconfig/fonts.conf @@ -3,18 +3,23 @@ serif - Roboto + {{ .theme.font.name_regular }} sans-serif - Roboto + {{ .theme.font.name_regular }} monospace - Roboto Mono + {{ .theme.font.name_mono }} system-ui - Roboto + {{ .theme.font.name_regular }} + + + {{ .theme.font.size_base_pt }} + + diff --git a/arch-user/config/mako/config.tmpl b/arch-user/config/mako/config.tmpl index ed3f8f3..7a5912c 100644 --- a/arch-user/config/mako/config.tmpl +++ b/arch-user/config/mako/config.tmpl @@ -1,8 +1,9 @@ -format=%s - %a\n%b -font={{ .theme.font.name_regular }} {{ .theme.font.size_base_pt }} +format=%s - %a\n%b +font={{ .theme.font.name_regular }} {{ math.Sub .theme.font.size_base_pt .theme.font.size_step_pt }} background-color=#{{ .theme.color.bg_accent_dark }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} border-size=2 border-radius=4 +icon-border-radius=4 border-color=#{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} padding=5,10 width=600