Skip to content

Commit

Permalink
Add CSS variables for background colors (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopalmeiro authored Dec 19, 2024
1 parent 3fef420 commit d9011e9
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions style/base.css
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit d9011e9

Please sign in to comment.