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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user