fix: isolate night presentation theme from console styles

This commit is contained in:
lda
2026-07-11 10:04:49 +07:00 Verified
parent 62b4b5b705
commit d715fb68ee
2 changed files with 25 additions and 0 deletions
@@ -245,6 +245,14 @@
font-weight: 600;
}
.presentation-canvas[data-stage-theme="night"] .figure-breadcrumbs {
color: var(--text-secondary, oklch(0.78 0.035 250));
}
.presentation-canvas[data-stage-theme="night"] .figure-breadcrumbs__crumb[aria-current="page"] {
color: var(--text-primary, oklch(0.96 0.01 250));
}
.figure-breadcrumbs__crumb + .figure-breadcrumbs__crumb::before {
content: "\203A";
margin-right: 4px;
@@ -29,6 +29,23 @@
color: var(--color-editorial-ink, oklch(0.19 0.015 65));
}
/* The console's global section rule must not turn night-mode slide roots white. */
.presentation-canvas[data-stage-theme="night"] .presentation-stage__primary > .stage-caption,
.presentation-canvas[data-stage-theme="night"] .architecture-scene > .stage-caption,
.presentation-canvas[data-stage-theme="night"] .presentation-stage__primary > .architecture-scene,
.presentation-canvas[data-stage-theme="night"] .presentation-stage__primary > .scene-body__authoring-composition {
background: transparent;
color: var(--text-primary);
border-color: var(--stage-line);
}
.presentation-canvas[data-stage-theme="night"] .presentation-stage__primary > .prepared-lifecycle-scene {
background: var(--stage-canvas);
color: var(--text-primary);
border-color: var(--stage-line);
margin-bottom: 0;
}
.presentation-stage {
--presentation-footer-height: 2.5rem;
position: relative;