This site provides a machine-readable index at /llms.txt.

Skip to main content Skip to navigation

IColorScheme Pennington.MonorailCss

Defines how color schemes are applied to the MonorailCSS theme.

Methods

ApplyToTheme

#
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.
    
Theme ApplyToTheme(Theme theme);
}