@riebeckite/plugin-color-mode 0.0.17 → 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 +2 -2
- package/README_ja.md +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ needs no JavaScript in the theme itself.
|
|
|
10
10
|
## Overview
|
|
11
11
|
|
|
12
12
|
Themes derive their palette from three CSS states (see
|
|
13
|
-
[theme-system.md](../../../docs/
|
|
13
|
+
[theme-system.md](../../../docs/docs/reference/theme-api.en.md)):
|
|
14
14
|
|
|
15
15
|
- `:root` — light
|
|
16
16
|
- `:root[data-theme="dark"]` — dark
|
|
@@ -162,5 +162,5 @@ diagrams) can follow mode changes in the future.
|
|
|
162
162
|
|
|
163
163
|
## See also
|
|
164
164
|
|
|
165
|
-
- [Theme system](../../../docs/
|
|
165
|
+
- [Theme system](../../../docs/docs/reference/theme-api.en.md)
|
|
166
166
|
- [`@riebeckite/plugin-ux`](../ux/README.md)
|
package/README_ja.md
CHANGED
|
@@ -6,7 +6,7 @@ Riebeckite サイト向けのライト / ダーク / システム連動のカラ
|
|
|
6
6
|
|
|
7
7
|
## 概要
|
|
8
8
|
|
|
9
|
-
[theme-system.md](../../../docs/
|
|
9
|
+
[theme-system.md](../../../docs/docs/reference/theme-api.md) テーマの配色は、次の 3 つの CSS 状態で決まります。
|
|
10
10
|
|
|
11
11
|
- `:root` — ライト
|
|
12
12
|
- `:root[data-theme="dark"]` — ダーク
|
|
@@ -132,5 +132,5 @@ document.addEventListener("riebeckite:color-mode", (event) => {
|
|
|
132
132
|
|
|
133
133
|
## 関連
|
|
134
134
|
|
|
135
|
-
- [テーマシステム](../../../docs/
|
|
135
|
+
- [テーマシステム](../../../docs/docs/reference/theme-api.md)
|
|
136
136
|
- [`@riebeckite/plugin-ux`](../ux/README_ja.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/plugin-color-mode",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"hono": "^4.12.25",
|
|
25
|
-
"@riebeckite/core": "0.0.
|
|
25
|
+
"@riebeckite/core": "0.0.18"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|