@riebeckite/theme-folio 0.0.36 → 0.0.38

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
@@ -44,7 +44,7 @@ export default defineConfig({
44
44
  | --- | --- | --- |
45
45
  | `colorMode` | `"light"`, `"dark"`, `"system"` | Chooses the color mode. `"system"` follows the browser preference. |
46
46
  | `layout` | `"article"`, `"sidebar"`, `"full-width"` | Chooses the page layout. |
47
- | `preset` | — | This theme does not define presets. |
47
+ | `preset` | `reading` | Applies a named set of theme settings before explicit `settings`. |
48
48
  | `settings` | object | Overrides the settings listed below. Unknown keys and invalid values are rejected. |
49
49
  | `stylesheets` | string array | Loads site-owned stylesheets after the theme CSS. |
50
50
 
@@ -65,7 +65,9 @@ Resolution order is schema defaults, then the selected preset, then explicit `se
65
65
 
66
66
  ## Presets
67
67
 
68
- This theme does not define presets.
68
+ | Preset | Label | Applied settings |
69
+ | --- | --- | --- |
70
+ | `reading` | Reading | `{ typography: "serif" }` |
69
71
 
70
72
  ## CSS and attributes
71
73
 
package/README_ja.md CHANGED
@@ -44,7 +44,7 @@ export default defineConfig({
44
44
  | --- | --- | --- |
45
45
  | `colorMode` | `"light"`、`"dark"`、`"system"` | カラーモードを選びます。`"system"` はブラウザの設定に従います。 |
46
46
  | `layout` | `"article"`、`"sidebar"`、`"full-width"` | ページレイアウトを選びます。 |
47
- | `preset` | — | このテーマにはプリセットがありません。 |
47
+ | `preset` | `reading` | 明示した `settings` より先に、名前付きのテーマ設定セットを適用します。 |
48
48
  | `settings` | object | 下記の設定を上書きします。不明なキーや不正な値は拒否されます。 |
49
49
  | `stylesheets` | string array | テーマ CSS の後にサイト固有のスタイルシートを読み込みます。 |
50
50
 
@@ -65,7 +65,9 @@ export default defineConfig({
65
65
 
66
66
  ## プリセット
67
67
 
68
- このテーマにはプリセットがありません。
68
+ | プリセット | ラベル | 適用する設定 |
69
+ | --- | --- | --- |
70
+ | `reading` | Reading | `{ typography: "serif" }` |
69
71
 
70
72
  ## CSS と属性
71
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/theme-folio",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
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.36"
19
+ "@riebeckite/core": "0.0.38"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"