Make documentation standalone and generalize examples
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user