@thi.ng/meta-css 0.3.0 → 0.5.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 +16 -1
- package/README.md +123 -63
- package/index.js +6 -6
- package/package.json +18 -18
- package/specs/a11y.json +32 -0
- package/specs/anim.json +11 -2
- package/specs/aspect.json +38 -0
- package/specs/background.json +26 -0
- package/specs/borders.json +17 -0
- package/specs/dimensions.json +43 -25
- package/specs/display.json +6 -0
- package/specs/grids.json +60 -0
- package/specs/icons.json +30 -0
- package/specs/normalize.json +158 -0
- package/specs/positions.json +1 -1
- package/specs/selection.json +15 -0
- package/specs/shadows.json +43 -0
- package/specs/typography.json +15 -5
- package/specs/grid.json +0 -39
- package/specs/shadow.json +0 -26
- /package/specs/{overflow.json → overflows.json} +0 -0
package/specs/typography.json
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
"tables": {
|
|
3
3
|
"families": {
|
|
4
4
|
"system": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",
|
|
5
|
+
"system-sans-serif": "sans-serif",
|
|
6
|
+
"system-serif": "serif",
|
|
5
7
|
"sans-serif": "'Helvetica Neue', Helvetica, Arial, sans-serif",
|
|
6
8
|
"serif": "Georgia, 'Times New Roman', Times, serif",
|
|
7
9
|
"monospace": "Monaco, Menlo, Consolas, 'Courier New', monospace"
|
|
@@ -28,9 +30,10 @@
|
|
|
28
30
|
"name": "f-<k>",
|
|
29
31
|
"props": "font-size",
|
|
30
32
|
"values": {
|
|
31
|
-
"title":
|
|
32
|
-
"subtitle":
|
|
33
|
-
}
|
|
33
|
+
"title": 6,
|
|
34
|
+
"subtitle": 5
|
|
35
|
+
},
|
|
36
|
+
"unit": "rem"
|
|
34
37
|
},
|
|
35
38
|
{
|
|
36
39
|
"user": "font weights",
|
|
@@ -49,11 +52,16 @@
|
|
|
49
52
|
},
|
|
50
53
|
{
|
|
51
54
|
"user": "font variants",
|
|
52
|
-
"name": "<
|
|
53
|
-
"key": "v",
|
|
55
|
+
"name": "<v>",
|
|
54
56
|
"props": "font-variant",
|
|
55
57
|
"values": ["small-caps"]
|
|
56
58
|
},
|
|
59
|
+
{
|
|
60
|
+
"user": "font style",
|
|
61
|
+
"name": "<v>",
|
|
62
|
+
"props": "font-style",
|
|
63
|
+
"values": ["italic"]
|
|
64
|
+
},
|
|
57
65
|
{
|
|
58
66
|
"user": "text decorations",
|
|
59
67
|
"name": "<k>",
|
|
@@ -94,6 +102,7 @@
|
|
|
94
102
|
"name": "v-<k>",
|
|
95
103
|
"props": "vertical-align",
|
|
96
104
|
"values": {
|
|
105
|
+
"base": "baseline",
|
|
97
106
|
"btm": "bottom",
|
|
98
107
|
"mid": "middle",
|
|
99
108
|
"top": "top"
|
|
@@ -104,6 +113,7 @@
|
|
|
104
113
|
"name": "lh-<k>",
|
|
105
114
|
"props": "line-height",
|
|
106
115
|
"values": {
|
|
116
|
+
"0": 0,
|
|
107
117
|
"solid": 1,
|
|
108
118
|
"title": 1.25,
|
|
109
119
|
"copy": 1.5,
|
package/specs/grid.json
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"tables": {
|
|
3
|
-
"cols-rows": [
|
|
4
|
-
"1fr",
|
|
5
|
-
"1fr 1fr",
|
|
6
|
-
"1fr 1fr 1fr",
|
|
7
|
-
"repeat(4,1fr)",
|
|
8
|
-
"repeat(5,1fr)",
|
|
9
|
-
"repeat(6,1fr)",
|
|
10
|
-
"repeat(7,1fr)",
|
|
11
|
-
"repeat(8,1fr)",
|
|
12
|
-
"repeat(9,1fr)",
|
|
13
|
-
"repeat(10,1fr)"
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
"specs": [
|
|
17
|
-
{
|
|
18
|
-
"user": "grid layout",
|
|
19
|
-
"name": "gc<k>",
|
|
20
|
-
"key": "i1",
|
|
21
|
-
"props": "grid-template-columns",
|
|
22
|
-
"values": "cols-rows"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"user": "grid layout",
|
|
26
|
-
"name": "gr<k>",
|
|
27
|
-
"key": "i1",
|
|
28
|
-
"props": "grid-template-rows",
|
|
29
|
-
"values": "cols-rows"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"user": "grid layout",
|
|
33
|
-
"name": "gap<k>",
|
|
34
|
-
"props": "gap",
|
|
35
|
-
"values": [0, 0.125, 0.25, 0.5, 1, 2],
|
|
36
|
-
"unit": "rem"
|
|
37
|
-
}
|
|
38
|
-
]
|
|
39
|
-
}
|
package/specs/shadow.json
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"tables": {
|
|
3
|
-
"shadows": [
|
|
4
|
-
"0 0 2px 0px #0003",
|
|
5
|
-
"0 0 4px #0003",
|
|
6
|
-
"0 0 4px 1px #0003",
|
|
7
|
-
"0 0 8px 2px #0003"
|
|
8
|
-
]
|
|
9
|
-
},
|
|
10
|
-
"specs": [
|
|
11
|
-
{
|
|
12
|
-
"user": "shadow",
|
|
13
|
-
"name": "shadow-<k>",
|
|
14
|
-
"key": "i1",
|
|
15
|
-
"props": "box-shadow",
|
|
16
|
-
"values": "shadows"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"user": "shadow",
|
|
20
|
-
"name": "i-shadow-<k>",
|
|
21
|
-
"key": "i1",
|
|
22
|
-
"props": { "box-shadow": "<v> inset" },
|
|
23
|
-
"values": "shadows"
|
|
24
|
-
}
|
|
25
|
-
]
|
|
26
|
-
}
|
|
File without changes
|