From d2137dbfb2e93cbb153b7689d2d4f25ec38c2311 Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Fri, 20 Oct 2023 14:32:45 +0530 Subject: [PATCH] fix: change website base style - added base text style as per espresso design - added kbd style - as new primary is black we need underline to indicate links --- frappe/public/scss/website/base.scss | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/frappe/public/scss/website/base.scss b/frappe/public/scss/website/base.scss index 69cde173f3..c323513578 100644 --- a/frappe/public/scss/website/base.scss +++ b/frappe/public/scss/website/base.scss @@ -5,12 +5,21 @@ html { body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - font-size: 16px; + @include get_textstyle("base", "regular"); color: $body-color; display: flex; flex-direction: column; } +kbd { + background-color: var(--control-bg); + font-family: var(--font-stack); + color: var(--text-light); + line-height: 1.2em; + letter-spacing: 0.02em; + height: 20px; + padding: 4px 8px; +} img { max-width: 100%; height: auto; @@ -86,6 +95,7 @@ h4 { a { color: $body-color; + text-decoration: underline !important; } }