@riebeckite/theme-folio 0.0.35 → 0.0.37
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 +14 -2
- package/README_ja.md +14 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,6 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
`@riebeckite/theme-folio` provides the official **Folio** theme. Its theme identity is `folio`. A spacious portfolio-style theme with editorial framing.
|
|
10
10
|
|
|
11
|
+
## Rendered example
|
|
12
|
+
|
|
13
|
+
**Light**
|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
**Dark**
|
|
18
|
+
|
|
19
|
+

|
|
20
|
+
|
|
11
21
|
## Installation
|
|
12
22
|
|
|
13
23
|
```sh
|
|
@@ -34,7 +44,7 @@ export default defineConfig({
|
|
|
34
44
|
| --- | --- | --- |
|
|
35
45
|
| `colorMode` | `"light"`, `"dark"`, `"system"` | Chooses the color mode. `"system"` follows the browser preference. |
|
|
36
46
|
| `layout` | `"article"`, `"sidebar"`, `"full-width"` | Chooses the page layout. |
|
|
37
|
-
| `preset` |
|
|
47
|
+
| `preset` | `reading` | Applies a named set of theme settings before explicit `settings`. |
|
|
38
48
|
| `settings` | object | Overrides the settings listed below. Unknown keys and invalid values are rejected. |
|
|
39
49
|
| `stylesheets` | string array | Loads site-owned stylesheets after the theme CSS. |
|
|
40
50
|
|
|
@@ -55,7 +65,9 @@ Resolution order is schema defaults, then the selected preset, then explicit `se
|
|
|
55
65
|
|
|
56
66
|
## Presets
|
|
57
67
|
|
|
58
|
-
|
|
68
|
+
| Preset | Label | Applied settings |
|
|
69
|
+
| --- | --- | --- |
|
|
70
|
+
| `reading` | Reading | `{ typography: "serif" }` |
|
|
59
71
|
|
|
60
72
|
## CSS and attributes
|
|
61
73
|
|
package/README_ja.md
CHANGED
|
@@ -8,6 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
`@riebeckite/theme-folio` は公式テーマ **Folio** を提供します。テーマ ID は `folio` です。エディトリアルな枠組みを持つ、余白の広いポートフォリオ風テーマです。
|
|
10
10
|
|
|
11
|
+
## 実際の表示例
|
|
12
|
+
|
|
13
|
+
**ライト**
|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
**ダーク**
|
|
18
|
+
|
|
19
|
+

|
|
20
|
+
|
|
11
21
|
## インストール
|
|
12
22
|
|
|
13
23
|
```sh
|
|
@@ -34,7 +44,7 @@ export default defineConfig({
|
|
|
34
44
|
| --- | --- | --- |
|
|
35
45
|
| `colorMode` | `"light"`、`"dark"`、`"system"` | カラーモードを選びます。`"system"` はブラウザの設定に従います。 |
|
|
36
46
|
| `layout` | `"article"`、`"sidebar"`、`"full-width"` | ページレイアウトを選びます。 |
|
|
37
|
-
| `preset` |
|
|
47
|
+
| `preset` | `reading` | 明示した `settings` より先に、名前付きのテーマ設定セットを適用します。 |
|
|
38
48
|
| `settings` | object | 下記の設定を上書きします。不明なキーや不正な値は拒否されます。 |
|
|
39
49
|
| `stylesheets` | string array | テーマ CSS の後にサイト固有のスタイルシートを読み込みます。 |
|
|
40
50
|
|
|
@@ -55,7 +65,9 @@ export default defineConfig({
|
|
|
55
65
|
|
|
56
66
|
## プリセット
|
|
57
67
|
|
|
58
|
-
|
|
68
|
+
| プリセット | ラベル | 適用する設定 |
|
|
69
|
+
| --- | --- | --- |
|
|
70
|
+
| `reading` | Reading | `{ typography: "serif" }` |
|
|
59
71
|
|
|
60
72
|
## CSS と属性
|
|
61
73
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/theme-folio",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
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.37"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"access": "public"
|