Commit 5299593
committed
Fix cascade ordering for indexed theme lookups in inline path
The indexed lookup mixin (e.g. $colorMixins.backgroundColor[bg]) was placed
before style functions added during attr processing, causing hover's
`default: null` to override the mixin's backgroundColor. Changed from
`afterBase: true` to `afterVariants: true` and added afterVariants handling
in the inline rewrite-jsx path so these entries are appended last.
https://claude.ai/code/session_01EhFJ4W5QixJn7ZLPzMbxPL1 parent 96e19f4 commit 5299593
File tree
3 files changed
+14
-4
lines changed- src/internal
- lower-rules
- transform-steps
- test-cases
3 files changed
+14
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | | - | |
| 668 | + | |
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| 407 | + | |
407 | 408 | | |
408 | 409 | | |
409 | 410 | | |
| |||
426 | 427 | | |
427 | 428 | | |
428 | 429 | | |
429 | | - | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
430 | 433 | | |
431 | 434 | | |
432 | 435 | | |
| |||
437 | 440 | | |
438 | 441 | | |
439 | 442 | | |
440 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
441 | 448 | | |
442 | 449 | | |
443 | 450 | | |
| |||
757 | 764 | | |
758 | 765 | | |
759 | 766 | | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
760 | 770 | | |
761 | 771 | | |
762 | 772 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments