feat(styleguide): add sun & moon halo lab sub-page#56
Open
johannesjo wants to merge 1 commit into
Open
Conversation
🌅 minded previewThis PR is deployed and ready to explore:
Updated for c1ec166. Auto-removed when the PR closes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a halo lab sub-page to the styleguide for comparing sun/moon halo & glow treatments side by side and over the live page gradient.
--background-gradientso a pale halo is judged in context, not on a flat card.How
StyleguideHalos.tsx— the sub-page (grid + full-screen drag stage). OneHaloDisccomponent backs both views; only the--halo-*custom properties change per variant.haloVariants.ts— the 24 recipes, expressed purely as CSS-variable strings (--halo-disc/--halo-shadow/--halo-wash) so a winner ports intoSun.scssby copying three strings. Moons set--halo-wash: noneto keep the night scene free of warm wash.styleguideHalos.module.scss— grid, disc, and stage styling; halo breathes via opacity only (compositor-cheap) and respectsprefers-reduced-motion.Styleguide.tsx— ashowHalossignal swaps the page for the lab via<Show>; reuses<Btn>and the sharedBackgroundTransition.Notes
main(resolved against the new let-go demo and dashboard-simulation sub-page); all three styleguide entry points coexist.