Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions apps/web/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -548,14 +548,7 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
.alert-glass {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Low src/index.css:548

The .alert-glass rule now applies an opaque background and drops backdrop-filter for every variant, so info, success, and warning composer banners lose their translucent glass treatment. ComposerBannerStackAlert applies .alert-glass to all variants, so the opaque override should be scoped to .alert-glass[data-variant="error"].

🤖 Copy this AI Prompt to have your agent fix this:
In file @apps/web/src/index.css around line 548:

The `.alert-glass` rule now applies an opaque `background` and drops `backdrop-filter` for every variant, so `info`, `success`, and `warning` composer banners lose their translucent glass treatment. `ComposerBannerStackAlert` applies `.alert-glass` to all variants, so the opaque override should be scoped to `.alert-glass[data-variant="error"]`.

--alert-glass-tint: transparent;

background:
linear-gradient(
color-mix(in srgb, var(--alert-glass-tint) 4%, transparent),
color-mix(in srgb, var(--alert-glass-tint) 4%, transparent)
),
color-mix(in srgb, var(--background) var(--glass-opacity), transparent) !important;
-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
background: color-mix(in srgb, var(--background) 96%, var(--alert-glass-tint)) !important;
}

.alert-glass[data-variant="error"] {
Expand Down
Loading