diff options
author | Lei Zhang <antiagainst@google.com> | 2021-07-06 15:03:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-06 15:03:46 +0300 |
commit | 77961b464418ff1197439c9c31f591add464f783 (patch) | |
tree | 33b6fc14188391d3b9b2003b658dffdcc4347710 /assets | |
parent | 378aad4d6f541e6a0b2f9f79cd54315b310f3f72 (diff) |
refactor: add default monospace as the last choice for mono fonts (#121)
* Add default monospace as the last choice for mono fonts
Previously there are just two hardcoded fonts for Apple platforms.
For other operating systems, code was rendered using serif font.
* chore: regenerate resource cache
Co-authored-by: Wang Chucheng <me@wangchucheng.com>
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/tailwind.config.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/css/tailwind.config.js b/assets/css/tailwind.config.js index a253ba6..88b2d42 100644 --- a/assets/css/tailwind.config.js +++ b/assets/css/tailwind.config.js @@ -14,7 +14,7 @@ module.exports = { theme: { fontFamily: { 'serif': ['Lora', 'Noto Serif SC', 'serif'], - 'mono': ['SFMono-Regular', 'Menlo'], + 'mono': ['SFMono-Regular', 'Menlo', 'monospace'], }, extend: { height: { |