-
Notifications
You must be signed in to change notification settings - Fork 48
Use astro orbit #574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use astro orbit #574
Conversation
✅ Deploy Preview for deltaio-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
37c21b0 to
1c46b59
Compare
…e scripts/styles and external resources - Updated theme configuration to import astro-orbit/theme.css, added Delta Lake branding overrides via @theme block, and moved @Utility directives to main theme.css for Tailwind v4 processing. - Fixed LakeSection component to use getImage from astro:assets for proper background image processing - Resolved styling issues by ensuring CSS variables and utility classes are processed correctly Signed-off-by: Yufa <112290188+01001101CK@users.noreply.github.com>
- Completed migration, removed lib/delta-theme, fixed all styling issues Signed-off-by: Yufa <112290188+01001101CK@users.noreply.github.com>
- Wraps astro-orbit Section component to maintain backward compatibility - Adds support for title, titleSize, isHeaderCentered props - Supports before-header and subtitle slots - Forwards all other props (padding, className, etc.) to astro-orbit Section Signed-off-by: Yufa <112290188+01001101CK@users.noreply.github.com>
- If still "loading" → wait for DOMContentLoaded - If already "complete" or "interactive" → initialize immediately Signed-off-by: Yufa <112290188+01001101CK@users.noreply.github.com>
6fd30bf to
61494cc
Compare
Signed-off-by: Yufa <112290188+01001101CK@users.noreply.github.com>
Signed-off-by: Yufa <112290188+01001101CK@users.noreply.github.com>
jakebellacera
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial feedback.
Also, I didn't see the _headers changes. Did those not come through?
| a, | ||
| button { | ||
| /* Use :global() to make styles global so they override astro-orbit's button styles */ | ||
| :global(a.variant-primary), | ||
| :global(button.variant-primary), | ||
| :global(a.variant-secondary), | ||
| :global(button.variant-secondary), | ||
| :global(a.variant-accent), | ||
| :global(button.variant-accent), | ||
| :global(a.variant-more), | ||
| :global(button.variant-more), | ||
| :global(a.button-size-sm), | ||
| :global(button.button-size-sm), | ||
| :global(a.button-size-md), | ||
| :global(button.button-size-md) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a smell.
Rather than moving the components around in this project, why not merge what we have into astro-orbit? Ideally everything in lib/delta-theme (now src/components/ui) should be moved into astro-orbit, and all we should be left with are a few necessary components to build the pages which extend astro-orbit stuff. Then we shouldn't need to worry so much about specificity.
What changed?
<Section>wrapper component to extend astro-orbit Section with title, titleSize, isHeaderCentered props, and before-header/subtitle slots.Corresponding Ticket:
db-os-dev #22