@thi.ng/meta-css 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/LICENSE +201 -0
- package/README.md +426 -0
- package/bin/metacss +12 -0
- package/index.js +15 -0
- package/package.json +107 -0
- package/specs/_info.json +26 -0
- package/specs/anim.json +12 -0
- package/specs/borders.json +46 -0
- package/specs/colors.json +141 -0
- package/specs/cursor.json +48 -0
- package/specs/dimensions.json +55 -0
- package/specs/display.json +24 -0
- package/specs/grid.json +41 -0
- package/specs/lists.json +11 -0
- package/specs/margins.json +23 -0
- package/specs/overflow.json +28 -0
- package/specs/positions.json +31 -0
- package/specs/typography.json +127 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tables": {
|
|
3
|
+
"pos": [-2, -1, 0, 1, 2]
|
|
4
|
+
},
|
|
5
|
+
"specs": [
|
|
6
|
+
{
|
|
7
|
+
"prefix": "",
|
|
8
|
+
"index": "v",
|
|
9
|
+
"prop": "position",
|
|
10
|
+
"items": ["absolute", "relative", "fixed"],
|
|
11
|
+
"unit": null
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"comment": "positions",
|
|
15
|
+
"prefix": "*-",
|
|
16
|
+
"index": "v",
|
|
17
|
+
"def": {
|
|
18
|
+
"*": "*"
|
|
19
|
+
},
|
|
20
|
+
"items": "pos",
|
|
21
|
+
"var": "TRBL"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"prefix": "z-",
|
|
25
|
+
"index": "v",
|
|
26
|
+
"prop": "z-index",
|
|
27
|
+
"items": [0, 1, 2, 3, 4, 5, 999, 9999],
|
|
28
|
+
"unit": null
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tables": {
|
|
3
|
+
"font-families": {
|
|
4
|
+
"system": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",
|
|
5
|
+
"sans-serif": "'Helvetica Neue', Helvetica, Arial, sans-serif",
|
|
6
|
+
"serif": "Georgia, 'Times New Roman', Times, serif",
|
|
7
|
+
"monospace": "Monaco, Menlo, Consolas, 'Courier New', monospace"
|
|
8
|
+
},
|
|
9
|
+
"100s": [100, 200, 300, 400, 500, 600, 700, 800, 900]
|
|
10
|
+
},
|
|
11
|
+
"specs": [
|
|
12
|
+
{
|
|
13
|
+
"comment": "font families",
|
|
14
|
+
"prefix": "",
|
|
15
|
+
"index": "v",
|
|
16
|
+
"prop": "font-family",
|
|
17
|
+
"items": "font-families",
|
|
18
|
+
"unit": "font-families"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"comment": "font scale",
|
|
22
|
+
"prefix": "f",
|
|
23
|
+
"index": "i1",
|
|
24
|
+
"prop": "font-size",
|
|
25
|
+
"items": [3, 2.25, 1.5, 1.25, 1, 0.875, 0.75]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"comment": "named font scales",
|
|
29
|
+
"prefix": "f-",
|
|
30
|
+
"index": "v",
|
|
31
|
+
"prop": "font-size",
|
|
32
|
+
"items": {
|
|
33
|
+
"title": "6rem",
|
|
34
|
+
"subtitle": "5rem"
|
|
35
|
+
},
|
|
36
|
+
"unit": null
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"comment": "font weights",
|
|
40
|
+
"prefix": "fw",
|
|
41
|
+
"index": "v",
|
|
42
|
+
"def": { "font-weight": "*" },
|
|
43
|
+
"items": "100s",
|
|
44
|
+
"unit": null
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"comment": "named font weights",
|
|
48
|
+
"prefix": "",
|
|
49
|
+
"index": "v",
|
|
50
|
+
"prop": "font-weight",
|
|
51
|
+
"items": {
|
|
52
|
+
"normal": 400,
|
|
53
|
+
"b": 700
|
|
54
|
+
},
|
|
55
|
+
"unit": null
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"comment": "text decorations",
|
|
59
|
+
"prefix": "",
|
|
60
|
+
"index": "v",
|
|
61
|
+
"prop": "text-decoration",
|
|
62
|
+
"items": {
|
|
63
|
+
"underline": "underline",
|
|
64
|
+
"no-underline": "none",
|
|
65
|
+
"strike": "line-through"
|
|
66
|
+
},
|
|
67
|
+
"unit": null
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"prefix": "tt",
|
|
71
|
+
"index": "v",
|
|
72
|
+
"prop": "text-transform",
|
|
73
|
+
"items": {
|
|
74
|
+
"c": "capitalize",
|
|
75
|
+
"l": "lowercase",
|
|
76
|
+
"i": "initial",
|
|
77
|
+
"n": "none",
|
|
78
|
+
"u": "uppercase",
|
|
79
|
+
"fw": "full-width",
|
|
80
|
+
"fsk": "full-size-kana"
|
|
81
|
+
},
|
|
82
|
+
"unit": null
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"prefix": "t",
|
|
86
|
+
"index": "v",
|
|
87
|
+
"prop": "text-align",
|
|
88
|
+
"items": {
|
|
89
|
+
"c": "center",
|
|
90
|
+
"j": "justify",
|
|
91
|
+
"l": "left",
|
|
92
|
+
"r": "right"
|
|
93
|
+
},
|
|
94
|
+
"unit": null
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"prefix": "v-",
|
|
98
|
+
"index": "v",
|
|
99
|
+
"prop": "vertical-align",
|
|
100
|
+
"items": {
|
|
101
|
+
"btm": "bottom",
|
|
102
|
+
"mid": "middle",
|
|
103
|
+
"top": "top"
|
|
104
|
+
},
|
|
105
|
+
"unit": null
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"prefix": "lh-",
|
|
109
|
+
"index": "v",
|
|
110
|
+
"prop": "line-height",
|
|
111
|
+
"items": {
|
|
112
|
+
"solid": 1,
|
|
113
|
+
"title": 1.25,
|
|
114
|
+
"copy": 1.5,
|
|
115
|
+
"double": 2
|
|
116
|
+
},
|
|
117
|
+
"unit": null
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"prefix": "ws-",
|
|
121
|
+
"index": "v",
|
|
122
|
+
"prop": "white-space",
|
|
123
|
+
"items": ["normal", "nowrap", "pre"],
|
|
124
|
+
"unit": null
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|