Refactoring
This commit is contained in:
1 parent
fd58a8d32f
commit
97e219456d
29 files changed
+45
-408
No files matched your search
@@ -11,7 +11,7 @@
|
||||
the point — the visual truth stays in the site's stylesheet, so the design system cannot
|
||||
drift from the site even as `base.css` changes, and each component's markup ports back to
|
||||
`.astro` one to one (every `<Name>.md` states the Astro equivalent).
|
||||
- **Do not port the page-level `.astro` components** (Hero, Stages, HowItWorks, GridObject).
|
||||
- **Do not port the page-level `.astro` components** (Hero, HowItWorks, GridObject).
|
||||
Their styles are scoped inside the `.astro` files, so a React copy would duplicate CSS and
|
||||
drift. The line is: global primitive classes are fair game, component-scoped styles are not.
|
||||
- `Stack` is the one component with no class behind it. Nothing in this system carries its own
|
||||
|
||||
Reference in new issue
Block a user