@riebeckite/theme-sakura 0.0.27 → 0.0.28
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_ja.md +6 -6
- package/package.json +2 -2
- package/styles/theme.css +0 -5
package/README_ja.md
CHANGED
|
@@ -27,10 +27,10 @@ export default defineConfig({
|
|
|
27
27
|
|
|
28
28
|
色だけでなく、誌面そのものに次のような性格を持たせています。
|
|
29
29
|
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
30
|
+
- **セリフ体の本文と見出し**:欧文はセルフホストの可変フォント Source Serif 4、和文はシステムの明朝体(`Hiragino Mincho ProN`、`Yu Mincho`、`Noto Serif JP`)にフォールバックします。行間は 1.9 でゆったりと組みます。
|
|
31
|
+
- **角丸の静かな面**:コードブロック、コールアウト、表、引用、カードは `roundness` に応じた角丸にします。影は画像など、本当に浮かせたい要素だけに控えめに使います。
|
|
32
|
+
- **桜のアクセント**:リンク、リストのマーカー、引用のライン、コールアウト、`h2` の下の短い罫線などにアクセント色を効かせます。読みやすさを損なわない範囲に留めています。
|
|
33
|
+
- **見出しの飾り**:`heading` で `h2` の飾り罫を出し分けられます。
|
|
34
34
|
|
|
35
35
|
## 変更できる項目
|
|
36
36
|
|
|
@@ -72,8 +72,8 @@ export default defineConfig({
|
|
|
72
72
|
npm install @riebeckite/theme-sakura
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
Theme の factory
|
|
75
|
+
Theme の factory 名と設定項目は、実装とこのページを一次情報として確認してください。`riebeckite.config.ts` の `theme` に設定して利用します。
|
|
76
76
|
|
|
77
77
|
## 詳細仕様
|
|
78
78
|
|
|
79
|
-
設定項目や Theme 固有の仕様は
|
|
79
|
+
設定項目や Theme 固有の仕様は このページを参照してください。Theme の仕組みは [Theme System](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/framework/theme-system.ja.md)、Theme を作る場合は [Writing a Theme](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/themes/writing-a-theme.ja.md) を参照してください。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/theme-sakura",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
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.
|
|
19
|
+
"@riebeckite/core": "0.0.28"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"access": "public"
|
package/styles/theme.css
CHANGED
|
@@ -446,11 +446,6 @@
|
|
|
446
446
|
overflow: hidden;
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
-
:is(:root, .rb-theme-root)[data-theme-name="sakura"]
|
|
450
|
-
.rr-code:not([data-terminal="true"]) {
|
|
451
|
-
--rr-code-paper: var(--rb-color-code-background);
|
|
452
|
-
}
|
|
453
|
-
|
|
454
449
|
:is(:root, .rb-theme-root)[data-theme-name="sakura"] .rr-code-tabs {
|
|
455
450
|
border-radius: var(--rb-sakura-radius);
|
|
456
451
|
overflow: hidden;
|