@@ -12,7 +12,7 @@ const shellCardStyle: React.CSSProperties = {
1212const metricStyle : React . CSSProperties = {
1313 ...shellCardStyle ,
1414 minHeight : 144 ,
15- background : 'linear-gradient(180deg, rgba(110,65,191,0.1 ), rgba(110,65,191,0.02 ))' ,
15+ background : 'linear-gradient(180deg, color-mix(in srgb, var(--ty-color-primary) 10%, transparent ), color-mix(in srgb, var(--ty-color-primary-bg) 70%, transparent ))' ,
1616} ;
1717
1818const sectionLabelStyle : React . CSSProperties = {
@@ -108,12 +108,12 @@ export default function DashboardShellDemo() {
108108 < Text type = "secondary" > Last 7 days</ Text >
109109 </ div >
110110 < Grid columns = { 6 } gap = { 8 } align = "end" style = { { minHeight : 84 } } >
111- < div style = { { height : 42 , borderRadius : 8 , background : 'rgba(110,65,191,0.18 )' } } />
112- < div style = { { height : 68 , borderRadius : 8 , background : 'rgba(110,65,191,0.24 )' } } />
113- < div style = { { height : 54 , borderRadius : 8 , background : 'rgba(110,65,191,0.2 )' } } />
114- < div style = { { height : 88 , borderRadius : 8 , background : 'rgba(110,65,191,0.28 )' } } />
115- < div style = { { height : 60 , borderRadius : 8 , background : 'rgba(110,65,191,0.22 )' } } />
116- < div style = { { height : 76 , borderRadius : 8 , background : 'rgba(110,65,191,0.26 )' } } />
111+ < div style = { { height : 42 , borderRadius : 8 , background : 'color-mix(in srgb, var(--ty-color-primary) 18%, transparent )' } } />
112+ < div style = { { height : 68 , borderRadius : 8 , background : 'color-mix(in srgb, var(--ty-color-primary) 24%, transparent )' } } />
113+ < div style = { { height : 54 , borderRadius : 8 , background : 'color-mix(in srgb, var(--ty-color-primary) 20%, transparent )' } } />
114+ < div style = { { height : 88 , borderRadius : 8 , background : 'color-mix(in srgb, var(--ty-color-primary) 28%, transparent )' } } />
115+ < div style = { { height : 60 , borderRadius : 8 , background : 'color-mix(in srgb, var(--ty-color-primary) 22%, transparent )' } } />
116+ < div style = { { height : 76 , borderRadius : 8 , background : 'color-mix(in srgb, var(--ty-color-primary) 26%, transparent )' } } />
117117 </ Grid >
118118 < Text type = "secondary" > Wide content region spanning two columns on desktop.</ Text >
119119 </ Card >
0 commit comments