fix card gradients and AI Pick tag alignment

Use a theme-qualified tab gradient start color in both AI Pick and market ranking so the fade no longer introduces a white tint in dark mode.

Add light and dark resource variants, and wrap AI Pick strategy tags in a fixed-height centered container while preserving single-line ellipsis behavior.
This commit is contained in:
clz
2026-07-27 19:34:13 +08:00
parent 10dc2787df
commit f57a0c3ebb
4 changed files with 18 additions and 7 deletions
@@ -499,7 +499,7 @@ export struct MarketRankingNodeComponent {
.height(30)
.linearGradient({
angle: 90,
colors: [[$r('app.color.transparent_white'), 0],
colors: [[$r('app.color.tab_gradient_start'), 0],
[$r('app.color.surface_layer1_foreground'), 1]],
})
.hitTestBehavior(HitTestMode.None)