[Rt-commit] rt branch 5.0/mono-font created. rt-5.0.5-206-g18cf02a684

BPS Git Server git at git.bestpractical.com
Fri Apr 5 15:30:02 UTC 2024


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/mono-font has been created
        at  18cf02a684755a83930a6fd7dc374ddb1aff1976 (commit)

- Log -----------------------------------------------------------------
commit 18cf02a684755a83930a6fd7dc374ddb1aff1976
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Apr 5 11:06:41 2024 -0400

    Do not use Inter font for monospace
    
    Inter doesn't have monospace fonts. Previously <pre> content font wrongly
    used Inter and sometimes broke formats badly.

diff --git a/devel/third-party/bootstrap-4.6.1/bootstrap.scss b/devel/third-party/bootstrap-4.6.1/bootstrap.scss
index df6f96ea7a..bf56838ca4 100644
--- a/devel/third-party/bootstrap-4.6.1/bootstrap.scss
+++ b/devel/third-party/bootstrap-4.6.1/bootstrap.scss
@@ -1,5 +1,4 @@
 $font-family-sans-serif: 'Inter', sans-serif;
-$font-family-monospace: 'Inter', monospace;
 
 $input-border-color: #c0c7d1;
 $input-border-width: 1px;
diff --git a/share/static/css/elevator-light/bootstrap.css b/share/static/css/elevator-light/bootstrap.css
index 1b5cf1e362..59128a71a8 100644
--- a/share/static/css/elevator-light/bootstrap.css
+++ b/share/static/css/elevator-light/bootstrap.css
@@ -35,7 +35,7 @@
   --breakpoint-lg: 992px;
   --breakpoint-xl: 1200px;
   --font-family-sans-serif: "Inter", sans-serif;
-  --font-family-monospace: "Inter", monospace;
+  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
 }
 
 *,
@@ -180,7 +180,7 @@ pre,
 code,
 kbd,
 samp {
-  font-family: "Inter", monospace;
+  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
   font-size: 1em;
 }
 
@@ -10010,7 +10010,7 @@ button.bg-dark:focus {
 }
 
 .text-monospace {
-  font-family: "Inter", monospace !important;
+  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
 }
 
 .text-justify {

-----------------------------------------------------------------------


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list