From 4445d918be58fa22a9f520fb4b7efec7f87b0382 Mon Sep 17 00:00:00 2001 From: ilkin-overleaf <100852799+ilkin-overleaf@users.noreply.github.com> Date: Mon, 28 Oct 2024 12:08:22 +0200 Subject: [PATCH] Merge pull request #21389 from overleaf/ii-pdf-logs-pane-light-theme [web] BS5 add light theme support to pdf logs GitOrigin-RevId: 031278ce5ff34adda92ce4e08539fbe80cc70bfe --- .../stylesheets/bootstrap-5/pages/editor/logs.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 d3be1e2960..3a4580a1d5 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/logs.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/logs.scss @@ -1,10 +1,16 @@ -@import '../../foundations/colors'; +:root { + --logs-pane-bg: var(--bg-dark-secondary); +} + +@include theme('light') { + --logs-pane-bg: var(--bg-light-secondary); +} .logs-pane { position: absolute; inset: 0; overflow-y: auto; - background-color: var(--bg-dark-secondary); + background-color: var(--logs-pane-bg); z-index: 11; // above the PDF viewer + controls top: var(--toolbar-small-height);