writr 2.0.3 → 3.0.1
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/README.md +86 -70
- package/dist/writr.d.ts +22 -20
- package/dist/writr.js +59 -136
- package/package.json +39 -43
- package/bin/writr.mjs +0 -8
- package/dist/builder.d.ts +0 -34
- package/dist/builder.js +0 -182
- package/dist/console.d.ts +0 -22
- package/dist/console.js +0 -120
- package/dist/github.d.ts +0 -22
- package/dist/github.js +0 -74
- package/dist/helpers/markdown.d.ts +0 -10
- package/dist/helpers/markdown.js +0 -24
- package/dist/helpers.d.ts +0 -7
- package/dist/helpers.js +0 -58
- package/dist/options.d.ts +0 -12
- package/dist/options.js +0 -47
- package/init/favicon.svg +0 -1
- package/init/logo.png +0 -0
- package/init/variables.css +0 -30
- package/init/writr.config.cjs +0 -10
- package/template/css/highlight/highlight.min.js +0 -1433
- package/template/css/highlight/styles/base16/dracula.min.css +0 -7
- package/template/css/home.css +0 -307
- package/template/css/index.css +0 -919
- package/template/includes/footer.hbs +0 -10
- package/template/includes/header.hbs +0 -17
- package/template/includes/landing/content.hbs +0 -63
- package/template/includes/landing/hero.hbs +0 -3
- package/template/includes/scripts.hbs +0 -4
- package/template/index.hbs +0 -16
- package/template/releases.hbs +0 -45
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
Theme: Dracula
|
|
3
|
-
Author: Mike Barkmin (http://github.com/mikebarkmin) based on Dracula Theme (http://github.com/dracula)
|
|
4
|
-
License: ~ MIT (or more permissive) [via base16-schemes-source]
|
|
5
|
-
Maintainer: @highlightjs/core-team
|
|
6
|
-
Version: 2021.09.0
|
|
7
|
-
*/pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#e9e9f4;background:#282936}.hljs ::selection,.hljs::selection{background-color:#4d4f68;color:#e9e9f4}.hljs-comment{color:#626483}.hljs-tag{color:#62d6e8}.hljs-operator,.hljs-punctuation,.hljs-subst{color:#e9e9f4}.hljs-operator{opacity:.7}.hljs-bullet,.hljs-deletion,.hljs-name,.hljs-selector-tag,.hljs-template-variable,.hljs-variable{color:#ea51b2}.hljs-attr,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:#b45bcf}.hljs-class .hljs-title,.hljs-title,.hljs-title.class_{color:#00f769}.hljs-strong{font-weight:700;color:#00f769}.hljs-addition,.hljs-code,.hljs-string,.hljs-title.class_.inherited__{color:#ebff87}.hljs-built_in,.hljs-doctag,.hljs-keyword.hljs-atrule,.hljs-quote,.hljs-regexp{color:#a1efe4}.hljs-attribute,.hljs-function .hljs-title,.hljs-section,.hljs-title.function_,.ruby .hljs-property{color:#62d6e8}.diff .hljs-meta,.hljs-keyword,.hljs-template-tag,.hljs-type{color:#b45bcf}.hljs-emphasis{color:#b45bcf;font-style:italic}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-meta .hljs-string{color:#00f769}.hljs-meta .hljs-keyword,.hljs-meta-keyword{font-weight:700}
|
package/template/css/home.css
DELETED
|
@@ -1,307 +0,0 @@
|
|
|
1
|
-
.header-logo {
|
|
2
|
-
margin-right: 30px;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.home-header {
|
|
6
|
-
position: sticky;
|
|
7
|
-
background-color: var(--home-background);
|
|
8
|
-
border-bottom: 1px solid var(--border);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.home-hero {
|
|
12
|
-
display: flex;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
height: 20vh;
|
|
15
|
-
background-color: var(--home-background)
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.home-container {
|
|
19
|
-
max-width: 90%;
|
|
20
|
-
margin: 0 auto;
|
|
21
|
-
color: var(--color-text);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.home-container h1 {
|
|
25
|
-
font-weight: 500;
|
|
26
|
-
font-size: 28px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.home-title {
|
|
30
|
-
text-align: center;
|
|
31
|
-
margin-bottom: 32px;
|
|
32
|
-
font-size: 30px;
|
|
33
|
-
background: linear-gradient(30deg, var(--color-primary) 40%, var(--color-secondary-dark) 70%);
|
|
34
|
-
background-clip: text;
|
|
35
|
-
-webkit-background-clip: text;
|
|
36
|
-
color: transparent;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.home-docs-button {
|
|
40
|
-
padding: 12px 24px;
|
|
41
|
-
border: 2px solid var(--color-secondary-dark);
|
|
42
|
-
border-radius: 8px;
|
|
43
|
-
color: var(--color-secondary-dark);
|
|
44
|
-
font-weight: 600;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.home-hero {
|
|
48
|
-
text-align: center;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.home-hero img {
|
|
52
|
-
width: 100%;
|
|
53
|
-
max-width: 200px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.github-fork-ribbon {
|
|
57
|
-
position: fixed !important;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.github-fork-ribbon:before {
|
|
61
|
-
background-color: var(--color-primary) !important;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.content-container {
|
|
65
|
-
margin: 96px 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.facepile-container {
|
|
69
|
-
display: flex;
|
|
70
|
-
flex-wrap: wrap;
|
|
71
|
-
justify-content: center;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.facepile {
|
|
75
|
-
line-height: 2;
|
|
76
|
-
padding: 0 0 0 25px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.facepile > a {
|
|
80
|
-
display: inline-block;
|
|
81
|
-
margin-left: -25px;
|
|
82
|
-
transition: opacity .3s;
|
|
83
|
-
opacity: .9;
|
|
84
|
-
color: var(--background);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.facepile img {
|
|
88
|
-
border-radius: 50%;
|
|
89
|
-
width: calc(30px + 5vw);
|
|
90
|
-
height: calc(30px + 5vw);
|
|
91
|
-
max-width: 60px;
|
|
92
|
-
max-height: 60px;
|
|
93
|
-
margin-bottom: 6px;
|
|
94
|
-
background-color: #ffffff;
|
|
95
|
-
border: 2px solid;
|
|
96
|
-
transition: border .3s;
|
|
97
|
-
object-fit: cover;
|
|
98
|
-
vertical-align: middle;
|
|
99
|
-
display: inline-block;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
.facepile > a:hover {
|
|
104
|
-
opacity: 1;
|
|
105
|
-
position: relative;
|
|
106
|
-
z-index: 1;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.release {
|
|
110
|
-
overflow: hidden;
|
|
111
|
-
width: 100%;
|
|
112
|
-
line-break: anywhere;
|
|
113
|
-
margin-top: 32px;
|
|
114
|
-
color: var(--color-text);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.release-header {
|
|
118
|
-
margin-bottom: 16px;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.release-title {
|
|
122
|
-
font-size: 22px;
|
|
123
|
-
color: var(--color-primary);
|
|
124
|
-
font-weight: 700;
|
|
125
|
-
transition: color .3s;
|
|
126
|
-
display: block;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.release-title:hover {
|
|
130
|
-
color: var(--color-secondary-dark);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.release-date {
|
|
134
|
-
font-size: 12px;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.release-btn {
|
|
138
|
-
padding: 12px;
|
|
139
|
-
border-radius: 8px;
|
|
140
|
-
border: 2px solid var(--color-secondary);
|
|
141
|
-
color: var(--color-secondary);
|
|
142
|
-
width: fit-content;
|
|
143
|
-
margin-top: 32px;
|
|
144
|
-
display: block;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.release-btn span {
|
|
148
|
-
margin-left: 8px;
|
|
149
|
-
font-size: 12px;
|
|
150
|
-
transition: margin-left .3s;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.release-btn:hover span {
|
|
154
|
-
margin-left: 16px;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.release-body p {
|
|
158
|
-
margin: 8px 0;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.release-body pre {
|
|
162
|
-
margin-bottom: 32px;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.release-body h1 {
|
|
166
|
-
font-size: 22px;
|
|
167
|
-
margin-bottom: 16px;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.release-body h2 {
|
|
171
|
-
font-size: 18px;
|
|
172
|
-
margin-top: 28px;
|
|
173
|
-
margin-bottom: 16px;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.release-body ul {
|
|
177
|
-
padding-left: 16px;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.release-body ul > li {
|
|
181
|
-
margin-bottom: 12px;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.release-body ul > li a {
|
|
185
|
-
text-decoration: underline;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
footer {
|
|
189
|
-
height: 64px;
|
|
190
|
-
display: flex;
|
|
191
|
-
justify-content: center;
|
|
192
|
-
align-items: center;
|
|
193
|
-
border-top: 1px solid var(--border);
|
|
194
|
-
width: 100%;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
footer img {
|
|
198
|
-
margin-left: 8px;
|
|
199
|
-
margin-top: 4px;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
@media screen and (min-width: 640px) {
|
|
203
|
-
.home-container {
|
|
204
|
-
max-width: 82%;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
@media screen and (min-width: 768px) {
|
|
210
|
-
.home-hero {
|
|
211
|
-
height: 40vh;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.header-logo {
|
|
215
|
-
margin-right: 56px;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.home-hero img {
|
|
219
|
-
max-width: 340px;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.content-container {
|
|
223
|
-
margin: 96px 0;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.versions-container {
|
|
227
|
-
margin: 72px 0;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.release {
|
|
231
|
-
margin-bottom: 64px;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
@media screen and (min-width: 992px) {
|
|
237
|
-
.home-container {
|
|
238
|
-
max-width: 70%;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.home-container h1 {
|
|
242
|
-
font-size: 32px;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.home-docs-button {
|
|
246
|
-
font-size: 24px;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.nav {
|
|
250
|
-
padding-right: 56px;
|
|
251
|
-
width: 100%;
|
|
252
|
-
justify-content: space-between;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.header-content {
|
|
256
|
-
height: 72px;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.home-hero img {
|
|
260
|
-
max-width: 600px;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.home-title {
|
|
264
|
-
margin-bottom: 64px;
|
|
265
|
-
font-size: 48px;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.content-container {
|
|
269
|
-
margin: 120px 0;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.release-btn {
|
|
273
|
-
margin-top: 0;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
footer {
|
|
277
|
-
height: 76px;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
footer img {
|
|
281
|
-
height: 28px;
|
|
282
|
-
width: auto;
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
@media screen and (min-width: 1200px) {
|
|
287
|
-
.home-container {
|
|
288
|
-
max-width: 950px;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.content-container {
|
|
292
|
-
margin: 160px 0;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.versions-container {
|
|
296
|
-
margin: 120px 0;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.facepile > a {
|
|
300
|
-
margin-left: -30px;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.facepile img {
|
|
304
|
-
max-width: 70px;
|
|
305
|
-
max-height: 70px;
|
|
306
|
-
}
|
|
307
|
-
}
|