Commit d2258ca
authored
fix(list): theme variables replicated for all list components (#1853)
This PR fixes a critical issue with the list component that prevents it
from being styled using CSS variables alone.
The component includes the CSS variables for the list theme in all
list-related components (list-item, list-header, and the list host
itself), forcing people to have to override the variables in all three
instances.
This PR includes the theme CSS variables only in the list host, while
component specific overrides for the item and header are preserved and
carried by each component separately.1 parent 3f8fd3b commit d2258ca
File tree
18 files changed
+8
-182
lines changed- src/components/list/themes
- dark
- header
- item
- light
- header
- item
18 files changed
+8
-182
lines changedLines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 0 additions & 8 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 4 | | |
17 | 5 | | |
18 | 6 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 7 | | |
29 | | - | |
| 8 | + | |
30 | 9 | | |
31 | 10 | | |
32 | 11 | | |
33 | 12 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 13 | | |
44 | | - | |
| 14 | + | |
45 | 15 | | |
46 | 16 | | |
47 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 4 | | |
15 | 5 | | |
16 | 6 | | |
17 | 7 | | |
18 | 8 | | |
19 | 9 | | |
20 | 10 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 11 | + | |
25 | 12 | | |
26 | 13 | | |
27 | | - | |
| 14 | + | |
28 | 15 | | |
29 | 16 | | |
30 | | - | |
| 17 | + | |
31 | 18 | | |
32 | 19 | | |
33 | 20 | | |
34 | 21 | | |
35 | 22 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 23 | + | |
40 | 24 | | |
41 | 25 | | |
42 | | - | |
| 26 | + | |
43 | 27 | | |
44 | 28 | | |
45 | | - | |
| 29 | + | |
46 | 30 | | |
47 | 31 | | |
48 | 32 | | |
| |||
0 commit comments