feat(KLEF-42): Glass Components - #2
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the component showcase and several domain UI components to adopt a new “glassmorphism” visual system (glows, semi-transparent surfaces), including new data-* styling hooks (frosted, focus, spotlight) on card-like components.
Changes:
- Updated
ServerCardandMetricCardto supportfrosted/focus/spotlightprops viadata-*attributes and switched to glass-oriented class names. - Refreshed badge components (
StatusBadge,PlanBadge,RegionBadge) with new color/alpha tokens and glow/shadow styling. - Refactored
ComponentsPagelayout/styling and added a progress auto-advance demo with speed toggles.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/domain/StatusBadge.tsx | Adds glow/shadow styling and shifts stopped styling to white alpha tokens. |
| src/domain/ServerCard.tsx | Adds frosted/focus/spotlight props and switches to glass-oriented surface classes and tokens. |
| src/domain/RegionBadge.tsx | Updates badge visuals to glass/alpha styling with subtle shadow. |
| src/domain/PlanBadge.tsx | Updates tier styles (notably free, pro, enterprise) to new glass/token palette. |
| src/domain/MetricCard.tsx | Adds frosted/focus/spotlight props and switches to glass-oriented layout/styling. |
| src/ComponentsPage.tsx | Refactors the showcase layout and styling, installs glow-follow behavior, and adds progress speed controls. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
isaacwallace123
approved these changes
May 13, 2026
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.
Pull Request
Summary
This PR revamps the UI components to integrate the latest glassmorphism design patterns. It overhauls the
ServerCard,StatusBadge, andResourceBarcomponents with glowing effects, semi-transparent backgrounds, and new interactive styling attributes to match the updated application aesthetic.Related Issues
Closes #KLEF-42
Changes
What's Included
ServerCardto use the newoverview-glass-cardclass and added support forfrosted,focus, andspotlightprops (viadata-*attributes).zinccolors with dynamic, semi-transparentwhitealphas.StatusBadgeconfigurations to include glowing drop shadows (shadow-[0_0_8px_...]) for each status state.ResourceBarwith inset shadows and glowing progress indicators.ServerCardto utilize the newglass-surfacestyling and hover effects.What's Not Included
@kleffio/uiin this PR (it only consumes the updated tokens).Testing
How Was This Tested?
overview-glass-cardstyles and glowing effects locally.data-frosted,data-focus, anddata-spotlightattributes apply correctly on theServerCard.Test Coverage
Breaking Changes
Does this PR introduce breaking changes?
If yes, describe the impact and any required migration steps:
Security Considerations
If any box is checked, describe the security impact and any mitigations applied:
Documentation
Does this PR require documentation updates?
If yes, check all that apply:
README.mdARCHITECTURE.md/docsUI/UX (If Applicable)
Screenshots or recordings:
(Feel free to drop screenshots of the updated ServerCard and StatusBadges here)
Pre-Merge Checklist
feat:,fix:,chore:,docs:,refactor:,test:)Reviewer Notes
This PR aligns the components with the newly established glassmorphism design system.