fonts: Alias “system-ui” to “sans-serif”
Because it is Cantarell by default (?)
This commit is contained in:
parent
58ddb029ff
commit
1e8a7ee19f
|
@ -15,10 +15,24 @@
|
|||
enableDefaultFonts = true;
|
||||
enableFontDir = true;
|
||||
|
||||
fontconfig.defaultFonts = {
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
monospace = [ "Iosevka Nerd Font" "Source Han Sans" ];
|
||||
sansSerif = [ "Roboto" "Source Han Sans" ];
|
||||
serif = [ "Georgia" "Source Han Serif" ];
|
||||
};
|
||||
localConf = ''
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>system-ui</family>
|
||||
<prefer>
|
||||
<family>sans-serif</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue