From 45f13a2f732982fa5ee1a408c1dac7745f3b481b Mon Sep 17 00:00:00 2001 From: Ed Silkworth Date: Mon, 12 Dec 2022 23:01:30 -0800 Subject: [PATCH] fixed monospace font to display SF Mono --- CHANGELOG | 3 ++- public/css/theme-red.css | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 58b2c6e..4285896 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -22,4 +22,5 @@ Nov 16, 2022 · forked, rebased theme from Gitea's default theme, adopted colors Nov 17, 2022 · changed row highlight color Nov 18, 2022 · made pull requests and new releases menu item and .diff-detail-box background match --color-background -Nov 29, 2022 · made collapsible elements easier to distinguish from main body \ No newline at end of file +Nov 29, 2022 · made collapsible elements easier to distinguish from main body +Dec 12, 2022 · fixed monospace font to display SF Mono in Safari on macOS \ No newline at end of file diff --git a/public/css/theme-red.css b/public/css/theme-red.css index 54f3320..771dc03 100644 --- a/public/css/theme-red.css +++ b/public/css/theme-red.css @@ -9,6 +9,7 @@ --color-primary-light-4: #d54455!important; /* greater contributions heatmap */ --color-background: #fcfcfc!important; /* make some elements pop out more (below) */ --color-secondary-alpha-70: #dedede4d!important; /* fewer contributions heatmap */ + --fonts-monospace: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace, var(--fonts-emoji)!important; /* replaced "SFMono-Regular" */ } .full.height {