From b4dee9c43c8f9c2ab9e796f7b1eb9b02269a7cdb Mon Sep 17 00:00:00 2001 From: Logan Moseley Date: Thu, 26 Jun 2025 13:42:08 -0400 Subject: [PATCH] feat(ui): Source CashSans-Bold and improve overall text rendering - Defines Cash Sans Bold (700 weight) via @font-face, completing the set of Regular, Medium, and Bold weights for Cash Sans. - Applies global font smoothing (`-webkit-font-smoothing: antialiased`) and legibility optimizations (`text-rendering: optimizeLegibility`) to the body element for crisper, clearer text presentation. --- ui/desktop/src/styles/main.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ui/desktop/src/styles/main.css b/ui/desktop/src/styles/main.css index 19b8cebdcfa0..a329dabbc327 100644 --- a/ui/desktop/src/styles/main.css +++ b/ui/desktop/src/styles/main.css @@ -248,6 +248,16 @@ font-style: normal; } +@font-face { + font-family: 'Cash Sans'; + src: + url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff2/CashSans-Bold.woff2) + format('woff2'), + url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff/CashSans-Bold.woff) format('woff'); + font-weight: 700; + font-style: normal; +} + @font-face { font-family: 'Cash Sans Mono'; src: @@ -485,6 +495,8 @@ body { background-color: var(--background-app); + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; } .word-break {