ThemeCheckOptions
ConsoleMonster.Styling
The known drawing conditions for a theme check. Palette colours and terminal-dependent dimming remain unknown.
Inheritance
- object
- ThemeCheckOptions
Usage
Explore 13 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 6
- Method StylingFluent.Background
- Method StylingFluent.GlyphTier
- Method StylingFluent.StatusMarkers
- Extension method ThemeCheckOptions.Background
- Extension method ThemeCheckOptions.GlyphTier
- Extension method ThemeCheckOptions.StatusMarkers
Accepted by parameters 7
- Method StylingFluent.Background
- Method StylingFluent.GlyphTier
- Method StylingFluent.StatusMarkers
- Method ThemeCheck.Run
- Extension method ThemeCheckOptions.Background
- Extension method ThemeCheckOptions.GlyphTier
- Extension method ThemeCheckOptions.StatusMarkers
Constructors
public ThemeCheckOptions() #Inherited Methods
Properties
public Color? Background { get; set; } #The page colour. Null uses #0c0c0c for a dark Theme or #ffffff for a light Theme; other ITheme implementations need an explicit background.
public GlyphTier? GlyphTier { get; set; } #The renderable glyph tier; null means markers cannot be assessed. Defaults to Full.
public StatusMarkerStyle? StatusMarkers { get; set; } #The profile's status-marker override; null uses the theme's appearance, or Symbols for another ITheme implementation.
Extension Methods
public static ThemeCheckOptions Background(ThemeCheckOptions themeCheckOptions, Color? value) #Sets ThemeCheckOptions.Background: The page colour. Null uses #0c0c0c for a dark Theme or #ffffff for a light Theme; other ITheme implementations need an explicit background.
Parameters
- themeCheckOptions ConsoleMonster.Styling.ThemeCheckOptions
- The instance.
- value ConsoleMonster.Styling.Color?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Styling.ThemeCheckOptions { Background = value }; themeCheckOptions.Background(value);public static ThemeCheckOptions GlyphTier(ThemeCheckOptions themeCheckOptions, GlyphTier? value) #Sets ThemeCheckOptions.GlyphTier: The renderable glyph tier; null means markers cannot be assessed. Defaults to Full.
Parameters
- themeCheckOptions ConsoleMonster.Styling.ThemeCheckOptions
- The instance.
- value ConsoleMonster.Capabilities.GlyphTier?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Styling.ThemeCheckOptions { GlyphTier = value }; themeCheckOptions.GlyphTier(value);public static ThemeCheckOptions StatusMarkers(ThemeCheckOptions themeCheckOptions, StatusMarkerStyle? value) #Sets ThemeCheckOptions.StatusMarkers: The profile's status-marker override; null uses the theme's appearance, or Symbols for another ITheme implementation.
Parameters
- themeCheckOptions ConsoleMonster.Styling.ThemeCheckOptions
- The instance.
- value ConsoleMonster.Styling.StatusMarkerStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Styling.ThemeCheckOptions { StatusMarkers = value }; themeCheckOptions.StatusMarkers(value);