Simple readonly record struct used by the RazorDesigner projection system. It bundles a PreviewTheme and a boolean indicating whether the projection is for preview (adds .preview-* chrome classes) or for save.
using Grains.RazorDesigner.Serialization; // PreviewTheme
namespace Grains.RazorDesigner.Projection;
public readonly record struct ProjectionContext(
PreviewTheme Theme, // swappable preview theme; PreviewTheme.Default for save
bool ForPreview ); // preview emits .preview-* chrome classes; save does not