Fix light mode contrast issues on marketing pages
Force white text inside .hero-dark-grid since its background is always dark, and replace bg-surface-variant with the theme-aware section-alt-bg class on the About page Values and Stats sections. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -38,6 +38,27 @@
|
|||||||
background: radial-gradient(circle, rgba($primary, 0.15) 0%, transparent 70%);
|
background: radial-gradient(circle, rgba($primary, 0.15) 0%, transparent 70%);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Force light text since background is always dark
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
.text-medium-emphasis {
|
||||||
|
color: rgba(255, 255, 255, 0.7) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-disabled {
|
||||||
|
color: rgba(255, 255, 255, 0.4) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-high-emphasis {
|
||||||
|
color: rgba(255, 255, 255, 0.9) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Outlined buttons need visible borders on dark bg
|
||||||
|
.v-btn--variant-outlined {
|
||||||
|
border-color: rgba(255, 255, 255, 0.5);
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Glass morphism cards — theme-aware
|
// Glass morphism cards — theme-aware
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ const stats = [
|
|||||||
</VContainer>
|
</VContainer>
|
||||||
|
|
||||||
<!-- Values -->
|
<!-- Values -->
|
||||||
<div class="bg-surface-variant py-16">
|
<div class="section-alt-bg py-16">
|
||||||
<VContainer>
|
<VContainer>
|
||||||
<SectionHeader
|
<SectionHeader
|
||||||
label="Our Values"
|
label="Our Values"
|
||||||
@@ -97,7 +97,7 @@ const stats = [
|
|||||||
</VContainer>
|
</VContainer>
|
||||||
|
|
||||||
<!-- Stats -->
|
<!-- Stats -->
|
||||||
<div class="bg-surface-variant py-16">
|
<div class="section-alt-bg py-16">
|
||||||
<VContainer>
|
<VContainer>
|
||||||
<VRow>
|
<VRow>
|
||||||
<VCol v-for="stat in stats" :key="stat.label" cols="6" md="3">
|
<VCol v-for="stat in stats" :key="stat.label" cols="6" md="3">
|
||||||
|
|||||||
Reference in New Issue
Block a user