-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.go
More file actions
68 lines (56 loc) · 1.5 KB
/
types.go
File metadata and controls
68 lines (56 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package forgeui
// Size represents component size variants
type Size string
const (
SizeXS Size = "xs"
SizeSM Size = "sm"
SizeMD Size = "md"
SizeLG Size = "lg"
SizeXL Size = "xl"
SizeFull Size = "full" // Full width/height for modals
SizeIcon Size = "icon" // Special size for icon-only buttons
)
// Variant represents visual style variants
type Variant string
const (
VariantDefault Variant = "default"
VariantPrimary Variant = "primary"
VariantSecondary Variant = "secondary"
VariantDestructive Variant = "destructive"
VariantOutline Variant = "outline"
VariantGhost Variant = "ghost"
VariantLink Variant = "link"
)
// Radius represents border radius options
type Radius string
const (
RadiusNone Radius = "none"
RadiusSM Radius = "sm"
RadiusMD Radius = "md"
RadiusLG Radius = "lg"
RadiusXL Radius = "xl"
RadiusFull Radius = "full"
)
// Side represents positioning side for drawers, popovers, etc.
type Side string
const (
SideTop Side = "top"
SideRight Side = "right"
SideBottom Side = "bottom"
SideLeft Side = "left"
)
// Position represents positioning for floating elements (popovers, tooltips, dropdowns)
type Position string
const (
PositionTop Position = "top"
PositionRight Position = "right"
PositionBottom Position = "bottom"
PositionLeft Position = "left"
)
// Align represents alignment for floating elements
type Align string
const (
AlignStart Align = "start"
AlignCenter Align = "center"
AlignEnd Align = "end"
)