From 3de2ec5bd05ad56a698804191ea923875dbf1b52 Mon Sep 17 00:00:00 2001 From: sokumon Date: Thu, 25 Sep 2025 06:12:32 +0530 Subject: [PATCH] fix(style): espresso style breadcrumb --- frappe/public/scss/desk/breadcrumb.scss | 20 +++++++++++++++++--- frappe/public/scss/espresso/_typography.scss | 2 ++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/frappe/public/scss/desk/breadcrumb.scss b/frappe/public/scss/desk/breadcrumb.scss index 44a9254bfa..cbfd4905a6 100644 --- a/frappe/public/scss/desk/breadcrumb.scss +++ b/frappe/public/scss/desk/breadcrumb.scss @@ -6,12 +6,25 @@ /*! This comment will be included even in compressed mode. */ #navbar-breadcrumbs { a { - margin-right: 10px; + font-size: var(--text-lg); + text-decoration: none; + color: var(--ink-gray-5); + font-weight: var(--weight-medium); + letter-spacing: get_letterspacing("sm", "regular"); + &:hover { + color: var(--ink-gray-7); + } &:before { // content: #{"/*!rtl:var(--left-arrow-svg);*/"}var(--right-arrow-svg); content: "/"; display: inline-block; - margin-right: 10px; + margin-left: 4px; + margin-right: 4px; + color: var(--ink-gray-4); + font-size: 14px; + line-height: 1.15; + letter-spacing: 0.02em; + font-weight: 420; } } @@ -26,7 +39,8 @@ } } - li:last-child { + li:last-child > a { font-weight: var(--weight-semibold); + color: var(--ink-gray-9) !important; } } diff --git a/frappe/public/scss/espresso/_typography.scss b/frappe/public/scss/espresso/_typography.scss index 392138b4c1..ef952a9621 100644 --- a/frappe/public/scss/espresso/_typography.scss +++ b/frappe/public/scss/espresso/_typography.scss @@ -51,8 +51,10 @@ --text-light: var(--gray-600); --text-dark: var(--fg-color); + --ink-gray-4: #999999; --ink-gray-5: #7c7c7c; --ink-gray-7: #525252; + --ink-gray-9: #171717; } .text-ink-gray-7 {