This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tiny-css-classes.ts
114 lines (113 loc) · 2.88 KB
/
tiny-css-classes.ts
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
export const tinyCssClasses = {
/* ===========Positioning & utils========= */
/* display */
dyFlex: "d-flex",
dGrid: "d-grid",
dBlock: "d-block",
/* justify content */
jcCenter: "jc-center",
jcStart: "jc-start",
jcEnd: "jc-end",
jcAround: "jc-around",
jcBetween: "jc-between",
jcEvenly: "jc-evenly",
jcStretch: "jc-stretch",
jcBaseline: "jc-baseline",
/* justify self */
jsCenter: "js-center",
jsStart: "js-start",
jsEnd: "js-end",
jsStretch: "js-stretch",
jsBaseline: "js-baseline",
// align item
aiCenter: "ai-center",
aiStart: "ai-start",
aiEnd: "ai-end",
aiStretch: "ai-stretch",
aiBasLine: "ai-baseline",
// align self
asCenter: "as-center",
asStart: "as-start",
asEnd: "as-end",
asStretch: "as-stretch",
asBasLine: "as-baseline",
// align content
acCenter: "ac-center",
acStart: "ac-start",
acEnd: "ac-end",
acAround: "ac-around",
acBetween: "ac-between",
acEvenly: "ac-evenly",
// flex direction
flexColumn: "flex-column",
flexRow: "flex-row",
flexColumnReverse: "flex-column-reverse",
flexRowReverse: "flex-row-reverse",
// flex wrap, shrink, grow
flexWrap: "flex-wrap",
flexNoWrap: "flex-no-wrap",
flexShrink: "flex-shrink",
flexNoShrink: "flex-no-shrink",
flexGrow: "flex-grow",
flexNoGrow: "flex-no-grow",
// float
floatLeft: "float-left",
floatRight: "float-right",
floatNone: "float-none",
// position
pAbsolute: "p-absolute",
pRelative: "p-relative",
pFixed: "p-fixed",
pSticky: "p-sticky",
pStatic: "p-static",
// cursor
cPointer: "c-pointer",
cNotAllowed: "c-not-allowed",
cGrab: 'c-grab',
cProgress: 'c-progress',
// list style
listNone: "list-none",
listSquare: "list-square",
listCircle: "list-circle",
listDisc: "list-disc",
// text decoration
textDashed: "text-dashed",
textDotted: "text-dotted",
textDouble: "text-double",
textLineThrough: "text-line-through",
textNone: "text-none",
textSolid: "text-solid",
textUnderline: "text-underline",
textWavy: "text-wavy",
/* =========Components=========== */
// button
btn: "btn",
btnPrimary: "btn-primary",
btnSecondary: "btn-secondary",
btnSuccess: "btn-success",
btnDanger: "btn-danger",
btnChill: "btn-chill",
btnClose: "btn-close",
btnBlock: "btn-block",
// lists
ul:"ul",
ol:"ol",
ulWithBg:"ul-with-bg",
olWithBg:"ol-with-bg",
// table
table: "table",
thead: "thead",
tbody: "tbody",
tfoot: "tfoot",
tr: "tr",
td: "td",
th: "th",
tdPrimary: "td-primary",
thPrimary: "th-primary",
tdSecondary: "td-secondary",
thSecondary: "th-secondary",
tdSuccess: "td-success",
thSuccess: "th-success",
tdDanger: "td-danger",
thDanger: "th-danger",
}