From 4e03e0fbe1a692fdd2428b2fe9cb1d8b5238c0dc Mon Sep 17 00:00:00 2001 From: David <33458145+davidmcpowell@users.noreply.github.com> Date: Tue, 17 Jun 2025 12:48:10 +0100 Subject: [PATCH] Merge pull request #26468 from overleaf/dp-error-colors Small style updates to new error logs GitOrigin-RevId: fdfe7489bc87733b065d08c77353dce9ab940fc2 --- .../bootstrap-5/abstracts/themes-common-variables.scss | 2 ++ .../stylesheets/bootstrap-5/foundations/colors.scss | 6 ++++++ .../frontend/stylesheets/bootstrap-5/pages/editor/logs.scss | 2 ++ 3 files changed, 10 insertions(+) diff --git a/services/web/frontend/stylesheets/bootstrap-5/abstracts/themes-common-variables.scss b/services/web/frontend/stylesheets/bootstrap-5/abstracts/themes-common-variables.scss index 969a861c67..ce99b88f33 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/abstracts/themes-common-variables.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/abstracts/themes-common-variables.scss @@ -25,6 +25,7 @@ --link-ui-themed: var(--link-ui-dark); --link-ui-hover-themed: var(--link-ui-hover-dark); --link-ui-visited-themed: var(--link-ui-visited-dark); + --premium-gradient-themed: var(--premium-gradient-dark); } @include theme('light') { @@ -54,4 +55,5 @@ --link-ui-themed: var(--link-ui); --link-ui-hover-themed: var(--link-ui-hover); --link-ui-visited-themed: var(--link-ui-visited); + --premium-gradient-themed: var(--premium-gradient); } diff --git a/services/web/frontend/stylesheets/bootstrap-5/foundations/colors.scss b/services/web/frontend/stylesheets/bootstrap-5/foundations/colors.scss index 9d0bd2ac95..ac196b900e 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/foundations/colors.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/foundations/colors.scss @@ -237,4 +237,10 @@ $link-ui-visited-dark: $blue-40; #254c84 29%, var(--blue-40) 97% ); + --premium-gradient-dark: linear-gradient( + 246deg, + #6f8bcd 0%, + #8ea3d7 29%, + #ccdcff 97% + ); } diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/logs.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/logs.scss index 95c5a83ddc..14ddde5236 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/logs.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/logs.scss @@ -44,6 +44,8 @@ } .log-entry-content { + --bs-code-color: var(--content-secondary-themed); + color: var(--content-primary-themed); background-color: var(--bg-primary-themed); padding: 0;