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
AmberColorName- Amber
BlackColorName- Black
BlueColorName- Blue
CyanColorName- Cyan
EmeraldColorName- Emerald
FuchsiaColorName- Fuchsia
GrayColorName- Gray
GreenColorName- Green
IndigoColorName- Indigo
LimeColorName- Lime
MauveColorName- Mauve
MistColorName- Mist
NeutralColorName- Neutral
OliveColorName- Olive
OrangeColorName- Orange
PinkColorName- Pink
PurpleColorName- Purple
RedColorName- Red
RoseColorName- Rose
SkyColorName- Sky
SlateColorName- Slate
StoneColorName- Stone
TaupeColorName- Taupe
TealColorName- Teal
Valuestring- Underlying color name (Tailwind palette key or custom identifier).
VioletColorName- Violet
WhiteColorName- White
YellowColorName- Yellow
ZincColorName- 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
Valuestring- Underlying color name (Tailwind palette key or custom identifier).
Methods
ToString
#public string ToString()
Returns
stringPennington.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; }
}