@riebeckite/plugin-plantuml 0.0.33 → 0.0.35

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
@@ -79,8 +79,8 @@ fully build-time; no request is made to the PlantUML server.
79
79
  The plugin ships `style.css` and emits stable class names: `rb-plantuml`,
80
80
  `rb-plantuml__frame`, `rb-plantuml__image`, `rb-plantuml__caption`, and
81
81
  `rb-plantuml__fallback`. Styling follows the `--rb-color-*` custom properties
82
- when present and switches to dark colors under `html[data-theme="dark"]`, or
83
- under the `prefers-color-scheme: dark` system query while `data-theme` is
82
+ when present and switches to dark colors under `html[data-rb-mode="dark"]`, or
83
+ under the `prefers-color-scheme: dark` system query while `data-rb-mode` is
84
84
  absent.
85
85
 
86
86
  ## Diagnostics
package/README_ja.md CHANGED
@@ -71,7 +71,7 @@ Bob --> Alice: Hi
71
71
 
72
72
  ## 出力される HTML / CSS
73
73
 
74
- プラグインは `style.css` を公開し、`rb-plantuml`、`rb-plantuml__frame`、`rb-plantuml__image`、`rb-plantuml__caption`、`rb-plantuml__fallback` という安定したクラス名で出力します。CSS 変数 `--rb-color-*` があればそれに追従し、`html[data-theme="dark"]`、または `data-theme` が無いときの `prefers-color-scheme: dark` で暗い配色に切り替わります。
74
+ プラグインは `style.css` を公開し、`rb-plantuml`、`rb-plantuml__frame`、`rb-plantuml__image`、`rb-plantuml__caption`、`rb-plantuml__fallback` という安定したクラス名で出力します。CSS 変数 `--rb-color-*` があればそれに追従し、`html[data-rb-mode="dark"]`、または `data-rb-mode` が無いときの `prefers-color-scheme: dark` で暗い配色に切り替わります。
75
75
 
76
76
  ## 診断
77
77
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-plantuml",
3
- "version": "0.0.33",
3
+ "version": "0.0.35",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -15,8 +15,8 @@
15
15
  "./style.css": "./style.css"
16
16
  },
17
17
  "dependencies": {
18
- "@riebeckite/core": "0.0.33",
19
- "@riebeckite/diagram": "0.0.33"
18
+ "@riebeckite/core": "0.0.35",
19
+ "@riebeckite/diagram": "0.0.35"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"
package/style.css CHANGED
@@ -47,13 +47,13 @@
47
47
  font-size: 0.875rem;
48
48
  }
49
49
 
50
- :is(:root, .rb-theme-root)[data-theme="dark"] .rb-plantuml {
50
+ :is(:root, .rb-theme-root)[data-rb-mode="dark"] .rb-plantuml {
51
51
  --rb-plantuml-ink: var(--rb-color-paper, #ffffff);
52
52
  --rb-plantuml-paper: var(--rb-color-ink, #000000);
53
53
  }
54
54
 
55
55
  @media (prefers-color-scheme: dark) {
56
- :is(:root, .rb-theme-root):not([data-theme]) .rb-plantuml {
56
+ :is(:root, .rb-theme-root):not([data-rb-mode]) .rb-plantuml {
57
57
  --rb-plantuml-ink: var(--rb-color-paper, #ffffff);
58
58
  --rb-plantuml-paper: var(--rb-color-ink, #000000);
59
59
  }