34 lines
590 B
C#
34 lines
590 B
C#
namespace decePubClient.Components.Daisy;
|
|||
|
|
|
||
|
|
// Modifiers shared by many components. Each component maps them to its own class names in a switch whose arms are
|
||
|
|
// whole literals (DColor.Primary => "btn-primary"), so Tailwind finds them. The first member is the default and
|
||
|
|
// maps to no class.
|
||
|
|
|
||
|
|
public enum DColor
|
||
|
|
{
|
||
|
|
None,
|
||
|
|
Neutral,
|
||
|
|
Primary,
|
||
|
|
Secondary,
|
||
|
|
Accent,
|
||
|
|
Info,
|
||
|
|
Success,
|
||
|
|
Warning,
|
||
|
|
Error
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>daisyUI's sizes; <see cref="Md"/> is the default and renders no class.</summary>
|
||
|
|
public enum DSize
|
||
|
|
{
|
||
|
|
Md,
|
||
|
|
Xs,
|
||
|
|
Sm,
|
||
|
|
Lg,
|
||
|
|
Xl
|
||
|
|
}
|
||
|
|
|
||
|
|
public enum DDirection
|
||
|
|
{
|
||
|
|
Horizontal,
|
||
|
|
Vertical
|
||
|
|
}
|