This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

IColorScheme Pennington.MonorailCss

Defines how color schemes are applied to the MonorailCSS theme.

Methods

ApplyToTheme

#
public Theme ApplyToTheme(Theme theme)

Applies the color scheme to the given theme.

Parameters

theme Theme
The theme to apply colors to

Returns

Theme

Pennington.MonorailCss.IColorScheme

namespace Pennington.MonorailCss;

/// Defines how color schemes are applied to the MonorailCSS theme.
public interface IColorScheme
{
    /// Applies the color scheme to the given theme.
    
public Theme ApplyToTheme(Theme theme)
; }