takibi-design-system 0.0.0-stage → 0.1.0

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 (94) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +17 -2
  3. package/assets/logo/mark-cream.svg +41 -0
  4. package/assets/logo/mark-dark.svg +41 -0
  5. package/dist/tokens.css +186 -0
  6. package/dist/tokens.json +641 -0
  7. package/package.json +69 -5
  8. package/src/base.css +44 -0
  9. package/src/components/accordion.tsx +69 -0
  10. package/src/components/alert-dialog.tsx +98 -0
  11. package/src/components/alert.tsx +80 -0
  12. package/src/components/animated-number.tsx +132 -0
  13. package/src/components/autocomplete.tsx +195 -0
  14. package/src/components/avatar.tsx +162 -0
  15. package/src/components/badge.tsx +32 -0
  16. package/src/components/banner.tsx +140 -0
  17. package/src/components/breadcrumbs.tsx +200 -0
  18. package/src/components/button.tsx +246 -0
  19. package/src/components/calendar.tsx +274 -0
  20. package/src/components/callout.tsx +102 -0
  21. package/src/components/card.tsx +45 -0
  22. package/src/components/carousel.tsx +325 -0
  23. package/src/components/checkbox-group.tsx +131 -0
  24. package/src/components/checkbox.tsx +57 -0
  25. package/src/components/collapsible.tsx +72 -0
  26. package/src/components/combobox.tsx +345 -0
  27. package/src/components/command.tsx +162 -0
  28. package/src/components/context-menu.tsx +53 -0
  29. package/src/components/date-picker.tsx +228 -0
  30. package/src/components/description-list.tsx +65 -0
  31. package/src/components/dialog.tsx +98 -0
  32. package/src/components/drawer.tsx +218 -0
  33. package/src/components/empty-state.tsx +103 -0
  34. package/src/components/field.tsx +70 -0
  35. package/src/components/fieldset.tsx +62 -0
  36. package/src/components/file-drop.tsx +314 -0
  37. package/src/components/form.tsx +55 -0
  38. package/src/components/heading.tsx +73 -0
  39. package/src/components/image.tsx +148 -0
  40. package/src/components/input-group.tsx +307 -0
  41. package/src/components/input.tsx +43 -0
  42. package/src/components/interactive-card.tsx +87 -0
  43. package/src/components/kbd.tsx +23 -0
  44. package/src/components/link.tsx +99 -0
  45. package/src/components/list.tsx +177 -0
  46. package/src/components/menu.tsx +256 -0
  47. package/src/components/menubar.tsx +68 -0
  48. package/src/components/meter.tsx +93 -0
  49. package/src/components/nav-list.tsx +131 -0
  50. package/src/components/navigation-menu.tsx +215 -0
  51. package/src/components/number-field.tsx +215 -0
  52. package/src/components/otp-field.tsx +165 -0
  53. package/src/components/pagination.tsx +133 -0
  54. package/src/components/password-input.tsx +85 -0
  55. package/src/components/popover.tsx +73 -0
  56. package/src/components/preview-card.tsx +70 -0
  57. package/src/components/progress.tsx +105 -0
  58. package/src/components/radio-group.tsx +42 -0
  59. package/src/components/rating.tsx +180 -0
  60. package/src/components/scroll-area.tsx +106 -0
  61. package/src/components/select.tsx +168 -0
  62. package/src/components/separator.tsx +26 -0
  63. package/src/components/skeleton.tsx +17 -0
  64. package/src/components/skip-link.tsx +34 -0
  65. package/src/components/slider.tsx +191 -0
  66. package/src/components/spinner.tsx +37 -0
  67. package/src/components/stack.tsx +72 -0
  68. package/src/components/steps.tsx +193 -0
  69. package/src/components/switch.tsx +46 -0
  70. package/src/components/table.tsx +156 -0
  71. package/src/components/tabs.tsx +66 -0
  72. package/src/components/tag.tsx +169 -0
  73. package/src/components/text.tsx +88 -0
  74. package/src/components/textarea.tsx +24 -0
  75. package/src/components/theme-toggle.tsx +198 -0
  76. package/src/components/toast.tsx +78 -0
  77. package/src/components/toggle-group.tsx +154 -0
  78. package/src/components/toggle.tsx +43 -0
  79. package/src/components/toolbar.tsx +180 -0
  80. package/src/components/tooltip.tsx +54 -0
  81. package/src/components/tree-view.tsx +367 -0
  82. package/src/components/visually-hidden.tsx +17 -0
  83. package/src/embers.d.ts +22 -0
  84. package/src/embers.js +311 -0
  85. package/src/index.ts +78 -0
  86. package/src/lib/cn.ts +18 -0
  87. package/src/lib/glide.tsx +52 -0
  88. package/src/lib/menu-aim.ts +141 -0
  89. package/src/lib/motion.ts +47 -0
  90. package/src/lib/theme.ts +31 -0
  91. package/src/motion.css +562 -0
  92. package/src/spec.ts +32 -0
  93. package/src/styles.css +20 -0
  94. package/src/tokens.css +395 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Kazumasa Yamamoto
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,18 @@
1
- # Temporary Holding Version
1
+ # takibi-design-system
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ 焚き火を愛するエンジニアのプロダクトと発信を、1 つの言葉と見た目でそろえるためのデザインシステムです。使い方とコンポーネントの一覧は https://design-system.y-kaz.com にあります。
4
+
5
+ TypeScript のソースをそのまま配布しています。Vite のように、`node_modules` の TypeScript を変換するバンドラーで使ってください。
6
+
7
+ ## 入口
8
+
9
+ | import | 使う場面 |
10
+ |---|---|
11
+ | `takibi-design-system` | React のコンポーネント |
12
+ | `takibi-design-system/styles.css` | Tailwind CSS v4 のアプリ。`@import "tailwindcss";` のあとに読み込む |
13
+ | `takibi-design-system/tokens.css` | Tailwind を使わない場所。素の CSS 変数。夜が既定で、`[data-theme="light"]` で昼になる |
14
+ | `takibi-design-system/tokens.json` | CSS を読まない道具。各トークンの値、昼の値、説明、CSS 変数名 |
15
+
16
+ ## ライセンス
17
+
18
+ MIT
@@ -0,0 +1,41 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 142 142" width="142" height="142">
2
+ <title>Hidoko mark — Heart Field</title>
3
+ <circle cx="26.00" cy="26.00" r="3.37" fill="#f1ebdd"></circle>
4
+ <circle cx="44.00" cy="26.00" r="4.41" fill="#d4b58a"></circle>
5
+ <circle cx="98.00" cy="26.00" r="4.41" fill="#d4b58a"></circle>
6
+ <circle cx="116.00" cy="26.00" r="3.37" fill="#f1ebdd"></circle>
7
+ <circle cx="8.00" cy="44.00" r="3.04" fill="#f1ebdd"></circle>
8
+ <circle cx="26.00" cy="44.00" r="4.59" fill="#d4b58a"></circle>
9
+ <circle cx="44.00" cy="44.00" r="5.92" fill="#c08850"></circle>
10
+ <circle cx="62.00" cy="44.00" r="6.78" fill="#b06530"></circle>
11
+ <circle cx="80.00" cy="44.00" r="6.78" fill="#b06530"></circle>
12
+ <circle cx="98.00" cy="44.00" r="5.92" fill="#c08850"></circle>
13
+ <circle cx="116.00" cy="44.00" r="4.59" fill="#d4b58a"></circle>
14
+ <circle cx="134.00" cy="44.00" r="3.04" fill="#f1ebdd"></circle>
15
+ <circle cx="8.00" cy="62.00" r="3.66" fill="#e6dcc6"></circle>
16
+ <circle cx="26.00" cy="62.00" r="5.41" fill="#c08850"></circle>
17
+ <circle cx="44.00" cy="62.00" r="7.08" fill="#9b3f18"></circle>
18
+ <circle cx="62.00" cy="62.00" r="8.45" fill="#7a2810"></circle>
19
+ <circle cx="80.00" cy="62.00" r="8.45" fill="#7a2810"></circle>
20
+ <circle cx="98.00" cy="62.00" r="7.08" fill="#9b3f18"></circle>
21
+ <circle cx="116.00" cy="62.00" r="5.41" fill="#c08850"></circle>
22
+ <circle cx="134.00" cy="62.00" r="3.66" fill="#e6dcc6"></circle>
23
+ <circle cx="26.00" cy="80.00" r="5.62" fill="#c08850"></circle>
24
+ <circle cx="44.00" cy="80.00" r="7.42" fill="#9b3f18"></circle>
25
+ <circle cx="62.00" cy="80.00" r="9.19" fill="#52180a"></circle>
26
+ <circle cx="80.00" cy="80.00" r="9.19" fill="#52180a"></circle>
27
+ <circle cx="98.00" cy="80.00" r="7.42" fill="#9b3f18"></circle>
28
+ <circle cx="116.00" cy="80.00" r="5.62" fill="#c08850"></circle>
29
+ <circle cx="26.00" cy="98.00" r="5.14" fill="#c08850"></circle>
30
+ <circle cx="44.00" cy="98.00" r="6.68" fill="#b06530"></circle>
31
+ <circle cx="62.00" cy="98.00" r="7.81" fill="#7a2810"></circle>
32
+ <circle cx="80.00" cy="98.00" r="7.81" fill="#7a2810"></circle>
33
+ <circle cx="98.00" cy="98.00" r="6.68" fill="#b06530"></circle>
34
+ <circle cx="116.00" cy="98.00" r="5.14" fill="#c08850"></circle>
35
+ <circle cx="44.00" cy="116.00" r="5.34" fill="#c08850"></circle>
36
+ <circle cx="62.00" cy="116.00" r="6.08" fill="#b06530"></circle>
37
+ <circle cx="80.00" cy="116.00" r="6.08" fill="#b06530"></circle>
38
+ <circle cx="98.00" cy="116.00" r="5.34" fill="#c08850"></circle>
39
+ <circle cx="62.00" cy="134.00" r="4.30" fill="#d4b58a"></circle>
40
+ <circle cx="80.00" cy="134.00" r="4.30" fill="#d4b58a"></circle>
41
+ </svg>
@@ -0,0 +1,41 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 142 142" width="142" height="142">
2
+ <title>Hidoko mark — Heart Field</title>
3
+ <circle cx="26.00" cy="26.00" r="3.37" fill="#0c0a08"></circle>
4
+ <circle cx="44.00" cy="26.00" r="4.41" fill="#3a160a"></circle>
5
+ <circle cx="98.00" cy="26.00" r="4.41" fill="#3a160a"></circle>
6
+ <circle cx="116.00" cy="26.00" r="3.37" fill="#0c0a08"></circle>
7
+ <circle cx="8.00" cy="44.00" r="3.04" fill="#0c0a08"></circle>
8
+ <circle cx="26.00" cy="44.00" r="4.59" fill="#3a160a"></circle>
9
+ <circle cx="44.00" cy="44.00" r="5.92" fill="#6b1f0c"></circle>
10
+ <circle cx="62.00" cy="44.00" r="6.78" fill="#9b2f0e"></circle>
11
+ <circle cx="80.00" cy="44.00" r="6.78" fill="#9b2f0e"></circle>
12
+ <circle cx="98.00" cy="44.00" r="5.92" fill="#6b1f0c"></circle>
13
+ <circle cx="116.00" cy="44.00" r="4.59" fill="#3a160a"></circle>
14
+ <circle cx="134.00" cy="44.00" r="3.04" fill="#0c0a08"></circle>
15
+ <circle cx="8.00" cy="62.00" r="3.66" fill="#1a120a"></circle>
16
+ <circle cx="26.00" cy="62.00" r="5.41" fill="#6b1f0c"></circle>
17
+ <circle cx="44.00" cy="62.00" r="7.08" fill="#c64414"></circle>
18
+ <circle cx="62.00" cy="62.00" r="8.45" fill="#e85d20"></circle>
19
+ <circle cx="80.00" cy="62.00" r="8.45" fill="#e85d20"></circle>
20
+ <circle cx="98.00" cy="62.00" r="7.08" fill="#c64414"></circle>
21
+ <circle cx="116.00" cy="62.00" r="5.41" fill="#6b1f0c"></circle>
22
+ <circle cx="134.00" cy="62.00" r="3.66" fill="#1a120a"></circle>
23
+ <circle cx="26.00" cy="80.00" r="5.62" fill="#6b1f0c"></circle>
24
+ <circle cx="44.00" cy="80.00" r="7.42" fill="#c64414"></circle>
25
+ <circle cx="62.00" cy="80.00" r="9.19" fill="#f47d3a"></circle>
26
+ <circle cx="80.00" cy="80.00" r="9.19" fill="#f47d3a"></circle>
27
+ <circle cx="98.00" cy="80.00" r="7.42" fill="#c64414"></circle>
28
+ <circle cx="116.00" cy="80.00" r="5.62" fill="#6b1f0c"></circle>
29
+ <circle cx="26.00" cy="98.00" r="5.14" fill="#6b1f0c"></circle>
30
+ <circle cx="44.00" cy="98.00" r="6.68" fill="#9b2f0e"></circle>
31
+ <circle cx="62.00" cy="98.00" r="7.81" fill="#e85d20"></circle>
32
+ <circle cx="80.00" cy="98.00" r="7.81" fill="#e85d20"></circle>
33
+ <circle cx="98.00" cy="98.00" r="6.68" fill="#9b2f0e"></circle>
34
+ <circle cx="116.00" cy="98.00" r="5.14" fill="#6b1f0c"></circle>
35
+ <circle cx="44.00" cy="116.00" r="5.34" fill="#6b1f0c"></circle>
36
+ <circle cx="62.00" cy="116.00" r="6.08" fill="#9b2f0e"></circle>
37
+ <circle cx="80.00" cy="116.00" r="6.08" fill="#9b2f0e"></circle>
38
+ <circle cx="98.00" cy="116.00" r="5.34" fill="#6b1f0c"></circle>
39
+ <circle cx="62.00" cy="134.00" r="4.30" fill="#3a160a"></circle>
40
+ <circle cx="80.00" cy="134.00" r="4.30" fill="#3a160a"></circle>
41
+ </svg>
@@ -0,0 +1,186 @@
1
+ /* takibi-design-system 0.1.0 のトークン。src/tokens.css から scripts/tokens.mjs で生成。手で直さない */
2
+ :root {
3
+ --ink-0: #0a0907;
4
+ --ink-50: #13110e;
5
+ --ink-100: #1a1814;
6
+ --ink-200: #26221c;
7
+ --ink-300: #3a342b;
8
+ --ink-400: #5a5247;
9
+ --ink-500: #7d7468;
10
+ --ink-600: #a8a094;
11
+ --ink-700: #d4cdc1;
12
+ --ink-800: #ebe5d8;
13
+ --ink-900: #f5f1e6;
14
+ --ember-50: #fef4e8;
15
+ --ember-100: #fde0c1;
16
+ --ember-200: #fbc189;
17
+ --ember-300: #f8a05c;
18
+ --ember-400: #f47d3a; /* ブランドの基準色 */
19
+ --ember-500: #e85d20;
20
+ --ember-600: #c64414;
21
+ --ember-700: #9a3210;
22
+ --ember-800: #6b220c;
23
+ --ember-900: #3d1407;
24
+ --smoke: #7c8590;
25
+ --moss: #7a8c5e;
26
+ --moon: #c8d4e0;
27
+ --rust: #b8503a;
28
+ --elevation-rim: inset 0 1px 0 rgb(255 240 220 / 0.04);
29
+ --elevation-card: 0 1px 0 rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.5), inset 0 1px 0 rgb(255 240 220 / 0.03);
30
+ --elevation-pop: 0 12px 40px rgb(0 0 0 / 0.6), 0 2px 0 rgb(0 0 0 / 0.4), inset 0 1px 0 rgb(255 240 220 / 0.05);
31
+ --elevation-glow: 0 0 0 1px rgb(244 125 58 / 0.32), 0 4px 24px rgb(244 125 58 / 0.28);
32
+ --elevation-glow-soft: 0 0 32px rgb(244 125 58 / 0.15);
33
+ --elevation-glow-strong: 0 0 0 1px rgb(244 125 58 / 0.5), 0 8px 36px rgb(244 125 58 / 0.45);
34
+ --elevation-ember: 0 0 10px rgb(244 125 58 / 0.45);
35
+ --duration-instant: 75ms; /* 押下、focus の表示開始 */
36
+ --duration-fast: 120ms; /* hover の色、ツールチップ */
37
+ --duration-base: 200ms; /* 状態の切り替え(標準) */
38
+ --duration-slow: 360ms; /* ダイアログ、パネルの開閉 */
39
+ --duration-relax: 560ms; /* レイアウトの移動、ページ遷移 */
40
+ --duration-breath: 3600ms; /* 呼吸するループ */
41
+ --duration-spring-snappy: 500ms;
42
+ --duration-spring-press: 460ms;
43
+ --duration-spring-soft: 510ms;
44
+ --duration-spring-glide: 330ms;
45
+ --press-scale: 0.97; /* ボタン */
46
+ --press-scale-surface: 0.98; /* カード、行など大きな面 */
47
+ --press-scale-icon: 0.92; /* アイコンだけのボタン、チェックボックス */
48
+ --press-scale-glyph: 0.75; /* 入力欄の枠の中のボタン。面ではなく中の svg だけを沈める */
49
+ --hover-scale: 1.02;
50
+ --swap-from-scale: 0.5; /* 中身を入れ替えるときの最初の大きさ */
51
+ --swap-blur: 4px;
52
+ --stagger: 40ms; /* 並んだ要素を順に出す間隔 */
53
+ --target-min: 44px; /* タップ・クリックの最小領域(WCAG 2.5.8 の推奨) */
54
+ color-scheme: dark;
55
+ --color-surface: var(--ink-50); /* ページの背景 */
56
+ --color-surface-raised: var(--ink-100); /* カード */
57
+ --color-surface-overlay: var(--ink-200); /* ポップオーバー、メニュー、ダイアログ */
58
+ --color-surface-sunken: var(--ink-0); /* 入力欄、コード、キー表示 */
59
+ --color-surface-hover: rgb(245 241 230 / 0.07); /* ホバー。半透明なので、どの面の上でも一段明るくなる */
60
+ --color-fg: var(--ink-800); /* 本文 */
61
+ --color-fg-strong: var(--ink-900); /* 見出し、強調 */
62
+ --color-fg-muted: var(--ink-600); /* 補足、ラベル */
63
+ --color-fg-subtle: var(--ink-500); /* プレースホルダー、無効。本文には使わない(4.5:1 に届かない) */
64
+ --color-fg-on-brand: var(--ink-0); /* brand の面に載せる文字 */
65
+ --color-fg-on-danger: var(--ink-900); /* danger-solid の面に載せる文字 */
66
+ --color-line: var(--ink-300); /* 標準の区切り線、カードの枠 */
67
+ --color-line-subtle: var(--ink-200); /* 目立たせない区切り */
68
+ --color-line-strong: #746b5f; /* 入力欄など操作できる要素の枠(3:1 以上) */
69
+ --color-line-hover: #a39888; /* 操作できる要素の枠の hover */
70
+ --color-brand: var(--ember-400);
71
+ --color-brand-hover: var(--ember-300);
72
+ --color-brand-active: var(--ember-500);
73
+ --color-brand-soft: rgb(244 125 58 / 0.14);
74
+ --color-focus: var(--ember-400);
75
+ --color-thumb: var(--ink-900);
76
+ --color-success: #8fa36f;
77
+ --color-success-soft: rgb(122 140 94 / 0.18);
78
+ --color-warning: var(--ember-300);
79
+ --color-warning-soft: rgb(248 160 92 / 0.14);
80
+ --color-danger: #d9705a;
81
+ --color-danger-soft: rgb(184 80 58 / 0.18);
82
+ --color-danger-solid: var(--ember-700); /* 破壊的な操作のボタン */
83
+ --color-info: var(--moon);
84
+ --color-info-soft: rgb(200 212 224 / 0.12);
85
+ --color-chart-1: var(--ember-400);
86
+ --color-chart-2: var(--moon);
87
+ --color-chart-3: var(--moss);
88
+ --color-chart-4: var(--rust);
89
+ --color-chart-5: var(--smoke);
90
+ --font-sans: "Inter", "LINE Seed JP", system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
91
+ --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
92
+ --text-xs: 12px; /* 装飾ラベル、タイムスタンプだけ */
93
+ --text-xs--line-height: 1.5;
94
+ --text-sm: 14px; /* UI の最小 */
95
+ --text-sm--line-height: 1.55;
96
+ --text-base: 16px; /* 本文 */
97
+ --text-base--line-height: 1.7;
98
+ --text-lg: 18px;
99
+ --text-lg--line-height: 1.6;
100
+ --text-xl: 22px;
101
+ --text-xl--line-height: 1.4;
102
+ --text-2xl: 28px;
103
+ --text-2xl--line-height: 1.3;
104
+ --text-3xl: 36px;
105
+ --text-3xl--line-height: 1.2;
106
+ --text-4xl: 48px;
107
+ --text-4xl--line-height: 1.15;
108
+ --text-5xl: 64px;
109
+ --text-5xl--line-height: 1.05;
110
+ --text-6xl: 88px;
111
+ --text-6xl--line-height: 1;
112
+ --tracking-tight: -0.02em;
113
+ --tracking-snug: -0.01em;
114
+ --tracking-normal: 0;
115
+ --tracking-mark: 0.18em; /* 大文字・記号の小見出し */
116
+ --radius-sm: 4px; /* 小さなバッジ、キー表示 */
117
+ --radius-md: 6px; /* ボタン、入力欄(標準) */
118
+ --radius-lg: 10px; /* カード */
119
+ --radius-xl: 16px; /* ダイアログ、大きなパネル */
120
+ --radius-full: 9999px; /* 円形のアバター、スイッチだけ。ボタンには使わない */
121
+ --shadow-rim: var(--elevation-rim);
122
+ --shadow-card: var(--elevation-card);
123
+ --shadow-pop: var(--elevation-pop);
124
+ --shadow-glow: var(--elevation-glow);
125
+ --shadow-glow-soft: var(--elevation-glow-soft);
126
+ --shadow-glow-strong: var(--elevation-glow-strong);
127
+ --shadow-ember: var(--elevation-ember);
128
+ --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1); /* 標準。色の変化 */
129
+ --ease-ember: cubic-bezier(0.16, 0.84, 0.24, 1); /* 終わりがゆっくり。hover / focus */
130
+ --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1); /* 閉じる、押し込む */
131
+ --ease-breath: cubic-bezier(0.45, 0.05, 0.55, 0.95); /* 呼吸 */
132
+ --ease-settle: cubic-bezier(0.34, 1.12, 0.32, 1); /* 着地。わずかに行き過ぎて戻る */
133
+ --ease-spring-snappy: linear(0, 0.11, 0.346, 0.606, 0.826, 0.983, 1.073, 1.108, 1.106, 1.085, 1.056, 1.029, 1.008, 0.995, 0.989, 0.988, 0.989, 0.992, 0.996, 0.998, 1, 1.001, 1.001, 1.001, 1); /* 行き過ぎ 11%。アイコン、小さな飾り */
134
+ --ease-spring-press: linear(0, 0.081, 0.256, 0.461, 0.656, 0.821, 0.94, 1.018, 1.061, 1.078, 1.077, 1.065, 1.049, 1.033, 1.019, 1.008, 1.001, 0.996, 0.994, 0.994, 0.994, 0.996, 0.997, 0.998, 1); /* 行き過ぎ 8%。押下から戻る、ハンドル */
135
+ --ease-spring-soft: linear(0, 0.077, 0.246, 0.438, 0.622, 0.774, 0.886, 0.964, 1.012, 1.036, 1.045, 1.043, 1.037, 1.028, 1.019, 1.012, 1.006, 1.002, 1, 0.999, 0.998, 0.998, 0.998, 0.999, 1); /* 行き過ぎ 4.5%。ポップオーバー、ダイアログ */
136
+ --ease-spring-glide: linear(0, 0.063, 0.192, 0.337, 0.469, 0.587, 0.685, 0.762, 0.821, 0.867, 0.902, 0.929, 0.948, 0.962, 0.973, 0.98, 0.986, 0.99, 0.993, 0.995, 0.996, 0.997, 0.998, 0.999, 1); /* 行き過ぎなし。選択インジケーター、位置の移動 */
137
+ --container-prose: 68ch;
138
+ --container-narrow: 720px;
139
+ --container-content: 1080px;
140
+ --container-wide: 1240px;
141
+ --container-app: 1440px;
142
+ }
143
+
144
+ [data-theme="light"] {
145
+ color-scheme: light;
146
+ --color-surface: #fbf8f0;
147
+ --color-surface-raised: #fffdf8;
148
+ --color-surface-overlay: #fffdf8;
149
+ --color-surface-sunken: #f3eee2;
150
+ --color-surface-hover: rgb(42 36 27 / 0.06);
151
+ --color-fg: #2a241b;
152
+ --color-fg-strong: #18130d;
153
+ --color-fg-muted: #5f5647;
154
+ --color-fg-subtle: #8c8273;
155
+ --color-fg-on-brand: #fff8ee;
156
+ --color-fg-on-danger: #fff8ee;
157
+ --color-line: #d9d1bf;
158
+ --color-line-subtle: #ebe5d3;
159
+ --color-line-strong: #8f8169;
160
+ --color-line-hover: #5f5545;
161
+ --color-brand: #b9420f;
162
+ --color-brand-hover: var(--ember-700);
163
+ --color-brand-active: var(--ember-800);
164
+ --color-brand-soft: rgb(198 68 20 / 0.1);
165
+ --color-focus: #b9420f;
166
+ --color-thumb: #fffdf8;
167
+ --color-success: #4f6136;
168
+ --color-success-soft: rgb(79 97 54 / 0.12);
169
+ --color-warning: #8a5300;
170
+ --color-warning-soft: rgb(138 83 0 / 0.1);
171
+ --color-danger: #a3392a;
172
+ --color-danger-soft: rgb(163 57 42 / 0.1);
173
+ --color-danger-solid: #a3392a;
174
+ --color-info: #3f5870;
175
+ --color-info-soft: rgb(63 88 112 / 0.1);
176
+ --color-chart-1: var(--ember-500);
177
+ --color-chart-2: #6f8297;
178
+ --elevation-rim: inset 0 1px 0 rgb(255 255 255 / 0.6);
179
+ --elevation-card: 0 1px 0 rgb(38 28 16 / 0.04), 0 6px 18px rgb(38 28 16 / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.6);
180
+ --elevation-pop: 0 16px 36px rgb(38 28 16 / 0.12), 0 2px 0 rgb(38 28 16 / 0.04), inset 0 1px 0 rgb(255 255 255 / 0.6);
181
+ --elevation-glow: 0 0 0 1px rgb(185 66 15 / 0.4), 0 4px 20px rgb(185 66 15 / 0.18);
182
+ --shadow-rim: var(--elevation-rim);
183
+ --shadow-card: var(--elevation-card);
184
+ --shadow-pop: var(--elevation-pop);
185
+ --shadow-glow: var(--elevation-glow);
186
+ }