Title: System Fonts
Author: Nilo Velez
Published: <strong>2018 年 11 月 10 日</strong>
Last modified: 2024 年 12 月 30 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/system-fonts/assets/icon-256x256.png?rev=2720585)

# System Fonts

 作者：[Nilo Velez](https://profiles.wordpress.org/nilovelez/)

[下载](https://downloads.wordpress.org/plugin/system-fonts.zip)

 * [详情](https://cn.wordpress.org/plugins/system-fonts/#description)
 * [评价](https://cn.wordpress.org/plugins/system-fonts/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/system-fonts/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/system-fonts/#developers)

 [支持](https://wordpress.org/support/plugin/system-fonts/)

## 描述

System Fonts enqueues a stylesheet that lets you use the native font on each operating
system and defines a system-ui css @font-face that you can use on the customizer,
your theme’s settings or your own code.

#### Usage example

The Twenty Seventeen theme uses this css selector for the body text:

    ```
    body, button, input, select, textarea {
      font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
    }
    ```

We are going to replace it with the default system font.
 In you WordPress site,
go to `Appearance > Customize > Additional CSS` and paste this code

    ```
    body, button, input, select, textarea {
      font-family: system-ui;
    }
    ```

Appart from them font-family, there are other font-properties available:

 * font-style: normal or italic;
 * font-weight: 300 (light), 400 (regular), 500 (medium), 700 (bold);

For example this is the code make an element’s text semibold and cursive:

    ```
    #my-element {
      font-family: system-ui;
      font-weight: 500;
      font-style: italic;
    }
    ```

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/system-fonts` directory, or
    install the plugin through the WordPress plugins screen.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## 评价

此插件暂无评价。

## 贡献者及开发者

「System Fonts」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Nilo Velez ](https://profiles.wordpress.org/nilovelez/)

「System Fonts」插件已被翻译至 6 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/system-fonts/contributors)
为本插件所做的贡献。

[帮助将「System Fonts」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/system-fonts)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/system-fonts/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/system-fonts/)，或通过[RSS](https://plugins.trac.wordpress.org/log/system-fonts/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/system-fonts/)。

## 额外信息

 *  版本 **0.6**
 *  最后更新：**1 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/system-fonts/) 、 [Galician](https://gl.wordpress.org/plugins/system-fonts/)、
   [Russian](https://ru.wordpress.org/plugins/system-fonts/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/system-fonts/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/system-fonts/) 、 [Spanish (Venezuela)](https://ve.wordpress.org/plugins/system-fonts/)
   和 [Ukrainian](https://uk.wordpress.org/plugins/system-fonts/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/system-fonts)
 * 标签
 * [front end](https://cn.wordpress.org/plugins/tags/front-end/)[typography](https://cn.wordpress.org/plugins/tags/typography/)
 *  [高级视图](https://cn.wordpress.org/plugins/system-fonts/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/system-fonts/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/system-fonts/reviews/)

## 贡献者

 *   [ Nilo Velez ](https://profiles.wordpress.org/nilovelez/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/system-fonts/)