-
Notifications
You must be signed in to change notification settings - Fork 6
/
const.go
41 lines (35 loc) · 1.56 KB
/
const.go
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
package control
type ContainerClass string
const (
Container ContainerClass = "container"
ContainerFluid = "container-fluid"
)
type TextColorClass string
const (
TextColorPrimary TextColorClass = "text-primary"
TextColorSecondary = "text-secondary"
TextColorDanger = "text-danger"
TextColorWarning = "text-warning"
TextColorInfo = "text-info"
TextColorLight = "text-light"
TextColorDark = "text-dark"
TextColorBody = "text-body"
TextColorMuted = "text-muted"
TextColorWhite = "text-white"
TextColorWhite50 = "text-white-50"
TextColorBlack50 = "text-black-50"
)
type BackgroundColorClass string
const (
BackgroundColorPrimary BackgroundColorClass = "bg-primary"
BackgroundColorSecondary = "bg-secondary"
BackgroundColorSuccess = "bg-danger"
BackgroundColorDanger = "bg-danger"
BackgroundColorWarning = "bg-warning"
BackgroundColorInfo = "bg-info"
BackgroundColorLight = "bg-light"
BackgroundColorDark = "bg-dark"
BackgroundColorWhite = "bg-white"
BackgroundColorTransparent = "bg-transparent"
BackgroundColorNone = "" // utility to allow custom background colors for components
)