Skip to content

Commit 1c65557

Browse files
committed
fix: use color-mix for gradient transparency in ComparisonTable component styles
1 parent f03258c commit 1c65557

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

website/.vitepress/theme/components/ComparisonTable.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,15 @@ defineProps<{
175175
background: linear-gradient(
176176
to bottom,
177177
theme('colors.amber.50'),
178-
theme('colors.amber.50/50')
178+
color-mix(in srgb, theme('colors.amber.50') 50%, transparent)
179179
);
180180
}
181181
182182
.dark .pro-header {
183183
background: linear-gradient(
184184
to bottom,
185-
theme('colors.amber.900/30'),
186-
theme('colors.amber.900/15')
185+
color-mix(in srgb, theme('colors.amber.900') 30%, transparent),
186+
color-mix(in srgb, theme('colors.amber.900') 15%, transparent)
187187
);
188188
}
189189

0 commit comments

Comments
 (0)