Skip to content

Commit 47f75bb

Browse files
authored
refactor: allow using base style prop to set progress-bar height (#10575)
1 parent 36cb20f commit 47f75bb

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
:where(:root),
22
:where(:host) {
33
--vaadin-progress-bar-border-width: 0px;
4+
--vaadin-progress-bar-height: var(--vaadin-gap-s);
45
--vaadin-progress-bar-value-background: linear-gradient(
56
90deg,
67
var(--aura-accent-color),
78
color-mix(in hsl, var(--aura-accent-color) 60%, hsl(45, 0%, 95%))
89
);
910
}
1011

11-
vaadin-progress-bar {
12-
height: var(--vaadin-gap-s);
13-
14-
&[dir='rtl']::part(value) {
15-
scale: -1;
16-
}
12+
vaadin-progress-bar[dir='rtl']::part(value) {
13+
scale: -1;
1714
}

0 commit comments

Comments
 (0)