@riebeckite/theme-sakura 0.0.16 → 0.0.18

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 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/en/docs/reference/plugin-api.md)
108
+ - [Plugin guide](../../../docs/docs/reference/plugin-api.en.md)
109
109
  - [`@riebeckite/theme-default`](../default/README.md)
110
110
 
package/README_ja.md CHANGED
@@ -57,6 +57,6 @@ export default defineConfig({
57
57
 
58
58
  ## 関連資料
59
59
 
60
- - [テーマシステム](../../../docs/ja/docs/reference/theme-api.md)
60
+ - [テーマシステム](../../../docs/docs/reference/theme-api.md)
61
61
  - [`@riebeckite/theme-default`](../default/README_ja.md)
62
62
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/theme-sakura",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
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.16"
19
+ "@riebeckite/core": "0.0.18"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"
package/styles/theme.css CHANGED
@@ -423,7 +423,7 @@
423
423
  :is(:root, .rb-theme-root)[data-theme-name="sakura"]
424
424
  .rb-article-body
425
425
  pre:not(:where(.rr-code *)) {
426
- margin-block: 1.75rem;
426
+ margin: 1.75rem 0 0;
427
427
  padding: 1.05rem 1.2rem;
428
428
  border: 1px solid var(--rb-color-border);
429
429
  border-radius: var(--rb-sakura-radius);
@@ -433,6 +433,12 @@
433
433
  color-mix(in srgb, var(--rb-color-ink) 60%, transparent);
434
434
  }
435
435
 
436
+ :is(:root, .rb-theme-root)[data-theme-name="sakura"]
437
+ .rb-article-body
438
+ pre:not(:where(.rr-code *)):has(+ :is(h1, h2)) {
439
+ margin-bottom: 1.75rem;
440
+ }
441
+
436
442
  :is(:root, .rb-theme-root)[data-theme-name="sakura"] .rr-code {
437
443
  border: 1px solid var(--rb-color-border);
438
444
  border-radius: var(--rb-sakura-radius);