Make documentation standalone and generalize examples

This commit is contained in:
Melvin Strobl
2026-10-25 14:43:20 +01:00
parent 96ba512d40
commit 82c64a10b6
57 changed files with 553 additions and 481 deletions
+1 -3
View File
@@ -5,9 +5,7 @@
* across the app. Mirrors the `--ease-*` / `--duration-*` timing tokens defined
* in `index.css`, so CSS transitions and JS animations stay in sync.
*
* This file is duplicated verbatim in `app` and `index` (the shadcn model,
* see ../../DESIGN.md / the root DESIGN-GUIDELINES.md). Keep the two copies
* identical; `make design-check` at the workspace root verifies it.
* See DESIGN-GUIDELINES.md at the repository root for the motion rules.
*
* Reduced motion: wrap each app root in `<MotionConfig reducedMotion="user">` so
* transform/layout animations are disabled automatically when the OS requests it.
+1 -1
View File
@@ -8,7 +8,7 @@
* Same hand-rolled external store as `connectionStore`, for the same reason: a
* `useSyncExternalStore` snapshot is the whole requirement.
*
* Byte-identical with the portal's copy — see DESIGN-GUIDELINES.md § Sync rule.
* See DESIGN-GUIDELINES.md at the repository root for notification styling.
*/
export type NotificationSeverity = "error" | "warning" | "info" | "success"