15853 fix background color for cable trace svg in dark mode

This commit is contained in:
Arthur 2024-04-26 11:36:43 -07:00 committed by Jeremy Stretch
parent d0e0dcb652
commit 778b8b9b48
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -8,6 +8,7 @@
:root {
// Light mode values
--nbx-trace-bg: var(--tblr-bg-surface-secondary);
--nbx-trace-color: #{$black};
--nbx-trace-node-bg: #{$gray-200};
--nbx-trace-termination-bg: #{$gray-100};
@ -16,6 +17,7 @@
&[data-bs-theme='dark'] {
// Dark mode values
--nbx-trace-bg: rgb(27, 41, 58);
--nbx-trace-color: #{$white};
--nbx-trace-node-bg: #{$gray-900};
--nbx-trace-termination-bg: #{$gray-800};
@ -44,6 +46,8 @@ text {
}
svg {
background-color: var(--nbx-trace-bg);
/* Boxes */
rect {
fill: var(--nbx-trace-node-bg);
@ -79,4 +83,3 @@ svg {
stroke-dasharray: 5px;
}
}