From d9011e9ed0ce32a8da811519d83a0ed4d6605553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Palmeiro?= Date: Thu, 19 Dec 2024 17:04:47 +0000 Subject: [PATCH] Add CSS variables for background colors (#126) --- style/base.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/style/base.css b/style/base.css index f8bb150..3fbf3a7 100644 --- a/style/base.css +++ b/style/base.css @@ -1,15 +1,20 @@ +:root { + --jp-execute-time-highlight: var(--jp-brand-color3, #bbdefb); + --jp-execute-time-background: var(--jp-cell-editor-background); +} + /* Transition to highlight a cell change */ @keyframes executeHighlight { from { - background-color: var(--md-blue-100, #9fccff); + background-color: var(--jp-execute-time-highlight); } to { - background-color: var(--jp-cell-editor-background); + background-color: var(--jp-execute-time-background); } } .execute-time { - background-color: var(--jp-cell-editor-background); + background-color: var(--jp-execute-time-background); display: flex; justify-content: space-between; margin-top: 2px;