egatari 0.6.12 → 0.6.13

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.
Files changed (107) hide show
  1. package/CHANGELOG.md +30 -1
  2. package/README.ja.md +2 -2
  3. package/README.md +2 -2
  4. package/bin/egatari.mjs +3 -1
  5. package/components.lock.json +141 -51
  6. package/components2.lock.json +500 -1
  7. package/kit/browser.mjs +19 -7
  8. package/kit/check-messages.mjs +2 -0
  9. package/kit/check.mjs +2 -0
  10. package/kit/core/article-links.mjs +5 -4
  11. package/kit/core/article-messages.mjs +6 -1
  12. package/kit/core/article-render.mjs +61 -42
  13. package/kit/core/article-text.mjs +42 -1
  14. package/kit/core/article.mjs +7 -6
  15. package/kit/core/build-core.mjs +4 -0
  16. package/kit/core/caution.mjs +49 -0
  17. package/kit/core/check-parity.mjs +1 -0
  18. package/kit/core/check-rules.mjs +3 -0
  19. package/kit/core/check-source.mjs +2 -0
  20. package/kit/core/colab-core.mjs +1 -1
  21. package/kit/core/llm-pack-assemble.mjs +4 -3
  22. package/kit/core/llm-pack-data.mjs +124 -10
  23. package/kit/core/part-labels.mjs +3 -0
  24. package/kit/core/purposes.mjs +6 -8
  25. package/kit/instruction-version.json +1 -1
  26. package/kit/layouts.css +8 -1
  27. package/kit/player.json +1 -1
  28. package/kit/player.lock.json +2 -2
  29. package/package.json +1 -1
  30. package/themes/asagi/theme.json +1 -1
  31. package/themes/asagi/tokens.css +2 -0
  32. package/themes/bengara/theme.json +1 -1
  33. package/themes/bengara/tokens.css +2 -0
  34. package/themes/business/theme.json +1 -1
  35. package/themes/business/tokens.css +2 -0
  36. package/themes/default/theme.json +1 -1
  37. package/themes/default/tokens.css +2 -0
  38. package/themes/kogecha/theme.json +1 -1
  39. package/themes/kogecha/tokens.css +2 -0
  40. package/themes/kokugo/theme.json +1 -1
  41. package/themes/kokugo/tokens.css +2 -0
  42. package/themes/murasaki/theme.json +1 -1
  43. package/themes/murasaki/tokens.css +2 -0
  44. package/themes/sumi/theme.json +1 -1
  45. package/themes/sumi/tokens.css +2 -0
  46. package/themes/tokiwa/theme.json +1 -1
  47. package/themes/tokiwa/tokens.css +2 -0
  48. package/themes.lock.json +92 -28
  49. package/vendor/components/CATALOG.md +6 -3
  50. package/vendor/components/sha256/061415b5f5a1861e115103224ebbcaf689b602cd9972516001f50f4646d3692a/README.en.md +33 -0
  51. package/vendor/components/sha256/061415b5f5a1861e115103224ebbcaf689b602cd9972516001f50f4646d3692a/index.js +390 -0
  52. package/vendor/components/sha256/1854c2d9091a44f465a8de71de2ef3cfa26de3750c67aba4d0ab6eef9b826b8c/README.en.md +21 -0
  53. package/vendor/components/sha256/1854c2d9091a44f465a8de71de2ef3cfa26de3750c67aba4d0ab6eef9b826b8c/index.js +108 -0
  54. package/vendor/components/sha256/19803bbabc26cab7937b17c101f0529239ad505e2ef72a5b21c5d0b9afb063b5/README.en.md +35 -0
  55. package/vendor/components/sha256/19803bbabc26cab7937b17c101f0529239ad505e2ef72a5b21c5d0b9afb063b5/index.js +179 -0
  56. package/vendor/components/sha256/1fac9a4c6608f0150a51275fb11bad0dcff00bed1696c2d93d150fa97219e41a/README.en.md +23 -0
  57. package/vendor/components/sha256/1fac9a4c6608f0150a51275fb11bad0dcff00bed1696c2d93d150fa97219e41a/index.js +147 -0
  58. package/vendor/components/sha256/24e433f4e96427b5b4625ea6542ae74393a8610a9e3d331d01481b3185c827d4/README.en.md +66 -0
  59. package/vendor/components/sha256/24e433f4e96427b5b4625ea6542ae74393a8610a9e3d331d01481b3185c827d4/index.js +984 -0
  60. package/vendor/components/sha256/336f518ad98df0700348406a1fcc4a2de6843b68de0d2e6fcb2cf92428cc3f32/index.js +121 -0
  61. package/vendor/components/sha256/362590bb028486c9b92c90b0c04bb21c9989b7da1b9d234f0d3c26093770eb52/index.js +228 -0
  62. package/vendor/components/sha256/3c79d2605e1949c302a5e190dab3d12812e548af7d66e80dd73dc517dfa1ae3d/index.js +268 -0
  63. package/vendor/components/sha256/4526a332a77fce02370c58d6acd2b83777bfac10aca91e304f105ca2d6935e21/README.en.md +40 -0
  64. package/vendor/components/sha256/4526a332a77fce02370c58d6acd2b83777bfac10aca91e304f105ca2d6935e21/index.js +405 -0
  65. package/vendor/components/sha256/46fd8b2bfa296e18d7720dec9c9639421fb02cec1b641e50e2cadefcc3945675/README.en.md +31 -0
  66. package/vendor/components/sha256/46fd8b2bfa296e18d7720dec9c9639421fb02cec1b641e50e2cadefcc3945675/index.js +236 -0
  67. package/vendor/components/sha256/49fc5add9b34d9a34fcf9ffa3772da4a36d054feead033a7212b98ce1e18705d/index.js +465 -0
  68. package/vendor/components/sha256/4bedc6e22490461bb624d1801954aed230e9f47e393d2a9779c89c4c6483ab3e/README.en.md +42 -0
  69. package/vendor/components/sha256/4bedc6e22490461bb624d1801954aed230e9f47e393d2a9779c89c4c6483ab3e/index.js +549 -0
  70. package/vendor/components/sha256/5b3a29cd3ad1c572ba2864430fde589a0fa90f5a7cf6c8753ccfc97dd16d99f3/README.en.md +37 -0
  71. package/vendor/components/sha256/5b3a29cd3ad1c572ba2864430fde589a0fa90f5a7cf6c8753ccfc97dd16d99f3/index.js +501 -0
  72. package/vendor/components/sha256/6e9d8d26ba0427f26a8143ecaf1ff3a3fec1a6cb114ef5feed15a62f6a6e77c2/README.en.md +54 -0
  73. package/vendor/components/sha256/6e9d8d26ba0427f26a8143ecaf1ff3a3fec1a6cb114ef5feed15a62f6a6e77c2/index.js +470 -0
  74. package/vendor/components/sha256/9ffe48f7c39657aacbbca355c8268a4682f306c0e453bdd73b69c3ed7e0cb030/README.en.md +30 -0
  75. package/vendor/components/sha256/9ffe48f7c39657aacbbca355c8268a4682f306c0e453bdd73b69c3ed7e0cb030/index.js +192 -0
  76. package/vendor/components/sha256/a04ba1b59cae0406ad91c64da77df1f77d0ae6fb5629da4549452f68b926a20b/index.js +315 -0
  77. package/vendor/components/sha256/c129c1c6c5df8ddafed87ea41fe6f9fc03784b2904059321f970d16ff3238bf8/index.js +312 -0
  78. package/vendor/components/sha256/d831672acd189fd9e6bd294bdbceab539f4b2dc4ec0415e776a9fe740c499544/index.js +97 -0
  79. package/vendor/components/sha256/dc5d9e6da444ef49ac343c870271c6679601040bf3a38a389a7991ffd39dd0fc/index.js +607 -0
  80. package/vendor/components/sha256/deae02519dd79e53cf18137777d486cb3b3234ab02a71d26c4e2925593b047ba/LICENSE-tabler.txt +21 -0
  81. package/vendor/components/sha256/deae02519dd79e53cf18137777d486cb3b3234ab02a71d26c4e2925593b047ba/index.js +4868 -0
  82. package/vendor/components/sha256/deae02519dd79e53cf18137777d486cb3b3234ab02a71d26c4e2925593b047ba/names.txt +4808 -0
  83. package/vendor/components/sha256/e76667b8fbaeb6c5d05ada81b2230f21388e2e68f3437034d2a54ead1c8ccbef/README.en.md +32 -0
  84. package/vendor/components/sha256/e76667b8fbaeb6c5d05ada81b2230f21388e2e68f3437034d2a54ead1c8ccbef/index.js +222 -0
  85. package/vendor/components-2/manifest-2.9.0.json +2204 -0
  86. package/vendor/components-2/manifest-2.9.1.json +2204 -0
  87. package/vendor/egatari-spec/SOURCE.json +3 -3
  88. package/vendor/themes/asagi/1.3.0/theme.json +14 -0
  89. package/vendor/themes/asagi/1.3.0/tokens.css +36 -0
  90. package/vendor/themes/bengara/1.0.0/theme.json +13 -0
  91. package/vendor/themes/bengara/1.0.0/tokens.css +66 -0
  92. package/vendor/themes/business/1.3.0/theme.json +5 -0
  93. package/vendor/themes/business/1.3.0/tokens.css +47 -0
  94. package/vendor/themes/default/1.5.0/README.ja.md +65 -0
  95. package/vendor/themes/default/1.5.0/README.md +65 -0
  96. package/vendor/themes/default/1.5.0/theme.json +4 -0
  97. package/vendor/themes/default/1.5.0/tokens.css +95 -0
  98. package/vendor/themes/kogecha/1.3.0/theme.json +10 -0
  99. package/vendor/themes/kogecha/1.3.0/tokens.css +35 -0
  100. package/vendor/themes/kokugo/1.3.0/theme.json +5 -0
  101. package/vendor/themes/kokugo/1.3.0/tokens.css +31 -0
  102. package/vendor/themes/murasaki/1.3.0/theme.json +10 -0
  103. package/vendor/themes/murasaki/1.3.0/tokens.css +31 -0
  104. package/vendor/themes/sumi/1.3.0/theme.json +10 -0
  105. package/vendor/themes/sumi/1.3.0/tokens.css +57 -0
  106. package/vendor/themes/tokiwa/1.3.0/theme.json +10 -0
  107. package/vendor/themes/tokiwa/1.3.0/tokens.css +33 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "repository": "https://github.com/egatari/egatari-spec",
3
- "commit": "6d93c4972d8f1afad47fe1c96f5068848afab4bb",
4
- "snapshot": "wd-2026-11-10",
5
- "files": 224,
3
+ "commit": "30525bff6b0359840cdfb1aa6b63b8157b31da55",
4
+ "snapshot": "wd-2026-11-15",
5
+ "files": 236,
6
6
  "note": "Copied by tools/sync-spec.mjs. Do not edit; change the spec repository and sync again."
7
7
  }
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "asagi",
3
+ "extends": "default",
4
+ "version": "1.3.0",
5
+ "fonts": {
6
+ "body": "Zen Maru Gothic",
7
+ "heading": "Zen Maru Gothic"
8
+ },
9
+ "look": {
10
+ "heading": "soft",
11
+ "cover": "circle",
12
+ "concl": "rounded"
13
+ }
14
+ }
@@ -0,0 +1,36 @@
1
+ /* 浅葱(asagi):くすんだ浅葱に丸ゴシック(Zen Maru Gothic、OFL。組み立てが使う字だけを埋め込む:theme.json の fonts)、淡い地。
2
+ 小学校・広報・案内向け。見出しは淡い地の角丸、結論の行も角丸、表紙の右上に大きな丸。形は kit/core/theme-shapes.mjs の断片(theme.json の look) */
3
+ :root{
4
+ --base: #1d6a85; /* 浅葱(白地 5.8:1) */
5
+ --bg: #fbfaf6;
6
+ --cover-bg: #eaf3f5;
7
+ --font-sans: "Zen Maru Gothic", "BIZ UDPGothic", sans-serif;
8
+ --lit: #FFCE3A; /* 光と照らされる側。明るい黄(淡い地 1.4:1。1.1.0) */
9
+ /* 物の色(format spec §8.4):内容そのものである色。小学校・広報向けに少し明るく。名前か頭文字を添え、白・黒と地に近い色には輪郭線。1.2.0 */
10
+ --obj-white: #FFFFFF;
11
+ --obj-black: #262626;
12
+ --obj-red: #E8383D;
13
+ --obj-green: #36A852;
14
+ --obj-yellow: #FFDC1E;
15
+ --obj-blue: #2B7BE0;
16
+ --obj-brown: #915F33;
17
+ --obj-purple: #9650B8;
18
+ --obj-pink: #F58CBC;
19
+ --obj-orange: #F59A23;
20
+ --obj-gray: #949494;
21
+ /* 量の色の段(format spec §8.4。#200):低→高の 5 段(ヒートマップ・密度・速さ)。基調色の色相で、OKLCH の明るさが単調に下がり、--ramp-5 は地と 8.0:1(3:1 以上)。分類や意味には使わない。1.3.0 */
22
+ --ramp-1: #D5ECF7;
23
+ --ramp-2: #9DC9DB;
24
+ --ramp-3: #62A2BD;
25
+ --ramp-4: #277C9A;
26
+ --ramp-5: #02556E;
27
+ }
28
+ /* look heading: soft */
29
+ .slide:not(.cover):not(.sec):not(.layout-tate) > h2{border-bottom:0;background:var(--base-wash);border-radius:16px;padding:8px 22px}
30
+ /* /look */
31
+ /* look cover: circle */
32
+ .slide.cover::before{left:auto;right:-80px;top:-80px;width:300px;height:300px;border-radius:50%;background:var(--base-tint)}
33
+ /* /look */
34
+ /* look concl: rounded */
35
+ .slide:not(.layout-tate) .concl{border:2.3px solid var(--emph);border-radius:36px;padding-left:24px}
36
+ /* /look */
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "bengara",
3
+ "extends": "default",
4
+ "version": "1.0.0",
5
+ "fonts": {
6
+ "heading": "Fraunces"
7
+ },
8
+ "look": {
9
+ "heading": "underline",
10
+ "cover": "top-band",
11
+ "concl": "rule"
12
+ }
13
+ }
@@ -0,0 +1,66 @@
1
+ /* 弁柄(bengara):暖かい紙の地に深い墨の字、強調は弁柄の 1 色だけ。見出しは表示用のセリフ Fraunces(OFL。ラテン文字)と
2
+ BIZ UDP明朝(日本語)、本文は既定の BIZ UDPゴシック。飾りは細い線だけにして余白を広く見せる(箱の位置と大きさは既定のまま)。
3
+ 結論の行は枠も地もなく、上に弁柄の線(look concl: rule)。のちの背景の画像(#141)の字の下に敷く半透明の地 --scrim を持つ。#195 */
4
+ :root{
5
+ --base: #26364A; /* 墨の藍。用語・補足(紙の地 11.0:1) */
6
+ --emph: #A3361C; /* 弁柄。結論・問題(紙の地 6.1:1)。強調はこの 1 色だけ */
7
+ --accent2: #3F6468; /* 2 つ目の系列。くすんだ青緑(紙の地 5.8:1) */
8
+ --fg: #24211D; /* 深い墨(紙の地 14.4:1) */
9
+ --bg: #F7F2E7; /* 暖かい紙 */
10
+ --muted: #5E574E; /* 温かい灰(紙の地 6.4:1) */
11
+ --line: #D6CCBA;
12
+ --title: #24211D;
13
+ --rule: #3A352E; /* 見出しの下の線は墨(強調の色を飾りに使わない) */
14
+ --cover-bg: #F1EADB;
15
+ --sec-bg: #26364A;
16
+ --sec-fg: #F7F2E7;
17
+ --concl-bg: #F7F2E7; /* 結論の行は地のまま(枠も地もない。上の線と太字で示す) */
18
+ --base-tint: #D9DCDD;
19
+ --base-wash: #EFEBE2;
20
+ --term-tint: #EFEBE2;
21
+ --emph-tint: #F2E2D8;
22
+ --comp-tint: #E6DCC9;
23
+ --series-1: var(--base);
24
+ --series-2: var(--emph);
25
+ --series-3: var(--accent2);
26
+ --series-4: #8C8478;
27
+ --kicker-color: var(--emph);
28
+ --font-display: "Fraunces", var(--font-mincho);
29
+ /* 背景の画像(#141)の上の字の下に敷く、紙の色の半透明の地(強いほうは小さな字や細い線の下に) */
30
+ --scrim: rgba(247, 242, 231, .86);
31
+ --scrim-strong: rgba(247, 242, 231, .94);
32
+ --lit: #F2B705; /* 光と照らされる側。山吹(紙の地 1.7:1。字の色ではなく、輪郭線と一緒に描く) */
33
+ /* 物の色(format spec §8.4):内容そのものである色。default と同じ値(どのテーマでも赤い玉は同じ赤)。名前か頭文字を添え、白・黒と地に近い色には輪郭線 */
34
+ --obj-white: #FFFFFF;
35
+ --obj-black: #222222;
36
+ --obj-red: #E0242B;
37
+ --obj-green: #2E9E44;
38
+ --obj-yellow: #F5D90A;
39
+ --obj-blue: #1E6FD9;
40
+ --obj-brown: #8B5A2B;
41
+ --obj-purple: #8E44AD;
42
+ --obj-pink: #F27BB0;
43
+ --obj-orange: #F28C1A;
44
+ --obj-gray: #8C8C8C;
45
+ /* 量の色の段(format spec §8.4。#200):低→高の 5 段(ヒートマップ・密度・速さ)。基調色の色相で、OKLCH の明るさが単調に下がり、--ramp-5 は地と 7.5:1(3:1 以上)。分類や意味には使わない。1.0.0 */
46
+ --ramp-1: #E2E9F2;
47
+ --ramp-2: #B6C2D2;
48
+ --ramp-3: #899AB0;
49
+ --ramp-4: #60738C;
50
+ --ramp-5: #3B4F67;
51
+ }
52
+ @supports (color: color-mix(in oklch, red 10%, white)){
53
+ :root{
54
+ --base-tint: color-mix(in oklch, var(--base) 16%, var(--bg));
55
+ --base-wash: color-mix(in oklch, var(--base) 5%, var(--bg));
56
+ --term-tint: color-mix(in oklch, var(--base) 5%, var(--bg));
57
+ --emph-tint: color-mix(in oklch, var(--emph) 10%, var(--bg));
58
+ --scrim: color-mix(in srgb, var(--bg) 86%, transparent);
59
+ --scrim-strong: color-mix(in srgb, var(--bg) 94%, transparent);
60
+ }
61
+ }
62
+ /* 見出しの字:ラテン文字は Fraunces、日本語は BIZ UDP明朝(字ごとに後ろの字体へ) */
63
+ .slide h2,.cover h1,.sec h1,.sec h2{font-family:var(--font-display);font-variant-numeric:lining-nums} /* Fraunces の既定の数字は高さのそろわない形:見出しの「3」が沈まないように */
64
+ /* look concl: rule */
65
+ .slide:not(.layout-tate) .concl{left:48px;border:0;border-top:2px solid var(--emph);border-radius:0;background:transparent;justify-content:flex-start;padding-left:0}
66
+ /* /look */
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "business",
3
+ "extends": "default",
4
+ "version": "1.3.0"
5
+ }
@@ -0,0 +1,47 @@
1
+ /* ビジネス・ピッチ向けの中立テーマ(business)。機関のロゴを持たない
2
+ 紺の基調色に、結論・強調は橙、3 つ目の系列は青緑。遠くからでも読めるように、文字は黒に近い濃い灰、
3
+ 細い線と淡色は少し濃くする。字は既定の BIZ UDPゴシック(default と同じ) */
4
+ :root{
5
+ --base: #1b3a5c; /* 紺 */
6
+ --emph: #ba3c05; /* 橙(白地 5.6:1、淡い橙の地 --emph-tint の上でも 4.66:1。1.0.1) */
7
+ --accent2: #0f6e6a; /* 青緑。3 つ目の系列 */
8
+ --fg: #1c2530;
9
+ --muted: #5b6573; /* 白地とのコントラスト 5.8:1 */
10
+ --line: #c3cad3;
11
+ --title: var(--base);
12
+ --rule: var(--emph); /* 見出しの下線は橙 */
13
+ --concl-bg: #fdf3ec; /* 結論の行は淡い橙の地 */
14
+ --cover-bg: #f2f5f8;
15
+ --sec-bg: var(--base);
16
+ --stage-bg: #1e2329;
17
+ --series-1: var(--base);
18
+ --series-2: var(--emph);
19
+ --series-3: var(--accent2);
20
+ --series-4: var(--muted);
21
+ --lit: #F2C300; /* 光と照らされる側。黄(橙の --emph と分かれるよう赤みを抑えた。白地 1.7:1。1.1.0) */
22
+ /* 物の色(format spec §8.4):内容そのものである色。default と同じ値(どのテーマでも赤い玉は同じ赤)。名前か頭文字を添え、白・黒と地に近い色には輪郭線。1.2.0 */
23
+ --obj-white: #FFFFFF;
24
+ --obj-black: #222222;
25
+ --obj-red: #E0242B;
26
+ --obj-green: #2E9E44;
27
+ --obj-yellow: #F5D90A;
28
+ --obj-blue: #1E6FD9;
29
+ --obj-brown: #8B5A2B;
30
+ --obj-purple: #8E44AD;
31
+ --obj-pink: #F27BB0;
32
+ --obj-orange: #F28C1A;
33
+ --obj-gray: #8C8C8C;
34
+ /* 量の色の段(format spec §8.4。#200):低→高の 5 段(ヒートマップ・密度・速さ)。基調色の色相で、OKLCH の明るさが単調に下がり、--ramp-5 は地と 8.4:1(3:1 以上)。分類や意味には使わない。1.3.0 */
35
+ --ramp-1: #DDE9F8;
36
+ --ramp-2: #ADC3DE;
37
+ --ramp-3: #7C9BC0;
38
+ --ramp-4: #50749E;
39
+ --ramp-5: #2A4F78;
40
+ }
41
+ @supports (color: color-mix(in oklch, red 10%, white)){
42
+ :root{
43
+ --term-tint: color-mix(in oklch, var(--base) 9%, white);
44
+ --emph-tint: color-mix(in oklch, var(--emph) 13%, white);
45
+ --concl-bg: color-mix(in oklch, var(--emph) 6%, white);
46
+ }
47
+ }
@@ -0,0 +1,65 @@
1
+ <!-- i18n: pair=README.md sha256=76e9a45733d2970d -->
2
+ # テーマ `default`
3
+
4
+ [English](README.md)
5
+
6
+ 同梱の既定のテーマ。版は `theme.json` にあり、前の版は `vendor/themes/default/<版>/` に残して `themes.lock.json` に載せる([リファレンス](../../docs/reference.ja.md#テーマ)「テーマの版」)。組み立てが読むのは `theme.json` と `tokens.css` だけで、このファイルはテーマの hash に入らない。
7
+
8
+ ## この色にした理由(1.1.0)
9
+
10
+ | token | 値 | 白地 | 役割 |
11
+ |---|---|---|---|
12
+ | `--emph` | `#BE3012` | 5.80:1(WCAG AA) | 結論・問題・目標 |
13
+ | `--muted` | `#5C5853` | 7.06:1(WCAG AAA の水準) | 既知の結果・比較の相手・図の説明・引用 |
14
+ | `--fg` | `#222222` | 15.91:1 | 本文(墨) |
15
+
16
+ - **`--emph` `#BE3012`。** カラーユニバーサルデザイン(CUD)が P 型・D 型の色覚の人のために勧める、黄み(橙)寄りの赤を、文字に使える濃さにしたもの。白地 5.80:1 で WCAG AA を満たす。1 型色覚の模擬で墨との CIEDE2000 の色差は 22.5 から 26.0 に上がり、結論の行が本文と同じ黒に見えにくい。前の臙脂 `#C50516`(1.0.0、`oklch(0.52 0.21 27)`)は青みに寄っていて、CUD が避けるよう勧める側だった。意図して選んだ色ではなかった。
17
+ - **`--muted` `#5C5853`。** 白地 7.06:1(WCAG AAA の水準)。教室の光で黒が浮くプロジェクターでも、小さい字(`.cite`・`.figcap`)でも読める。引き換えに墨との色差は小さくなる(CIEDE2000 25.6 → 18.2)。灰の字は色だけでなく役割と位置(図の説明・引用・比べる相手の結果)でも墨と分かれるので、これでよいとした。
18
+ - これらの token を書かずに `default` を継ぐテーマは、そのまま受け継ぐ。`kokugo` は自分の赤(`--emph-hue: 38`)のまま、新しい灰を継ぐ。
19
+
20
+ ## 結論の行(1.2.0)
21
+
22
+ @totasuko-lab さんの plain テーマの提案から(1.1.0 は色だけを取り入れた)。結論の行は、色だけに頼らないように(WCAG 1.4.1)4 つの手がかりで示す:左の `--emph` の 5px の縦線、決まった位置(上端 571px・高さ 72px。前と同じ)、太字、淡い地 `--concl-bg`。字は枠の中央でなく、縦線から左揃えにする。縦組み(`layout-tate`)の結論の列は今までの枠のまま。
23
+
24
+ | `--concl-bg` の候補 | `--emph` の字 | `--fg` の字 | 白地との差 | `--emph` の字(白飛び 15%) |
25
+ |---|---|---|---|---|
26
+ | `#FFFFFF`(1.1.0。透明) | 5.80:1 | 15.91:1 | 1.00(なし) | 3.37:1 |
27
+ | **`#F5F5F5`**(採用) | **5.32:1** | **14.59:1** | 1.09、ΔE00 2.0 | 3.13:1 |
28
+ | `#F6F3EF`(提案の生成り) | 5.24:1 | 14.38:1 | 1.11、ΔE00 3.2(白黒では 2.3) | 3.10:1 |
29
+
30
+ - **`--concl-bg` `#F5F5F5`。** 無彩の灰は色相を持たないので、どの型の色覚でも白黒の印刷でも同じに見え、行の帯がどこでも同じ程度に分かる。手がかりは縦線と太字が担うので、地はかろうじて見えれば足りる。行が分かる地のうちで、字のコントラストを最も落とさない(`--emph` 5.32:1。大きさによらず AA)。生成り `#F6F3EF` は色のある画面では少し目立つが、白黒では色の見た目ほど分かれず、コントラストも余計に落とす。
31
+ - `default` を継ぐテーマは形を受け継ぐ。`kokugo` は自分の赤の縦線と灰の地、`business` は自分の淡い橙の `--concl-bg` のまま。
32
+
33
+ ## 光:`--lit`(1.3.0)
34
+
35
+ `--lit` は光と、光が照らすもの(太陽・灯り・月の明るい側。format spec §8.4)の役割。塗りの色で、字の色には使わず、いつも `--fg` か `--muted` の輪郭線と一緒に描く。
36
+
37
+ | 変数 | 値 | 白地 | 色覚の模擬での `--emph` との差(ΔE*ab 3 色型/1 型/2 型/3 型、ΔE00) |
38
+ |---|---|---|---|
39
+ | `--lit` | `#F5B800` | 1.79:1 | 65/55/42/54、44.4/39.8/28.3/30.7 |
40
+
41
+ - **`--lit` `#F5B800`。** 日の光や灯りの色として思い浮かぶ、少し山吹寄りの暖かい黄。白地では淡い(1.79:1)ので、形は輪郭線が見せる。WCAG 1.4.11 の 3:1 は塗りではなく輪郭線が満たす。模擬した 4 つの色覚の型のどれでも、`--emph` との差が `--emph` と `--term` と同じ線を越える(`node tools/test-themes.mjs`)ので、太陽と結論を取り違えない。
42
+ - 同梱のテーマはそれぞれ自分の `--lit` を持つ(配色に合う暖かい黄。`sumi` と `business` は橙の `--emph` から離した)。`default` を継ぐテーマで宣言しないものは `#F5B800` を受け継ぐ。
43
+
44
+ ## 物の色:`--obj-*`(1.4.0)
45
+
46
+ `--obj-white` … `--obj-gray` は 11 の基本色名で、色そのものが内容である色に使う:袋の中の赤い玉、青のリトマス紙、青信号(format spec §8.4)。塗りの色で、物の上か横に色の名前か頭文字(「赤」、"R")を添え、色だけで伝えない(たとえば赤と緑は多くの人に似て見える)。白・黒と地に近い色には `--fg` か `--muted` の輪郭線も付ける。図の系列は `--series-*`、意味は上の役割を使う。
47
+
48
+ | 変数 | 値 | OKLCH L / C / h | 白地 |
49
+ |---|---|---|---|
50
+ | `--obj-white` | `#FFFFFF` | 1.000 / 0.000 / – | 1.00:1 |
51
+ | `--obj-black` | `#222222` | 0.252 / 0.000 / – | 15.91:1 |
52
+ | `--obj-red` | `#E0242B` | 0.584 / 0.219 / 26.1 | 4.71:1 |
53
+ | `--obj-green` | `#2E9E44` | 0.617 / 0.163 / 146.5 | 3.45:1 |
54
+ | `--obj-yellow` | `#F5D90A` | 0.882 / 0.182 / 99.8 | 1.42:1 |
55
+ | `--obj-blue` | `#1E6FD9` | 0.555 / 0.179 / 257.4 | 4.85:1 |
56
+ | `--obj-brown` | `#8B5A2B` | 0.512 / 0.090 / 62.2 | 5.84:1 |
57
+ | `--obj-purple` | `#8E44AD` | 0.526 / 0.170 / 314.7 | 5.87:1 |
58
+ | `--obj-pink` | `#F27BB0` | 0.733 / 0.156 / 353.6 | 2.55:1 |
59
+ | `--obj-orange` | `#F28C1A` | 0.734 / 0.165 / 60.4 | 2.46:1 |
60
+ | `--obj-gray` | `#8C8C8C` | 0.640 / 0.000 / – | 3.36:1 |
61
+
62
+ - **名前どおりに見える。** 色相は OKLCH でそれぞれの窓に入る(red 15–45°、orange 50–80°、yellow 85–115°、green 125–165°、blue 235–275°、purple 285–335°、pink 340–15°。窓はその名前の CSS の色の色相を含み、互いに重ならない)。brown は orange と同じ色相で、暗く鮮やかさが低いことで分かれる(明るさ 0.35–0.60、鮮やかさ 0.04–0.12)。white・black・gray は鮮やかさ 0.02 以下(`node tools/test-themes.mjs`)。
63
+ - **隣どうしが分かれる。** 隣り合う色の名前(red–orange、orange–yellow、yellow–green、green–blue、blue–purple、purple–pink、pink–red、brown–orange、brown–red、gray–white、gray–black)は 3 色型で ΔE00 20 以上離す。`--emph` と `--term` と同じ線で、並べなくても 1 つずつ見て投影で名前を言い分けられる差。ここで最も近い組は brown–red(23.7)。名前か頭文字をいつも添えるので、色覚の模擬は求めない。
64
+ - **黄は `--lit` と別。** `--obj-yellow` はレモン寄りの黄(h 99.8)で、山吹寄りの `--lit`(h 84.4)から離した(ΔE00 11.1)。役割が違う:`--lit` は光と光が照らすもの、`--obj-yellow` は黄色い物で、どのみち名前を添える。2 つのあいだに線は決めない。
65
+ - 地とのコントラストは求めない(名前と輪郭線を添える塗り)。白地では 1.4〜15.9:1。`sumi`・`kokugo`・`tokiwa`・`murasaki`・`business` は同じ値なので、どのテーマでも赤い玉は同じ赤。`kogecha` は落ち着いた配色に合わせて鮮やかさを少し抑え、`asagi` は小学校向けに少し明るい。同梱のテーマはどれも 11 色を自分の `tokens.css` で宣言する。`default` を継ぐテーマで宣言しないものはこの値を受け継ぐ。
@@ -0,0 +1,65 @@
1
+ <!-- i18n: pair=README.ja.md sha256=98eb821a9024cb6c -->
2
+ # Theme `default`
3
+
4
+ [日本語](README.ja.md)
5
+
6
+ The bundled default theme. Its version is in `theme.json`; earlier versions are kept in `vendor/themes/default/<version>/` and listed in `themes.lock.json` ([reference](../../docs/reference.md#themes), “Theme versions”). The build reads only `theme.json` and `tokens.css`; this file is not part of the theme's hash.
7
+
8
+ ## Why these colors (1.1.0)
9
+
10
+ | Token | Value | On white | Role |
11
+ |---|---|---|---|
12
+ | `--emph` | `#BE3012` | 5.80:1 (WCAG AA) | conclusions, problems, goals |
13
+ | `--muted` | `#5C5853` | 7.06:1 (WCAG AAA level) | known results, comparisons, captions, citations |
14
+ | `--fg` | `#222222` | 15.91:1 | body text (the ink) |
15
+
16
+ - **`--emph` `#BE3012`.** The orange-leaning red that colour universal design (CUD) guidance recommends for people with P- and D-type colour vision, darkened to text strength: 5.80:1 on white, which meets WCAG AA. Under protan simulation its CIEDE2000 distance to the ink rises from 22.5 to 26.0, so a conclusion line does not read as body text. The previous crimson `#C50516` (1.0.0, `oklch(0.52 0.21 27)`) leaned bluish, which CUD advises against; it was never a deliberate choice.
17
+ - **`--muted` `#5C5853`.** 7.06:1 on white (WCAG AAA level), so grey text stays readable on projectors, where black is lifted by room light, and at small sizes (`.cite`, `.figcap`). The trade-off is a smaller distance to the ink (CIEDE2000 25.6 → 18.2). That is acceptable because muted text also differs from the ink by role and position (captions, citations, the compared result), not by colour alone.
18
+ - Themes that extend `default` without setting these tokens inherit them: `kokugo` keeps its own red (`--emph-hue: 38`) and takes the new grey.
19
+
20
+ ## The conclusion row (1.2.0)
21
+
22
+ From the plain-theme proposal by @totasuko-lab (1.1.0 took its colours). The conclusion row is marked by four cues, so it does not depend on colour alone (WCAG 1.4.1): a 5px bar in `--emph` on its left, its fixed position (top 571px, height 72px, as before), bold text, and a light ground `--concl-bg`. The text is left-aligned from the bar instead of centred in a frame. Vertical slides (`layout-tate`) keep the framed conclusion column.
23
+
24
+ | `--concl-bg` candidate | `--emph` text | `--fg` text | ground vs white | `--emph` text, 15% washout |
25
+ |---|---|---|---|---|
26
+ | `#FFFFFF` (1.1.0: transparent) | 5.80:1 | 15.91:1 | 1.00 (none) | 3.37:1 |
27
+ | **`#F5F5F5`** (chosen) | **5.32:1** | **14.59:1** | 1.09, ΔE00 2.0 | 3.13:1 |
28
+ | `#F6F3EF` (proposal's warm off-white) | 5.24:1 | 14.38:1 | 1.11, ΔE00 3.2 (2.3 in greyscale) | 3.10:1 |
29
+
30
+ - **`--concl-bg` `#F5F5F5`.** A neutral grey has no hue, so it looks the same for every colour-vision type and in greyscale print: the row reads as a band everywhere to the same degree. The bar and bold carry the cue, so the ground only needs to be just visible; this one costs the least contrast among the grounds that still separate the row (`--emph` 5.32:1, above AA for any size). The warm `#F6F3EF` is a little more visible in colour, but in greyscale it separates less than its colour suggests and it costs more contrast.
31
+ - Themes that extend `default` take the shape: `kokugo` gets the bar in its own red and the grey ground; `business` keeps its own pale-orange `--concl-bg`.
32
+
33
+ ## Light: `--lit` (1.3.0)
34
+
35
+ `--lit` is the role for light and what it lights (the sun, a lamp, the lit side of the Moon; format spec §8.4). It is a fill colour, never a text colour, and is always drawn with an outline in `--fg` or `--muted`.
36
+
37
+ | Token | Value | On white | vs `--emph` under simulation (ΔE*ab normal/protan/deutan/tritan; ΔE00) |
38
+ |---|---|---|---|
39
+ | `--lit` | `#F5B800` | 1.79:1 | 65/55/42/54; 44.4/39.8/28.3/30.7 |
40
+
41
+ - **`--lit` `#F5B800`.** A warm, slightly amber yellow, the colour people expect for sunlight and lamps. On white it is pale (1.79:1), so the outline carries the shape; the 3:1 of WCAG 1.4.11 is met by the outline, not the fill. Under all four simulated colour-vision types it stays apart from `--emph` by the same limits as `--emph` against `--term` (`node tools/test-themes.mjs`), so the sun and a conclusion are not confused.
42
+ - Each bundled theme sets its own `--lit` (a warm yellow fitting its palette; `sumi` and `business` lean away from their orange `--emph`). Themes that extend `default` without setting it inherit `#F5B800`.
43
+
44
+ ## Object colours: `--obj-*` (1.4.0)
45
+
46
+ `--obj-white` … `--obj-gray` are the eleven basic colour terms, for colours that are themselves the content: a red ball in a bag, blue litmus paper, a green traffic light (format spec §8.4). They are fills shown with the name or initial of the colour (「赤」, "R") on or beside the object, never colour alone, because red and green, for example, look alike to many viewers; white, black and any colour near the background also get an outline in `--fg` or `--muted`. Chart categories use `--series-*`, and meanings use the roles above.
47
+
48
+ | Token | Value | OKLCH L / C / h | On white |
49
+ |---|---|---|---|
50
+ | `--obj-white` | `#FFFFFF` | 1.000 / 0.000 / – | 1.00:1 |
51
+ | `--obj-black` | `#222222` | 0.252 / 0.000 / – | 15.91:1 |
52
+ | `--obj-red` | `#E0242B` | 0.584 / 0.219 / 26.1 | 4.71:1 |
53
+ | `--obj-green` | `#2E9E44` | 0.617 / 0.163 / 146.5 | 3.45:1 |
54
+ | `--obj-yellow` | `#F5D90A` | 0.882 / 0.182 / 99.8 | 1.42:1 |
55
+ | `--obj-blue` | `#1E6FD9` | 0.555 / 0.179 / 257.4 | 4.85:1 |
56
+ | `--obj-brown` | `#8B5A2B` | 0.512 / 0.090 / 62.2 | 5.84:1 |
57
+ | `--obj-purple` | `#8E44AD` | 0.526 / 0.170 / 314.7 | 5.87:1 |
58
+ | `--obj-pink` | `#F27BB0` | 0.733 / 0.156 / 353.6 | 2.55:1 |
59
+ | `--obj-orange` | `#F28C1A` | 0.734 / 0.165 / 60.4 | 2.46:1 |
60
+ | `--obj-gray` | `#8C8C8C` | 0.640 / 0.000 / – | 3.36:1 |
61
+
62
+ - **Recognisably the name.** Each hue lies in its family's window in OKLCH (red 15–45°, orange 50–80°, yellow 85–115°, green 125–165°, blue 235–275°, purple 285–335°, pink 340–15°; the windows hold the hue of the CSS colour of that name and do not overlap). Brown shares orange's hue and is told apart by being darker and less saturated (lightness 0.35–0.60, chroma 0.04–0.12). White, black and gray have chroma ≤ 0.02 (`node tools/test-themes.mjs`).
63
+ - **Neighbours stay apart.** Adjacent names (red–orange, orange–yellow, yellow–green, green–blue, blue–purple, purple–pink, pink–red, brown–orange, brown–red, gray–white, gray–black) are at least ΔE00 20 apart for normal vision, the same limit as `--emph` against `--term`: a difference that can be named one swatch at a time on a projector, not only side by side. The closest pair here is brown–red (23.7). Colour-vision simulation is not required, because the name or initial always comes with the colour.
64
+ - **Yellow is not `--lit`.** `--obj-yellow` is a lemon yellow (h 99.8), leaning away from the amber `--lit` (h 84.4; ΔE00 11.1). They are different roles: `--lit` is light and what it lights, `--obj-yellow` a yellow object, which carries its name anyway; no limit is set between them.
65
+ - Contrast with the background is not required (these are fills with labels and outlines); on white it is 1.4–15.9:1. `sumi`, `kokugo`, `tokiwa`, `murasaki` and `business` use the same values, so a red ball is the same red in every theme; `kogecha` lowers the chroma a little to fit its subdued palette, and `asagi` is a little brighter for primary schools. Every bundled theme declares all eleven in its own `tokens.css`; a theme that extends `default` without them inherits these.
@@ -0,0 +1,4 @@
1
+ {
2
+ "name": "default",
3
+ "version": "1.5.0"
4
+ }
@@ -0,0 +1,95 @@
1
+ /* 既定のテーマ(default)
2
+ 基調色 --base を 1 つ決めれば、ほかの色はそこから導く(academic-* テーマの「基調色+補色+淡色」と同じ考え方)。
3
+ 部品とレイアウトは意味で名付けた変数(--term, --emph, --muted …)だけを参照する */
4
+ :root{
5
+ --base: #1d4f91; /* 基調色。テーマごとにこれを替える */
6
+ /* --emph-hue(結論・問題の色相):既定では宣言しない。テーマが宣言すると --emph は oklch(0.52 0.21 <色相>) から導く
7
+ (下の @supports。kokugo は 38)。宣言しなければ --emph は下の固定の値 */
8
+
9
+ /* 導かれる色。ここでは古いブラウザ向けの固定の値(既定の --base #1d4f91 から計算した値)を置き、
10
+ 下の @supports で基調色から導く式に置き換える(カスタムプロパティは後の宣言が常に勝つので、
11
+ 「前に予備の値を書く」だけでは効かない。対応しているかを @supports で分ける) */
12
+ --complement: #744400;
13
+ --accent2: #744400;
14
+ --base-tint: #cbd7e8;
15
+ --base-wash: #eef2f8;
16
+ --comp-tint: #e0d4c3;
17
+
18
+ /* 意味の色(部品はここだけを使う) */
19
+ --fg: #222222;
20
+ --bg: #ffffff;
21
+ --title: var(--base); /* 古いブラウザでは基調色そのもの */
22
+ --term: var(--base); /* 用語・問い・補足 */
23
+ --emph: var(--emph-from-hue, #BE3012); /* 結論・問題・目標。朱寄りの赤(白地 5.8:1。1 型色覚の模擬でも墨と分かれる。1.1.0) */
24
+ --muted: #5C5853; /* 既知の結果・比較対象。温かい灰(白地 7.1:1。明るい教室の投影でも読める。1.1.0) */
25
+ --line: #cccccc;
26
+ --rule: var(--base);
27
+ --term-tint: var(--base-wash);
28
+ --emph-tint: #fbe7e3;
29
+ --concl-bg: #F5F5F5; /* 結論の行の地。無彩のごく淡い灰(--emph の字 5.3:1・--fg 14.6:1。色覚の型と白黒でも見え方が同じ。1.2.0) */
30
+ --lit: #F5B800; /* 光と、光が照らすもの(太陽・灯り・月の明るい側)。山吹寄りの黄(白地 1.8:1。字の色ではない:輪郭線と一緒に描く。色覚の模擬でも --emph と分かれる。1.3.0) */
31
+ /* 物の色(format spec §8.4):内容そのものである色(袋の玉・リトマス紙・信号)。11 の基本色名。色だけで伝えない:名前か頭文字を添え、白・黒と地に近い色には輪郭線(--fg か --muted)。1.4.0 */
32
+ --obj-white: #FFFFFF;
33
+ --obj-black: #222222;
34
+ --obj-red: #E0242B;
35
+ --obj-green: #2E9E44;
36
+ --obj-yellow: #F5D90A;
37
+ --obj-blue: #1E6FD9;
38
+ --obj-brown: #8B5A2B;
39
+ --obj-purple: #8E44AD;
40
+ --obj-pink: #F27BB0;
41
+ --obj-orange: #F28C1A;
42
+ --obj-gray: #8C8C8C;
43
+ /* 量の色の段(format spec §8.4。#200):低→高の 5 段(ヒートマップ・密度・速さ)。基調色の色相で、OKLCH の明るさが単調に下がり、--ramp-5 は地と 8.6:1(3:1 以上)。分類や意味には使わない。1.5.0 */
44
+ --ramp-1: #DAE9FF;
45
+ --ramp-2: #A1C3F3;
46
+ --ramp-3: #6A9ADC;
47
+ --ramp-4: #3A71BD;
48
+ --ramp-5: #0A4A97;
49
+
50
+ /* 先のステップを薄く見せるときの濃さ(format spec §8.4 の --preview-opacity。プレーヤーも部品もこれを読む) */
51
+ --preview-opacity: .45;
52
+
53
+ /* 図の系列の色(順に使う) */
54
+ --series-1: var(--term);
55
+ --series-2: var(--emph);
56
+ --series-3: var(--accent2);
57
+ --series-4: var(--muted);
58
+
59
+ /* 字 */
60
+ --font-sans: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
61
+ --weight-body: 400;
62
+ --kicker-size: 24px;
63
+ --kicker-color: var(--muted);
64
+ --kicker-weight: 700;
65
+
66
+ /* 字幕(s):字の大きさ・下端からの距離・左右の余白・1 まとまりの行数の上限。読む速さ(字/秒)は --cap-rate(既定 ja 7、en 15) */
67
+ --cap-size: 27px;
68
+ --cap-bottom: 18px;
69
+ --cap-side: 96px;
70
+ --cap-max-lines: 3;
71
+ }
72
+ /* 対応しているブラウザでは基調色から導く(Chrome/Edge 119+、Firefox 128+、Safari 18+)。
73
+ テーマの tokens.css はこの後に読まれるので、テーマが上書きした値はそのまま勝つ */
74
+ /* --emph-hue を宣言したテーマだけ:--emph-hue がなければ --emph-from-hue は無効になり、--emph は固定の値 #BE3012 になる */
75
+ @supports (color: oklch(0.5 0.1 30)){
76
+ :root{ --emph-from-hue: oklch(0.52 0.21 var(--emph-hue)); }
77
+ }
78
+ @supports (color: color-mix(in oklch, red 10%, white)){
79
+ :root{
80
+ --base-tint: color-mix(in oklch, var(--base) 22%, white);
81
+ --base-wash: color-mix(in oklch, var(--base) 7%, white);
82
+ --emph-tint: color-mix(in oklch, var(--emph) 12%, white);
83
+ }
84
+ }
85
+ @supports (color: oklch(from red min(l, 0.5) c calc(h + 180))) and (color: color-mix(in oklch, red 10%, white)){
86
+ :root{
87
+ --complement: oklch(from var(--base) l c calc(h + 180));
88
+ --accent2: oklch(from var(--complement) min(l, 0.55) c h);
89
+ --comp-tint: color-mix(in oklch, var(--complement) 22%, white);
90
+ --title: oklch(from var(--base) min(l, 0.32) c h);
91
+ }
92
+ }
93
+ /* 結論の行(1.2.0):左の縦線+決まった位置(571px・高さ 72px は kit/layouts.css のまま)+太字+淡い灰の地 --concl-bg。色だけに頼らない(WCAG 1.4.1)。
94
+ テーマの CSS は layouts.css の後に読まれるので、同じ詳細度(:where は 0)で勝つ。縦組み(layout-tate)の結論の列は今までの枠のまま */
95
+ :where(.slide:not(.layout-tate)) .concl{left:30px;border:0;border-left:5px solid var(--emph);border-radius:0;justify-content:flex-start;padding-left:13px}
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "kogecha",
3
+ "extends": "default",
4
+ "version": "1.3.0",
5
+ "look": {
6
+ "heading": "double",
7
+ "cover": "frame",
8
+ "concl": "left-rule"
9
+ }
10
+ }
@@ -0,0 +1,35 @@
1
+ /* 焦茶(kogecha):暗く冷たい茶に青緑、生成りの地。人文・歴史・地域向け。見出しは二重線、表紙は細い枠。
2
+ 赤との差を保つため茶を暗く冷たくした(1 型の模擬で赤との差 ΔE*ab 28 → 37、ΔE00 は 20.0 → 23.0)。形は kit/core/theme-shapes.mjs の断片(theme.json の look) */
3
+ :root{
4
+ --base: #3d3132; /* 焦茶(1 型・2 型・3 型の模擬で強調の赤と ΔE00 23 以上) */
5
+ --accent2: #1d6b70; /* 青緑。3 つ目の系列 */
6
+ --bg: #fcfaf5; /* 生成り */
7
+ --cover-bg: #f3ece1;
8
+ --sec-bg: #3d3132;
9
+ --series-3: var(--accent2);
10
+ --lit: #EDB91A; /* 光と照らされる側。落ち着いた金茶寄りの黄(生成り地 1.7:1。1.1.0) */
11
+ /* 物の色(format spec §8.4):内容そのものである色。焦茶の落ち着いた配色に合わせて鮮やかさを少し抑えた(色の名前の範囲は同じ)。名前か頭文字を添え、白・黒には輪郭線。1.2.0 */
12
+ --obj-white: #FFFFFF;
13
+ --obj-black: #2A2523;
14
+ --obj-red: #C8323A;
15
+ --obj-green: #3C8A4E;
16
+ --obj-yellow: #E6C619;
17
+ --obj-blue: #2F66B8;
18
+ --obj-brown: #7A5230;
19
+ --obj-purple: #7E4A9E;
20
+ --obj-pink: #DC86AE;
21
+ --obj-orange: #D9822B;
22
+ --obj-gray: #8A8782;
23
+ /* 量の色の段(format spec §8.4。#200):低→高の 5 段(ヒートマップ・密度・速さ)。基調色の色相で、OKLCH の明るさが単調に下がり、--ramp-5 は地と 8.2:1(3:1 以上)。分類や意味には使わない。1.3.0 */
24
+ --ramp-1: #EEE5E6;
25
+ --ramp-2: #CBBDBE;
26
+ --ramp-3: #A79394;
27
+ --ramp-4: #816B6D;
28
+ --ramp-5: #5C4748;
29
+ }
30
+ /* look heading: double */
31
+ .slide:not(.cover):not(.sec):not(.layout-tate) > h2{border-bottom:6px double var(--base)}
32
+ /* /look */
33
+ /* look cover: frame */
34
+ .slide.cover::before{left:28px;right:28px;top:28px;bottom:28px;height:auto;background:transparent;border:2px solid var(--base)}
35
+ /* /look */
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "kokugo",
3
+ "extends": "default",
4
+ "version": "1.3.0"
5
+ }
@@ -0,0 +1,31 @@
1
+ /* 国語(kokugo):本文は明朝(BIZ UDP明朝)、基調色は藍、強調は朱(訓点を朱で書き入れる習いから)、地は生成り。
2
+ 縦書き(.tate)と国語の部品(m-kanbun・m-kobun・m-gendai)に合わせる。機関に依存しない。
3
+ 字幕(s)だけはゴシックにする(小さく速く読む字なので。編集アプリの段 A の字の補いもゴシックだけを補う) */
4
+ :root{
5
+ --base: #264a7c; /* 藍 */
6
+ --emph-hue: 38; /* 朱(default は 27 の赤) */
7
+ --fg: #2a2522; /* 墨 */
8
+ --bg: #fffdf8; /* 生成り */
9
+ --cover-bg: #f6f1e6;
10
+ --font-sans: var(--font-mincho);
11
+ --font-cap: "BIZ UDPGothic", "Hiragino Sans", sans-serif;
12
+ --lit: #F8B500; /* 光と照らされる側。山吹色(生成り地 1.8:1。1.1.0) */
13
+ /* 物の色(format spec §8.4):内容そのものである色。default と同じ値(どのテーマでも赤い玉は同じ赤)。名前か頭文字を添え、白・黒と地に近い色には輪郭線。1.2.0 */
14
+ --obj-white: #FFFFFF;
15
+ --obj-black: #222222;
16
+ --obj-red: #E0242B;
17
+ --obj-green: #2E9E44;
18
+ --obj-yellow: #F5D90A;
19
+ --obj-blue: #1E6FD9;
20
+ --obj-brown: #8B5A2B;
21
+ --obj-purple: #8E44AD;
22
+ --obj-pink: #F27BB0;
23
+ --obj-orange: #F28C1A;
24
+ --obj-gray: #8C8C8C;
25
+ /* 量の色の段(format spec §8.4。#200):低→高の 5 段(ヒートマップ・密度・速さ)。基調色の色相で、OKLCH の明るさが単調に下がり、--ramp-5 は地と 8.4:1(3:1 以上)。分類や意味には使わない。1.3.0 */
26
+ --ramp-1: #DAE9FE;
27
+ --ramp-2: #A9C3E8;
28
+ --ramp-3: #769ACE;
29
+ --ramp-4: #4973AD;
30
+ --ramp-5: #224C87;
31
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "murasaki",
3
+ "extends": "default",
4
+ "version": "1.3.0",
5
+ "look": {
6
+ "heading": "left-bar",
7
+ "cover": "bottom-band",
8
+ "concl": "left-rule"
9
+ }
10
+ }
@@ -0,0 +1,31 @@
1
+ /* 江戸紫(murasaki):ロゴの紺藍に近い紫。研究・一般向けの講演向け。見出しの左に縦の帯(下線なし)、表紙は下に紫の帯。
2
+ 形は kit/core/theme-shapes.mjs の断片(theme.json の look) */
3
+ :root{
4
+ --base: #5a3d8f; /* 江戸紫 */
5
+ --lit: #F3BE00; /* 光と照らされる側。黄(紫の補色。白地 1.7:1。1.1.0) */
6
+ /* 物の色(format spec §8.4):内容そのものである色。default と同じ値(どのテーマでも赤い玉は同じ赤)。名前か頭文字を添え、白・黒と地に近い色には輪郭線。1.2.0 */
7
+ --obj-white: #FFFFFF;
8
+ --obj-black: #222222;
9
+ --obj-red: #E0242B;
10
+ --obj-green: #2E9E44;
11
+ --obj-yellow: #F5D90A;
12
+ --obj-blue: #1E6FD9;
13
+ --obj-brown: #8B5A2B;
14
+ --obj-purple: #8E44AD;
15
+ --obj-pink: #F27BB0;
16
+ --obj-orange: #F28C1A;
17
+ --obj-gray: #8C8C8C;
18
+ /* 量の色の段(format spec §8.4。#200):低→高の 5 段(ヒートマップ・密度・速さ)。基調色の色相で、OKLCH の明るさが単調に下がり、--ramp-5 は地と 9.1:1(3:1 以上)。分類や意味には使わない。1.3.0 */
19
+ --ramp-1: #EAE3FF;
20
+ --ramp-2: #C6B6F0;
21
+ --ramp-3: #A088D9;
22
+ --ramp-4: #7B5CBA;
23
+ --ramp-5: #583393;
24
+ }
25
+ /* look heading: left-bar */
26
+ .slide:not(.cover):not(.sec):not(.layout-tate) > h2{border-bottom:0;border-left:10px solid var(--base);padding:4px 0 4px 18px}
27
+ /* /look */
28
+ /* look cover: bottom-band */
29
+ .slide.cover::before{top:auto;bottom:0;height:120px}
30
+ .slide.cover .au{top:420px}
31
+ /* /look */
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "sumi",
3
+ "extends": "default",
4
+ "version": "1.3.0",
5
+ "look": {
6
+ "heading": "band",
7
+ "cover": "left-bar",
8
+ "concl": "left-rule"
9
+ }
10
+ }