Dark Theme Diagrams (v1.47.4)
Add Theme = ResultFlowTheme.Dark to any [ResultFlow] annotation to emit the full diagram set using a dark colour scheme β optimised for dark-mode editors, MkDocs slate, and presentation slides.
[ResultFlow(MaxDepth = 2, Theme = ResultFlowTheme.Dark)]
public static Result<StockReservation> FulfillOrder(int productId, int quantity) =>
FindProduct(productId)
.Bind(p => WarehouseService.ReserveStock(p, quantity))
.Map(p => new StockReservation(p.Id, quantity, p.Price));
All five generated views (_Pipeline, _LayerView, _Stats, _ErrorSurface, _ErrorPropagation) use the dark palette. Light is the default β existing diagrams are unaffected.
| Light | Dark |
|---|---|