API Reference
TopologyTheme
Provides topology SVG theme tokens.
Inheritance
- Object
- TopologyTheme
Usage
Explore 10 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 4
- Method VisualDesignTokens.ApplyTo
- Property TopologyChart.Theme
- Method TopologyTheme.Dark
- Method TopologyTheme.Light
Accepted by parameters 6
- Method VisualDesignTokens.ApplyTo
- Extension method TopologyChart.ConfigureTheme
- Extension method TopologyChart.WithTheme
- Method TopologyChartExtensions.ConfigureTheme
- Method TopologyChartExtensions.WithTheme
- Method TopologyHtmlRenderer.BuildFragmentStyle
Constructors
public TopologyTheme() #Methods
public static TopologyTheme Dark() #TopologyThemeCreates a dark topology theme.
Returns
A dark topology theme.
public static TopologyTheme Light() #TopologyThemeCreates the default light topology theme.
Returns
A light topology theme.
public String StatusColor(TopologyHealthStatus status) #StringResolves a status color.
Parameters
- status ChartForgeX.Topology.TopologyHealthStatus
- The health status.
Returns
A CSS color.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public String Background { get; set; } #Gets or sets the background color.
public String Foreground { get; set; } #Gets or sets the foreground text color.
public String MutedForeground { get; set; } #Gets or sets the muted text color.
public String Card { get; set; } #Gets or sets the card fill color.
public String Surface { get; set; } #Gets or sets the subtle surface fill color.
public String Border { get; set; } #Gets or sets the border color.
public String Accent { get; set; } #Gets or sets the accent color.
public String Healthy { get; set; } #Gets or sets the healthy status color.
public String Warning { get; set; } #Gets or sets the warning status color.
public String Critical { get; set; } #Gets or sets the critical status color.
public String Unknown { get; set; } #Gets or sets the unknown status color.
public String Disabled { get; set; } #Gets or sets the disabled status color.
public String FontFamily { get; set; } #Gets or sets the font family used by SVG text.