Use default font whenever possible
I have better font taste than you by mochaap
Details
Authormochaap
License0BSD
Categoryglobal
Created
Updated
Size469 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Substitute platform specific alias (e.g. -apple-system
) to system-ui
for a consistent look while not breaking some legacy layout shits.
WARNING
This is (currently) only working on Chromium-based browser. Firefox seems have special handling of system-ui
, sans-serif
and so on. See a Buzilla report here.
Why?
Because I don't want to see Arial and Segoe UI appear on my Linux machine with fine-tuned fontconfig. Web designers, please respect my choice.
also checkout https://userstyles.world/style/3600/ms-to-noto-font.
Source code
/* ==UserStyle==
@name I have better font taste than you
@version 20221121.16.17
@namespace userstyles.world/user/mochaap
@description Use default font whenever possible
@author mochaap
@license 0BSD
==/UserStyle== */
@-moz-document url-prefix("http") {
}
@font-face {
font-family: "-apple-system";
src: local("system-ui");
}
@font-face {
font-family: "BlinkMacSystemFont";
src: local("system-ui");
}