vowel 0.2.3 → 0.2.5

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.
Files changed (73) hide show
  1. package/404.md +3 -0
  2. package/README.md +171 -25
  3. package/bin.js +209 -1
  4. package/config.js +20 -0
  5. package/docs-source/.votive.db +0 -0
  6. package/docs-source/blog/url-ui.md +1 -5
  7. package/docs-source/blog.md +5 -0
  8. package/docs-source/docs/items.md +1 -1
  9. package/docs-source/home.md +1 -1
  10. package/docs-source/output/about.html +1 -0
  11. package/docs-source/output/blog/url-ui.html +8 -0
  12. package/docs-source/output/blog.html +1 -0
  13. package/docs-source/output/default.css +1 -0
  14. package/docs-source/output/docs/deploy.html +34 -0
  15. package/docs-source/output/docs/file-structure.html +24 -0
  16. package/docs-source/output/docs/folder-settings.html +20 -0
  17. package/docs-source/output/docs/images.html +2 -0
  18. package/docs-source/output/docs/items.html +6 -0
  19. package/docs-source/output/docs/pages.html +101 -0
  20. package/docs-source/output/docs/styling.html +18 -0
  21. package/docs-source/output/docs/taxonomies.html +20 -0
  22. package/docs-source/output/docs.html +28 -0
  23. package/docs-source/output/features/cards.html +1 -0
  24. package/docs-source/output/features/editing.html +1 -0
  25. package/docs-source/output/features/emoji.html +1 -0
  26. package/docs-source/output/features/frontmatter.html +1 -0
  27. package/docs-source/output/features/lists.html +1 -0
  28. package/docs-source/output/features/navigation.html +1 -0
  29. package/docs-source/output/features/rich-previews.html +1 -0
  30. package/docs-source/output/features/robots.html +1 -0
  31. package/docs-source/output/features/rss.html +1 -0
  32. package/docs-source/output/features/sitemap.html +1 -0
  33. package/docs-source/output/features/speed.html +1 -0
  34. package/docs-source/output/features/static.html +1 -0
  35. package/docs-source/output/features/taxonomies.html +1 -0
  36. package/docs-source/output/features.html +1 -0
  37. package/docs-source/output/feed.xml +1 -0
  38. package/docs-source/output/index.html +21 -0
  39. package/docs-source/output/reset.css +1 -0
  40. package/docs-source/output/roadmap.html +87 -0
  41. package/docs-source/output/robots.txt +14 -0
  42. package/docs-source/output/sitemap.xml +16 -0
  43. package/docs-source/output/typography.css +1 -0
  44. package/docs-source/settings.md +1 -0
  45. package/getMetadata.js +1 -1
  46. package/index.js +5 -660
  47. package/package.json +17 -2
  48. package/plugins/fonts/index.js +26 -0
  49. package/plugins/icons/index.js +26 -0
  50. package/plugins/images/index.js +45 -0
  51. package/plugins/markdown/index.js +1097 -0
  52. package/plugins/robots/index.js +23 -0
  53. package/plugins/styles/index.js +69 -0
  54. package/plugins/vectors/index.js +38 -0
  55. package/plugins/xml/index.js +196 -0
  56. package/stylesheets/DefaultStyles.css +329 -263
  57. package/stylesheets/ResetStyles.css +119 -123
  58. package/stylesheets/TypographyStyles.css +259 -242
  59. package/docs-source/assets/styles.css +0 -51
  60. package/docs-source/blog/home.md +0 -5
  61. /package/docs-source/{$features → features}/cards.md +0 -0
  62. /package/docs-source/{$features → features}/editing.md +0 -0
  63. /package/docs-source/{$features → features}/emoji.md +0 -0
  64. /package/docs-source/{$features → features}/frontmatter.md +0 -0
  65. /package/docs-source/{$features → features}/lists.md +0 -0
  66. /package/docs-source/{$features → features}/navigation.md +0 -0
  67. /package/docs-source/{$features → features}/rich-previews.md +0 -0
  68. /package/docs-source/{$features → features}/robots.md +0 -0
  69. /package/docs-source/{$features → features}/rss.md +0 -0
  70. /package/docs-source/{$features → features}/sitemap.md +0 -0
  71. /package/docs-source/{$features → features}/speed.md +0 -0
  72. /package/docs-source/{$features → features}/static.md +0 -0
  73. /package/docs-source/{$features → features}/taxonomies.md +0 -0
@@ -1,254 +1,271 @@
1
- html {
2
- font-family:
3
- -apple-system,
4
- BlinkMacSystemFont,
5
- avenir next,
6
- avenir,
7
- segoe ui,
8
- helvetica neue,
9
- helvetica,
10
- Cantarell,
11
- Ubuntu,
12
- roboto,
13
- noto,
14
- arial,
15
- sans-serif;
16
- }
17
-
18
- h1,
19
- h2,
20
- h3,
21
- h4,
22
- h5,
23
- h6 {
24
- margin-top: 0.5rem;
25
- margin-bottom: 1rem;
26
- text-rendering: optimizeLegibility;
27
- font-weight: 600;
28
- line-height: 1.1;
29
- }
30
-
31
- h1 {
32
- font-size: 3rem;
33
- line-height: 1.2;
34
- font-weight: 800;
35
- }
36
-
37
- h2 {
38
- font-size: 2.6rem;
39
- margin-top: 3rem;
40
- }
41
-
42
- h3 {
43
- font-size: 2rem;
44
- margin-top: 3rem;
45
- }
46
-
47
- h4 {
48
- font-size: 1.44rem;
49
- }
50
-
51
- h5 {
52
- font-size: 1.15rem;
53
- }
54
-
55
- h6 {
56
- font-size: 0.96rem;
57
- }
58
-
59
- article h1 {
60
- font-weight: 600;
61
- font-size: 2rem;
62
- }
63
-
64
- @media only screen and (max-width: 720px) {
1
+ @layer reset, typography;
2
+
3
+ /* TODO remove unset color */
4
+
5
+ @layer typography {
6
+ html {
7
+ font-family:
8
+ -apple-system,
9
+ BlinkMacSystemFont,
10
+ avenir next,
11
+ avenir,
12
+ segoe ui,
13
+ helvetica neue,
14
+ helvetica,
15
+ Cantarell,
16
+ Ubuntu,
17
+ roboto,
18
+ noto,
19
+ arial,
20
+ sans-serif;
21
+ }
22
+
23
+ h1,
24
+ h2,
25
+ h3,
26
+ h4,
27
+ h5,
28
+ h6 {
29
+ margin-top: 0.5rem;
30
+ margin-bottom: 1rem;
31
+ text-rendering: optimizeLegibility;
32
+ font-weight: 600;
33
+ line-height: 1.1;
34
+ }
35
+
65
36
  h1 {
66
- font-size: 2.5rem;
37
+ font-size: 3rem;
38
+ line-height: 1.2;
39
+ font-weight: 800;
67
40
  }
68
41
 
69
42
  h2 {
70
- font-size: 2.1rem;
43
+ font-size: 2.6rem;
44
+ margin-top: 3rem;
71
45
  }
72
46
 
73
47
  h3 {
74
- font-size: 1.75rem;
48
+ font-size: 2rem;
49
+ margin-top: 3rem;
75
50
  }
76
51
 
77
52
  h4 {
78
- font-size: 1.25rem;
79
- }
80
- }
81
-
82
- p {
83
- margin-top: 0;
84
- }
85
-
86
- ol,
87
- ul {
88
- /* padding-left: 0; */
89
- margin-top: 0;
90
- }
91
-
92
- ul ul,
93
- ul ol,
94
- ol ol,
95
- ol ul {
96
- font-size: 100%;
97
- /* margin: 1rem 0 1rem 3rem; */
98
- }
99
-
100
- li {
101
- margin-bottom: 0.5rem;
102
- }
103
-
104
- /* Extra selector for specificity, see below */
105
- li>p:not(:last-child) {
106
- margin: 0;
107
- padding: 0;
108
- }
109
-
110
- pre,
111
- code {
112
- font-family:
113
- Menlo,
114
- Consolas,
115
- Monaco,
116
- Liberation Mono,
117
- Lucida Console,
118
- monospace;
119
- }
120
-
121
- code {
122
- font-size: 0.9em;
123
- margin-inline: 0px;
124
- padding: 3px 4px;
125
- border-radius: 5px;
126
- }
127
-
128
- pre {
129
- padding: 1rem 1.5rem;
130
- border-radius: 5px;
131
- overflow-x: auto;
132
- }
133
-
134
- blockquote {
135
- margin: 1.5em 0;
136
- padding: 0 1.6em 0 1.6em;
137
- }
138
-
139
- a {
140
- text-decoration: none;
141
- }
142
-
143
- li.checked,
144
- li.unchecked {
145
- padding-left: 0.8rem;
146
- }
147
-
148
- figcaption {
149
- margin-top: 0.5rem;
150
- font-style: italic;
151
- }
152
-
153
- article+article {
154
- margin-top: 1rem;
155
- }
156
-
157
- article a {
158
- color: unset;
159
- }
160
-
161
- article a:hover {
162
- color: unset;
163
- }
164
-
165
- article h2 {
166
- margin-top: 2rem;
167
- }
168
-
169
- th,
170
- td {
171
- padding: 12px 15px;
172
- text-align: left;
173
- }
174
-
175
- th:first-child,
176
- td:first-child {
177
- padding-left: 0;
178
- }
179
-
180
- th:last-child,
181
- td:last-child {
182
- padding-right: 0;
183
- }
184
-
185
- :where(pre,
186
- blockquote,
187
- dl,
188
- figure,
189
- table,
190
- p,
191
- ul,
53
+ font-size: 1.44rem;
54
+ }
55
+
56
+ h5 {
57
+ font-size: 1.15rem;
58
+ }
59
+
60
+ h6 {
61
+ font-size: 0.96rem;
62
+ }
63
+
64
+ article h1 {
65
+ font-weight: 600;
66
+ font-size: 2rem;
67
+ }
68
+
69
+ @media only screen and (max-width: 720px) {
70
+ h1 {
71
+ font-size: 2.5rem;
72
+ }
73
+
74
+ h2 {
75
+ font-size: 2.1rem;
76
+ }
77
+
78
+ h3 {
79
+ font-size: 1.75rem;
80
+ }
81
+
82
+ h4 {
83
+ font-size: 1.25rem;
84
+ }
85
+ }
86
+
87
+ p {
88
+ margin-top: 0;
89
+ }
90
+
192
91
  ol,
193
- form,
194
- article,
195
- section,
196
- aside,
197
- time,
198
- dl):not(:last-child) {
199
- margin-bottom: 2.5rem;
200
- }
201
-
202
- hr {
203
- margin-top: 3rem;
204
- margin-bottom: 3.5rem;
205
- border-width: 0px;
206
- }
207
-
208
- dt {
209
- font-weight: 500;
210
- }
211
-
212
- time {
213
- display: block;
214
- }
215
-
216
- time a {
217
- color: unset;
218
- }
219
-
220
- .breadcrumbs a {
221
- font-size: 0.9em;
222
- color: unset;
223
- }
224
-
225
- .breadcrumbs .separator:after {
226
- margin-inline: 0.2em;
227
- content: '/';
228
- }
229
-
230
- nav>a {
231
- text-wrap: nowrap;
232
- }
233
-
234
- header a.site-title {
235
- color: unset;
236
- font-weight: 900;
237
- font-size: 2.8em;
238
- }
239
-
240
- header .slogan {
241
- font-weight: 500;
242
- }
243
-
244
- nav a:where([aria-current='page'], [aria-current='true']),
245
- nav a:where([aria-current='page'], [aria-current='true']):hover {
246
- text-decoration: none;
247
- color: unset;
248
- cursor: default;
249
- }
250
-
251
- aside h2 {
252
- margin: 0 0 0.5em 0;
253
- font-size: 1.1em;
92
+ ul {
93
+ /* padding-left: 0; */
94
+ margin-top: 0;
95
+ }
96
+
97
+ ul ul,
98
+ ul ol,
99
+ ol ol,
100
+ ol ul {
101
+ font-size: 100%;
102
+ /* margin: 1rem 0 1rem 3rem; */
103
+ }
104
+
105
+ li {
106
+ margin-bottom: 0.5rem;
107
+ }
108
+
109
+ /* Extra selector for specificity, see below */
110
+ li>p:not(:last-child) {
111
+ margin: 0;
112
+ padding: 0;
113
+ }
114
+
115
+ pre,
116
+ code {
117
+ font-family:
118
+ Menlo,
119
+ Consolas,
120
+ Monaco,
121
+ Liberation Mono,
122
+ Lucida Console,
123
+ monospace;
124
+ }
125
+
126
+ code {
127
+ font-size: 0.9em;
128
+ margin-inline: 0px;
129
+ padding: 3px 4px;
130
+ border-radius: 5px;
131
+ }
132
+
133
+ pre {
134
+ padding: 1rem 1.5rem;
135
+ border-radius: 5px;
136
+ overflow-x: auto;
137
+ }
138
+
139
+ blockquote {
140
+ margin: 1.5em 0;
141
+ padding: 0 1.6em 0 1.6em;
142
+ }
143
+
144
+ a {
145
+ text-decoration: none;
146
+ }
147
+
148
+ li.checked,
149
+ li.unchecked {
150
+ padding-left: 0.8rem;
151
+ }
152
+
153
+ figcaption {
154
+ margin-top: 0.5rem;
155
+ font-style: italic;
156
+ }
157
+
158
+ article+article {
159
+ margin-top: 1rem;
160
+ }
161
+
162
+ article a {
163
+ color: unset;
164
+ }
165
+
166
+ article a:hover {
167
+ color: unset;
168
+ }
169
+
170
+ article h2 {
171
+ margin-top: 2rem;
172
+ }
173
+
174
+ th,
175
+ td {
176
+ padding: 12px 15px;
177
+ text-align: left;
178
+ }
179
+
180
+ th:first-child,
181
+ td:first-child {
182
+ padding-left: 0;
183
+ }
184
+
185
+ th:last-child,
186
+ td:last-child {
187
+ padding-right: 0;
188
+ }
189
+
190
+ :where(pre,
191
+ blockquote,
192
+ dl,
193
+ figure,
194
+ table,
195
+ p,
196
+ ul,
197
+ ol,
198
+ form,
199
+ article,
200
+ section,
201
+ aside,
202
+ time,
203
+ dl):not(:last-child) {
204
+ margin-bottom: 2.5rem;
205
+ }
206
+
207
+ hr {
208
+ margin-top: 3rem;
209
+ margin-bottom: 3.5rem;
210
+ border-width: 0px;
211
+ }
212
+
213
+ dt {
214
+ font-weight: 500;
215
+ }
216
+
217
+ time {
218
+ display: block;
219
+ }
220
+
221
+ time a {
222
+ color: unset;
223
+ }
224
+
225
+ [aria-label=Breadcrumbs] a {
226
+ font-size: 0.8em;
227
+ color: unset;
228
+ }
229
+
230
+ [aria-label=Breadcrumbs]>a:not(:last-child):after {
231
+ margin-inline: 0.2em;
232
+ content: '/';
233
+ }
234
+
235
+ nav>a {
236
+ text-wrap: nowrap;
237
+ }
238
+
239
+ .icon {
240
+ height: 1em;
241
+ width: 1em;
242
+ }
243
+
244
+ header a[rel=home] {
245
+ color: unset;
246
+ font-weight: 900;
247
+ font-size: 2.8em;
248
+ }
249
+
250
+ header .logo {
251
+ display: inline-block;
252
+ height: 1em;
253
+ width: 1em;
254
+ }
255
+
256
+ header .tagline {
257
+ font-weight: 500;
258
+ }
259
+
260
+ nav a:where([aria-current='page'], [aria-current='true']),
261
+ nav a:where([aria-current='page'], [aria-current='true']):hover {
262
+ text-decoration: none;
263
+ color: unset;
264
+ cursor: default;
265
+ }
266
+
267
+ aside h2 {
268
+ margin: 0 0 0.5em 0;
269
+ font-size: 1.1em;
270
+ }
254
271
  }
@@ -1,51 +0,0 @@
1
- .link-preview {
2
- h2 {
3
- margin-top: 0;
4
- }
5
- }
6
-
7
- .folder-blog {
8
- margin-block: var(--size-9);
9
-
10
- & > article + article {
11
- border-top: 1px solid var(--surface-3);
12
- }
13
-
14
- & > article > .content,
15
- & > article > :not(h1, time) {
16
- display: none;
17
- }
18
-
19
- & > article {
20
- display: flex;
21
- flex-direction: row;
22
- justify-content: space-between;
23
- gap: 1rem;
24
- align-items: baseline;
25
- padding-inline: 0;
26
- background: unset;
27
- border-radius: 0;
28
- border: unset;
29
- }
30
-
31
- & article + article {
32
- border-top: 1px solid grey;
33
- }
34
-
35
- & > article > h1 {
36
- max-inline-size: unset;
37
- font-weight: 600;
38
- flex: 1;
39
- font-size: 1em;
40
- display: flex;
41
- align-items: center;
42
- justify-content: space-between;
43
- gap: 1rem;
44
- }
45
-
46
- & > article > time {
47
- margin-left: auto;
48
- margin: 0;
49
- font-size: 1em;
50
- }
51
- }
@@ -1,5 +0,0 @@
1
- # Blog
2
-
3
- Here's a blog.
4
-
5
- /blog?count=100&content=false
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes