@riebeckite/plugin-lightbox 0.0.20 → 0.0.22
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 +3 -2
- package/README_ja.md +3 -2
- package/package.json +2 -2
- package/style.css +6 -6
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @riebeckite/plugin-lightbox
|
|
2
2
|
|
|
3
|
+
<!-- Generated from docs/docs/plugins/lightbox.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
|
|
4
|
+
|
|
3
5
|
Click-to-zoom lightbox for images.
|
|
4
6
|
|
|
5
7
|
[日本語](./README_ja.md)
|
|
@@ -75,5 +77,4 @@ the app calls on page initialization.
|
|
|
75
77
|
|
|
76
78
|
## See also
|
|
77
79
|
|
|
78
|
-
- [Plugin guide](
|
|
79
|
-
|
|
80
|
+
- [Plugin guide](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/reference/plugin-api.md)
|
package/README_ja.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @riebeckite/plugin-lightbox
|
|
2
2
|
|
|
3
|
+
<!-- Generated from docs/docs/plugins/lightbox.ja.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
|
|
4
|
+
|
|
3
5
|
記事内の画像をクリックすると、拡大表示用のダイアログを開くプラグインです。
|
|
4
6
|
|
|
5
7
|
[English](./README.md)
|
|
@@ -46,5 +48,4 @@ export default defineConfig({
|
|
|
46
48
|
|
|
47
49
|
## 関連資料
|
|
48
50
|
|
|
49
|
-
- [プラグインシステム](
|
|
50
|
-
|
|
51
|
+
- [プラグインシステム](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/reference/plugin-api.ja.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/plugin-lightbox",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"./style.css": "./style.css"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@riebeckite/core": "0.0.
|
|
24
|
+
"@riebeckite/core": "0.0.22"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
package/style.css
CHANGED
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
display: grid;
|
|
24
24
|
place-items: center;
|
|
25
25
|
padding: 24px;
|
|
26
|
-
background:
|
|
27
|
-
color: var(--rb-color-
|
|
26
|
+
background: var(--rb-color-overlay, rgb(0 0 0 / 0.6));
|
|
27
|
+
color: var(--rb-color-ink, #ffffff);
|
|
28
28
|
cursor: zoom-out;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
max-width: 100%;
|
|
41
41
|
max-height: calc(100vh - 120px);
|
|
42
42
|
object-fit: contain;
|
|
43
|
-
border: 1px solid var(--rb-color-
|
|
43
|
+
border: 1px solid var(--rb-color-surface, #ffffff);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.rr-lightbox__caption {
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
right: 16px;
|
|
56
56
|
width: 48px;
|
|
57
57
|
height: 48px;
|
|
58
|
-
border: 1px solid var(--rb-color-
|
|
58
|
+
border: 1px solid var(--rb-color-border, #ffffff);
|
|
59
59
|
border-radius: 0;
|
|
60
|
-
background: var(--rb-color-
|
|
61
|
-
color: var(--rb-color-
|
|
60
|
+
background: var(--rb-color-surface, #000000);
|
|
61
|
+
color: var(--rb-color-ink, #ffffff);
|
|
62
62
|
font: inherit;
|
|
63
63
|
font-size: 24px;
|
|
64
64
|
line-height: 1;
|