matugen: add custom font variable

This commit is contained in:
Nico 2025-05-03 16:16:02 +10:00
parent 2b198297e3
commit 338adb8d25
3 changed files with 9 additions and 1 deletions

View file

@ -3,6 +3,9 @@ command = "swww"
arguments = ["img", "--transition-type", "center"]
set = true
[config.custom_keywords]
font = "ComicShannsMono Nerd Font"
[templates.waybar]
input_path = './templates/colors.css'
output_path = '~/.config/waybar/colors.css'

View file

@ -2,6 +2,11 @@
* Css Colors
* Generated with Matugen
*/
* {
font-family: {{ custom.font }};
}
<* for name, value in colors *>
@define-color {{name}} {{value.default.hex}};
<* endfor *>

View file

@ -2,7 +2,7 @@
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: ComicShannsMono Nerd Font, FontAwesome, Roboto, Helvetica, Arial, sans-serif;
/* font-family: ComicShannsMono Nerd Font, FontAwesome, Roboto, Helvetica, Arial, sans-serif;*/
font-size: 13px;
border-radius: 10px;
transition-duration: 0.5s;