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

ColorName Pennington.MonorailCss

A color reference that provides IntelliSense discoverability for known Tailwind colors while still accepting arbitrary custom color names via implicit string conversion.

Properties

Amber ColorName
Amber
Black ColorName
Black
Blue ColorName
Blue
Cyan ColorName
Cyan
Emerald ColorName
Emerald
Fuchsia ColorName
Fuchsia
Gray ColorName
Gray
Green ColorName
Green
Indigo ColorName
Indigo
Lime ColorName
Lime
Mauve ColorName
Mauve
Mist ColorName
Mist
Neutral ColorName
Neutral
Olive ColorName
Olive
Orange ColorName
Orange
Pink ColorName
Pink
Purple ColorName
Purple
Red ColorName
Red
Rose ColorName
Rose
Sky ColorName
Sky
Slate ColorName
Slate
Stone ColorName
Stone
Taupe ColorName
Taupe
Teal ColorName
Teal
Value string
Underlying color name (Tailwind palette key or custom identifier).
Violet ColorName
Violet
White ColorName
White
Yellow ColorName
Yellow
Zinc ColorName
Zinc

Constructors

ColorName

#
public ColorName(string Value)

A color reference that provides IntelliSense discoverability for known Tailwind colors while still accepting arbitrary custom color names via implicit string conversion.

Parameters

Value string
Underlying color name (Tailwind palette key or custom identifier).

Methods

ToString

#
public string ToString()

Returns

string

Pennington.MonorailCss.ColorName

namespace Pennington.MonorailCss;

/// A color reference that provides IntelliSense discoverability for known Tailwind colors while still accepting arbitrary custom color names via implicit string conversion.
public struct ColorName
{
    /// Amber
    
public static ColorName Amber { get; }
/// Black
public static ColorName Black { get; }
/// Blue
public static ColorName Blue { get; }
/// A color reference that provides IntelliSense discoverability for known Tailwind colors while still accepting arbitrary custom color names via implicit string conversion.
public ColorName(string Value)
; /// Cyan
public static ColorName Cyan { get; }
/// Emerald
public static ColorName Emerald { get; }
/// Fuchsia
public static ColorName Fuchsia { get; }
/// Gray
public static ColorName Gray { get; }
/// Green
public static ColorName Green { get; }
/// Indigo
public static ColorName Indigo { get; }
/// Lime
public static ColorName Lime { get; }
/// Mauve
public static ColorName Mauve { get; }
/// Mist
public static ColorName Mist { get; }
/// Neutral
public static ColorName Neutral { get; }
/// Olive
public static ColorName Olive { get; }
/// Orange
public static ColorName Orange { get; }
/// Pink
public static ColorName Pink { get; }
/// Purple
public static ColorName Purple { get; }
/// Red
public static ColorName Red { get; }
/// Rose
public static ColorName Rose { get; }
/// Sky
public static ColorName Sky { get; }
/// Slate
public static ColorName Slate { get; }
/// Stone
public static ColorName Stone { get; }
/// Taupe
public static ColorName Taupe { get; }
/// Teal
public static ColorName Teal { get; }
public string ToString()
; /// Underlying color name (Tailwind palette key or custom identifier).
public string Value { get; set; }
/// Violet
public static ColorName Violet { get; }
/// White
public static ColorName White { get; }
/// Yellow
public static ColorName Yellow { get; }
/// Zinc
public static ColorName Zinc { get; }
}