Fix (web): Update the style of segmented controls and add metallic texture gradients (#9591)

### What problem does this PR solve?

Fix (web): Update the style of segmented controls and add metallic
texture gradients #3221
-Modified the selected state style of Segmented components, adding
metallic texture gradient and lower border
-Added a metallic gradient background image in tailwind.diag.js
-Added the -- metallic variable in tailwind.css to define metallic
texture colors

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-08-20 13:39:23 +08:00
committed by GitHub
parent f860bdf0ad
commit 55173c7201
3 changed files with 8 additions and 2 deletions

View File

@ -206,6 +206,10 @@ module.exports = {
ring: 'hsl(var(--sidebar-ring))',
},
},
backgroundImage: {
'metallic-gradient':
'linear-gradient(104deg, var(--text-primary) 30%, var(--metallic) 50%, var(--text-primary) 70%)',
},
borderRadius: {
lg: `var(--radius)`,
md: `calc(var(--radius) - 2px)`,