matugen: make UI font and monospace font different variables

This commit is contained in:
Nico 2025-12-30 01:46:46 +11:00
parent 30aabf1683
commit 2fb3b565f7
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
6 changed files with 12 additions and 4 deletions

View file

@ -1,4 +1,5 @@
{
"font": "ComicShannsMono Nerd Font",
"rounding": 10
"font": "Comic Neue",
"monospace_font": "ComicShannsMono Nerd Font",
"rounding": 0
}

View file

@ -4,7 +4,7 @@
*/
* {
font-family: {{ font }};
font-family: {{ font }}, {{monospace_font}};
border-radius: {{ rounding }}px;
}

View file

@ -18,6 +18,7 @@
:root {
/* font, change to 'gg sans' for default discord font*/
--font: '{{ font }}';
--code-font: '{{ monospace_font }}';
/* top left corner text */
--corner-text: 'Midnight';
@ -91,6 +92,10 @@ body {
font-family: '{{ font }}';
}
code {
font-family: '{{monospace_font}}';
}
/* Selected chat/friend text */
.selected_f5eb4b,
.selected_f6f816 .link_d8bfb3 {

View file

@ -1 +1,2 @@
background = {{colors.background.default.hex}}
font-family = {{monospace_font}}

View file

@ -2,5 +2,6 @@ export PRIMARY_COLOUR="0xFF{{colors.primary.default.hex_stripped}}"
export SECONDARY_COLOUR="0xFF{{colors.secondary.default.hex_stripped}}"
export BACKGROUND_COLOUR=0xFF"{{colors.background.default.hex_stripped}}"
export FONT="{{ font }}"
export MONOSPACE_FONT="{{ monospace_font }}"
export ROUNDING="{{ rounding }}"

View file

@ -13,7 +13,7 @@ sketchybar --bar \
corner_radius=0 \
default=(
icon.font="ComicShannsMono Nerd Font:Regular:16.0"
icon.font="$MONOSPACE_FONT:Regular:16.0"
label.font="$FONT:Bold:12.0"
label.color=$PRIMARY_COLOUR
icon.color=$SECONDARY_COLOUR