API Reference
VisualStoryTheme
Defines premium but restrained visual-story colors and typography.
Inheritance
- Object
- VisualStoryTheme
Usage
Explore 14 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 11
- Property VisualStory.Theme
- Method VisualStoryTheme.Clone
- Method VisualStoryTheme.GraphiteDark
- Method VisualStoryTheme.GraphiteLight
- Method VisualStoryTheme.Light
- Method VisualStoryTheme.Linux
- Method VisualStoryTheme.MacOS
- Method VisualStoryTheme.PremiumDark
- Method VisualStoryTheme.Windows
- Extension method VisualDesignTokens.ApplyTo
- Method VisualStoryDesignTokenExtensions.ApplyTo
Accepted by parameters 3
- Method VisualStory.WithTheme
- Extension method VisualDesignTokens.ApplyTo
- Method VisualStoryDesignTokenExtensions.ApplyTo
Constructors
public VisualStoryTheme() #Methods
public VisualStoryTheme Clone() #VisualStoryThemeCreates a shallow copy with an independent syntax palette.
public static VisualStoryTheme GraphiteDark() #VisualStoryThemeCreates a visual-story theme from the shared Graphite dark design tokens.
public static VisualStoryTheme GraphiteLight() #VisualStoryThemeCreates a visual-story theme from the shared Graphite light design tokens.
public static VisualStoryTheme Light() #VisualStoryThemeCreates a light visual-story theme suitable for documentation and printing.
public static VisualStoryTheme Linux(Boolean light = false) #VisualStoryThemeCreates a Linux-inspired story with right-hand window controls and an aubergine desktop.
Parameters
- light System.Boolean = false
public static VisualStoryTheme MacOS(Boolean light = false) #VisualStoryThemeCreates a colorful macOS-inspired story with traffic-light controls and a violet desktop.
Parameters
- light System.Boolean = false
public static VisualStoryTheme Windows(Boolean light = false) #VisualStoryThemeCreates a Windows-inspired story with tab chrome and a blue desktop.
Parameters
- light System.Boolean = false
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public ChartColor Background { get; set; } #Gets or sets the outer background color.
public ChartColor Panel { get; set; } #Gets or sets the panel background color.
public ChartColor Border { get; set; } #Gets or sets the panel border color.
public ChartColor Text { get; set; } #Gets or sets primary text color.
public ChartColor Muted { get; set; } #Gets or sets secondary text color.
public ChartColor Accent { get; set; } #Gets or sets accent color.
public ChartColor Success { get; set; } #Gets or sets success/evidence color.
public String FontFamily { get; set; } #Gets or sets the general font-family stack.
public String MonospaceFontFamily { get; set; } #Gets or sets the monospace font-family stack.
public StorySyntaxPalette Syntax { get; set; } #Gets or sets the syntax palette.
public TerminalWindowStyle WindowStyle { get; set; } #Gets or sets the source and replay window chrome. Minimal preserves the restrained story presentation.
public ChartColor WindowHeader { get; set; } #Gets or sets the desktop window title-bar color. Defaults to the panel color until explicitly set.
public ChartColor? BackgroundEnd { get; set; } #Gets or sets an optional second background color for a diagonal desktop gradient.