light constant
GlassThemeVariant
const light
Default light theme variant.
quality is intentionally null here so that each widget's own
documented default quality is respected (e.g. GlassBottomBar defaults
to GlassQuality.premium). Set quality explicitly in your
GlassThemeVariant to override all widgets globally.
Implementation
static const GlassThemeVariant light = GlassThemeVariant(
settings: GlassThemeSettings(
thickness: 12.0, // Slightly thicker than dark — needs more body on white
blur: 5.0, // Matched with dark for consistency
glassColor: Color.fromRGBO(210, 220, 240, 0.12), // ~12% cool blue-white
lightAngle: 2.356, // 0.75 * pi ≈ 135° — upper-left, matches iOS 26
lightIntensity: 0.85, // Softer — bright backgrounds need less highlight
ambientStrength: 0.15, // Touch of ambient keeps glass visible on white
refractiveIndex: 1.2,
saturation: 1.2,
chromaticAberration: 0.02, // Subtle prismatic edge, not distracting
),
quality: null,
glowColors: GlassGlowColors.fallback,
);