Skip to content

Commit c13b099

Browse files
authored
fix: do not use gradient background in Firefox 145 or below (#10626)
1 parent 7347ab7 commit c13b099

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

packages/aura/src/color.css

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@
3232
);
3333
--aura-app-background: var(--aura-background-color);
3434

35-
@supports (color: hsl(0 0 0)) {
36-
--aura-app-background:
37-
var(--_bg-accent),
38-
radial-gradient(circle at 25% 0% in xyz, var(--aura-background-color) 33%, var(--_bg-alt))
39-
var(--aura-background-color);
40-
}
4135
--vaadin-focus-ring-color: var(--aura-accent-color);
4236
--vaadin-user-color: var(--aura-blue);
4337
color: var(--vaadin-text-color);
@@ -46,6 +40,17 @@
4640
background-attachment: fixed;
4741
}
4842

43+
@supports (color: hsl(0 0 0)) {
44+
@scope (:root) {
45+
:scope {
46+
--aura-app-background:
47+
var(--_bg-accent),
48+
radial-gradient(circle at 25% 0% in xyz, var(--aura-background-color) 33%, var(--_bg-alt))
49+
var(--aura-background-color);
50+
}
51+
}
52+
}
53+
4954
:where(:root),
5055
:where(:host),
5156
vaadin-app-layout > :not([slot]),

0 commit comments

Comments
 (0)