@riebeckite/theme-tokyonight 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
@@ -97,7 +97,7 @@ back to the system font stack.
97
97
 
98
98
  ## See also
99
99
 
100
- - [Plugin guide](../../../docs/en/docs/reference/plugin-api.md)
100
+ - [Plugin guide](../../../docs/docs/reference/plugin-api.en.md)
101
101
  - [`@riebeckite/theme-default`](../default/README.md)
102
102
  - [`@riebeckite/theme-sakura`](../sakura/README.md)
103
103
 
package/README_ja.md CHANGED
@@ -63,7 +63,7 @@ JetBrains Mono のラテン文字サブセットを同梱しているため、
63
63
 
64
64
  ## 関連資料
65
65
 
66
- - [テーマシステム](../../../docs/ja/docs/reference/theme-api.md)
66
+ - [テーマシステム](../../../docs/docs/reference/theme-api.md)
67
67
  - [`@riebeckite/theme-default`](../default/README_ja.md)
68
68
  - [`@riebeckite/theme-sakura`](../sakura/README_ja.md)
69
69
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/theme-tokyonight",
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
@@ -219,7 +219,6 @@
219
219
  .rb-article-body
220
220
  :is(ul, ol) {
221
221
  margin: 1em 0;
222
- padding-left: 1.4em;
223
222
  }
224
223
 
225
224
  :is(:root, .rb-theme-root)[data-theme-name="tokyonight"] .rb-article-body li {
@@ -338,7 +337,7 @@
338
337
  :is(:root, .rb-theme-root)[data-theme-name="tokyonight"]
339
338
  .rb-article-body
340
339
  blockquote {
341
- margin: 1.5em 0;
340
+ margin: 1.5em 0 0;
342
341
  border-left: 3px solid var(--rb-color-accent);
343
342
  background: color-mix(in srgb, var(--rb-color-accent) 6%, transparent);
344
343
  padding: 0.75em 1em;
@@ -463,7 +462,7 @@
463
462
  /* ---- Plugin roots ---- */
464
463
  :is(:root, .rb-theme-root)[data-theme-name="tokyonight"]
465
464
  :is(.rr-table-of-contents, .rr-backlinks) {
466
- margin: 1.5rem 0;
465
+ margin: 1.5rem 0 0;
467
466
  border: 1px solid var(--rb-color-border);
468
467
  border-radius: 0;
469
468
  background: color-mix(in srgb, var(--rb-color-surface) 50%, transparent);
@@ -497,6 +496,11 @@
497
496
  border: 1px solid var(--rb-color-border);
498
497
  border-left: 3px solid var(--rb-color-accent);
499
498
  border-radius: 0;
499
+ }
500
+
501
+ :is(:root, .rb-theme-root)[data-theme-name="tokyonight"]
502
+ .rr-code:not([data-terminal="true"]),
503
+ :is(:root, .rb-theme-root)[data-theme-name="tokyonight"] .rr-code-tabs {
500
504
  background: var(--rb-color-code-background);
501
505
  }
502
506
 
@@ -507,7 +511,7 @@
507
511
  border: 0;
508
512
  border-radius: 0;
509
513
  background: transparent;
510
- color: var(--rb-color-ink);
514
+ color: var(--rr-code-ink, var(--rb-color-ink));
511
515
  font-family: var(--rb-font-mono);
512
516
  }
513
517