# 网站设置字体时,如何设置优先使用系统默认字体
Issue
欢迎在 Issue 中交流与讨论: Issue 489 (opens new window)
Author
font-family: system-ui;
system-ui
将会自动选取系统默认字体作为字体,如 bootstrap
的样式规则 (opens new window)
$font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;