Replace vendored twui library with @moduletrace/twui package

- Import all twui layout/elements components and base.css from the
  @moduletrace/twui package instead of src/components/lib
- Move the site's own motion and three modules out of the old lib
  folder into src/components/motion and src/components/three
- Delete the vendored src/components/lib folder and its tsconfig excludes
- Type BlogPostsListCard's post prop with the DB blog post type,
  fixing the type error in BlogPostsList

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-03 12:30:16 +01:00
co-authored by Claude Opus 5.5
parent 3ceeca1be0
commit 6e7219d30b
156 changed files with 108 additions and 13297 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
@import "../components/lib/base.css";
@import "@moduletrace/twui/base.css";
:root {
--header-height: 78px;
@@ -104,7 +104,7 @@
@apply opacity-20 my-6;
}
/* ---- Motion system (see src/components/lib/motion/motion.ts) ---- */
/* ---- Motion system (see src/components/motion/motion.ts) ---- */
html.motion:not(.motion-fallback) [data-reveal],
html.motion:not(.motion-fallback) [data-reveal-stagger] > * {
visibility: hidden;