font improved

This commit is contained in:
CGH0S7
2025-12-11 15:21:18 +08:00
parent 38c7f59409
commit 99f8c4585a
2 changed files with 5 additions and 1 deletions

4
config
View File

@ -4,6 +4,10 @@
#
# Read `man 5 sway` for a complete reference.
# Set default font for sway and monospace font
font pango:Clear Sans 10
font pango:Maple Mono NF CN 10
### Variables
#
# Logo key. Use Mod1 for Alt.

View File

@ -2,7 +2,7 @@
border: none;
border-radius: 0;
/* 设置全局字体,确保图标显示正常 */
font-family: "Maple Mono NF CN", "Font Awesome 7 Free", "Font Awesome 7 Brands", "FontAwesome", Roboto, Helvetica, Arial, sans-serif;
font-family: "Clear Sans", "Maple Mono NF CN", "Font Awesome 7 Free", "Font Awesome 7 Brands", "FontAwesome", Roboto, Helvetica, Arial, sans-serif;
font-size: 14px;
min-height: 0;
}