@riebeckite/theme-sakura 0.0.18 → 0.0.20
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 +1 -1
- package/README_ja.md +1 -1
- package/package.json +2 -2
- package/styles/theme.css +40 -32
package/README.md
CHANGED
|
@@ -105,6 +105,6 @@ full token list — the token contract is identical.
|
|
|
105
105
|
|
|
106
106
|
## See also
|
|
107
107
|
|
|
108
|
-
- [Plugin guide](../../../docs/docs/reference/plugin-api.
|
|
108
|
+
- [Plugin guide](../../../docs/docs/reference/plugin-api.md)
|
|
109
109
|
- [`@riebeckite/theme-default`](../default/README.md)
|
|
110
110
|
|
package/README_ja.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/theme-sakura",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/src/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"./styles/theme.css": "./styles/theme.css"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@riebeckite/core": "0.0.
|
|
19
|
+
"@riebeckite/core": "0.0.20"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"access": "public"
|
package/styles/theme.css
CHANGED
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
|
|
226
226
|
/* Headings: serif, 600, distinguished by size and weight. */
|
|
227
227
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
228
|
-
.rb-article-
|
|
228
|
+
.rb-article-content
|
|
229
229
|
:is(h2, h3, h4) {
|
|
230
230
|
color: var(--rb-color-ink);
|
|
231
231
|
font-family: var(--rb-font-heading);
|
|
@@ -235,19 +235,19 @@
|
|
|
235
235
|
text-wrap: balance;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-
|
|
238
|
+
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-content h2 {
|
|
239
239
|
position: relative;
|
|
240
240
|
margin-block: 2.75rem 1.1rem;
|
|
241
241
|
padding-bottom: 0.65rem;
|
|
242
242
|
font-size: 1.6rem;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-
|
|
245
|
+
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-content h3 {
|
|
246
246
|
margin-block: 2.1rem 0.8rem;
|
|
247
247
|
font-size: 1.3rem;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-
|
|
250
|
+
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-content h4 {
|
|
251
251
|
margin-block: 1.6rem 0.6rem;
|
|
252
252
|
font-size: 1.1rem;
|
|
253
253
|
letter-spacing: 0.01em;
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
|
|
256
256
|
/* Blossom rule under h2; removed when `heading="plain"`. */
|
|
257
257
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
258
|
-
.rb-article-
|
|
258
|
+
.rb-article-content
|
|
259
259
|
h2::after {
|
|
260
260
|
content: "";
|
|
261
261
|
position: absolute;
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
:root,
|
|
272
272
|
.rb-theme-root
|
|
273
273
|
)[data-theme-name="sakura"][data-sakura-heading="plain"]
|
|
274
|
-
.rb-article-
|
|
274
|
+
.rb-article-content
|
|
275
275
|
h2 {
|
|
276
276
|
padding-bottom: 0;
|
|
277
277
|
}
|
|
@@ -280,31 +280,31 @@
|
|
|
280
280
|
:root,
|
|
281
281
|
.rb-theme-root
|
|
282
282
|
)[data-theme-name="sakura"][data-sakura-heading="plain"]
|
|
283
|
-
.rb-article-
|
|
283
|
+
.rb-article-content
|
|
284
284
|
h2::after {
|
|
285
285
|
content: none;
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
/* Paragraphs. */
|
|
289
|
-
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-
|
|
289
|
+
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-content p {
|
|
290
290
|
margin-block: 1.4rem;
|
|
291
291
|
text-wrap: pretty;
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
295
|
-
.rb-article-
|
|
295
|
+
.rb-article-content
|
|
296
296
|
> :first-child {
|
|
297
297
|
margin-block-start: 0;
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
301
|
-
.rb-article-
|
|
301
|
+
.rb-article-content
|
|
302
302
|
> :last-child {
|
|
303
303
|
margin-block-end: 0;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
/* Links: accent tone with an offset underline; hover thickens it. */
|
|
307
|
-
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-
|
|
307
|
+
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-content a {
|
|
308
308
|
color: color-mix(in srgb, var(--rb-color-accent) 55%, var(--rb-color-ink));
|
|
309
309
|
text-decoration: underline;
|
|
310
310
|
text-decoration-thickness: 1px;
|
|
@@ -320,7 +320,9 @@
|
|
|
320
320
|
text-decoration-thickness 140ms ease;
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
-
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
323
|
+
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
324
|
+
.rb-article-content
|
|
325
|
+
a:hover {
|
|
324
326
|
color: color-mix(in srgb, var(--rb-color-accent) 42%, var(--rb-color-ink));
|
|
325
327
|
text-decoration-thickness: 2px;
|
|
326
328
|
text-decoration-color: currentColor;
|
|
@@ -328,18 +330,18 @@
|
|
|
328
330
|
|
|
329
331
|
/* Lists: quiet spacing with blossom-tinted markers. */
|
|
330
332
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
331
|
-
.rb-article-
|
|
333
|
+
.rb-article-content
|
|
332
334
|
:is(ul, ol) {
|
|
333
335
|
margin-block: 1.4rem;
|
|
334
336
|
}
|
|
335
337
|
|
|
336
|
-
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-
|
|
338
|
+
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-content li {
|
|
337
339
|
margin-block: 0.35rem;
|
|
338
340
|
padding-inline-start: 0.15em;
|
|
339
341
|
}
|
|
340
342
|
|
|
341
343
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
342
|
-
.rb-article-
|
|
344
|
+
.rb-article-content
|
|
343
345
|
:is(ul, ol)
|
|
344
346
|
> li::marker {
|
|
345
347
|
color: color-mix(in srgb, var(--rb-color-accent) 72%, var(--rb-color-ink));
|
|
@@ -347,7 +349,7 @@
|
|
|
347
349
|
|
|
348
350
|
/* Blockquote: rounded plum-tinted surface with an accent left rule. */
|
|
349
351
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
350
|
-
.rb-article-
|
|
352
|
+
.rb-article-content
|
|
351
353
|
blockquote {
|
|
352
354
|
margin: 2rem 0;
|
|
353
355
|
padding: 1.1rem 1.35rem;
|
|
@@ -365,39 +367,39 @@
|
|
|
365
367
|
}
|
|
366
368
|
|
|
367
369
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
368
|
-
.rb-article-
|
|
370
|
+
.rb-article-content
|
|
369
371
|
blockquote
|
|
370
372
|
p {
|
|
371
373
|
margin-block: 0.6rem;
|
|
372
374
|
}
|
|
373
375
|
|
|
374
376
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
375
|
-
.rb-article-
|
|
377
|
+
.rb-article-content
|
|
376
378
|
blockquote
|
|
377
379
|
> :first-child {
|
|
378
380
|
margin-block-start: 0;
|
|
379
381
|
}
|
|
380
382
|
|
|
381
383
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
382
|
-
.rb-article-
|
|
384
|
+
.rb-article-content
|
|
383
385
|
blockquote
|
|
384
386
|
> :last-child {
|
|
385
387
|
margin-block-end: 0;
|
|
386
388
|
}
|
|
387
389
|
|
|
388
390
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
389
|
-
.rb-article-
|
|
391
|
+
.rb-article-content
|
|
390
392
|
blockquote
|
|
391
393
|
p::before,
|
|
392
394
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
393
|
-
.rb-article-
|
|
395
|
+
.rb-article-content
|
|
394
396
|
blockquote
|
|
395
397
|
p::after {
|
|
396
398
|
content: none;
|
|
397
399
|
}
|
|
398
400
|
|
|
399
401
|
/* hr: a short centered accent rule. */
|
|
400
|
-
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-
|
|
402
|
+
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-content hr {
|
|
401
403
|
width: 4rem;
|
|
402
404
|
height: 2px;
|
|
403
405
|
margin-block: 3rem;
|
|
@@ -409,7 +411,7 @@
|
|
|
409
411
|
|
|
410
412
|
/* Code. */
|
|
411
413
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
412
|
-
.rb-article-
|
|
414
|
+
.rb-article-content
|
|
413
415
|
:not(pre)
|
|
414
416
|
> code {
|
|
415
417
|
padding: 0.18em 0.42em;
|
|
@@ -421,7 +423,7 @@
|
|
|
421
423
|
}
|
|
422
424
|
|
|
423
425
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
424
|
-
.rb-article-
|
|
426
|
+
.rb-article-content
|
|
425
427
|
pre:not(:where(.rr-code *)) {
|
|
426
428
|
margin: 1.75rem 0 0;
|
|
427
429
|
padding: 1.05rem 1.2rem;
|
|
@@ -434,7 +436,7 @@
|
|
|
434
436
|
}
|
|
435
437
|
|
|
436
438
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
437
|
-
.rb-article-
|
|
439
|
+
.rb-article-content
|
|
438
440
|
pre:not(:where(.rr-code *)):has(+ :is(h1, h2)) {
|
|
439
441
|
margin-bottom: 1.75rem;
|
|
440
442
|
}
|
|
@@ -457,7 +459,7 @@
|
|
|
457
459
|
|
|
458
460
|
/* Tables: hairline rules and a tinted header row. */
|
|
459
461
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
460
|
-
.rb-article-
|
|
462
|
+
.rb-article-content
|
|
461
463
|
table:not(:where(.rr-diff-history *)) {
|
|
462
464
|
margin-block: 1.75rem;
|
|
463
465
|
border: 1px solid var(--rb-color-border);
|
|
@@ -468,7 +470,7 @@
|
|
|
468
470
|
}
|
|
469
471
|
|
|
470
472
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
471
|
-
.rb-article-
|
|
473
|
+
.rb-article-content
|
|
472
474
|
:is(th, td) {
|
|
473
475
|
padding: 0.6rem 0.85rem;
|
|
474
476
|
border-bottom: 1px solid var(--rb-color-border);
|
|
@@ -476,7 +478,10 @@
|
|
|
476
478
|
vertical-align: top;
|
|
477
479
|
}
|
|
478
480
|
|
|
479
|
-
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
481
|
+
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
482
|
+
.rb-article-content
|
|
483
|
+
thead
|
|
484
|
+
th {
|
|
480
485
|
background: color-mix(
|
|
481
486
|
in srgb,
|
|
482
487
|
var(--rb-color-accent) 9%,
|
|
@@ -487,7 +492,7 @@
|
|
|
487
492
|
}
|
|
488
493
|
|
|
489
494
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
490
|
-
.rb-article-
|
|
495
|
+
.rb-article-content
|
|
491
496
|
tbody
|
|
492
497
|
tr:last-child
|
|
493
498
|
td {
|
|
@@ -495,10 +500,13 @@
|
|
|
495
500
|
}
|
|
496
501
|
|
|
497
502
|
/* Images: the only elements that get a real soft shadow. */
|
|
498
|
-
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-
|
|
499
|
-
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
503
|
+
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rb-article-content > img,
|
|
504
|
+
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
505
|
+
.rb-article-content
|
|
506
|
+
p
|
|
507
|
+
> img,
|
|
500
508
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
501
|
-
.rb-article-
|
|
509
|
+
.rb-article-content
|
|
502
510
|
figure
|
|
503
511
|
img {
|
|
504
512
|
border: 1px solid var(--rb-color-border);
|