diff --git a/theme-dark.scss b/theme-dark.scss index 2f09f49a0..bd97f66f0 100644 --- a/theme-dark.scss +++ b/theme-dark.scss @@ -35,6 +35,12 @@ $body-bg: $gray-900; $body-color: $gray-100; $link-color: $cyan; +// Bootstrap's own $pre-color default (#000, meant for a light background) +// is hardcoded regardless of theme -- inherit so bare
 elements (e.g.
+// Quarto's own .cell-decorator notebook-view prompts) stay legible here.
+// Bootswatch's dark themes (darkly, cyborg) carry the same override.
+$pre-color: inherit;
+
 $light: rgb(32.4,32.4,34.2);
 
 // Navigation element colors