File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
packages/stream_core_flutter/lib/src/components/common Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -255,17 +255,6 @@ class _StreamSkeletonLoadingThemeDefaults extends StreamSkeletonLoadingThemeData
255255
256256 late final StreamColorScheme _colorScheme = context.streamColorScheme;
257257
258- // The shimmer package uses BlendMode.srcATop which replaces child pixels
259- // with the gradient. The highlight color is brightness-aware: light mode
260- // uses a semi-transparent white overlay, dark mode uses the deepest chrome
261- // shade to create a subtle darkening sweep.
262- //
263- // NOTE: Component theme defaults should generally avoid depending on
264- // [Theme.brightnessOf] and instead rely solely on [StreamColorScheme]
265- // semantics. This is an exception because the chrome surface hierarchy
266- // inverts between light and dark modes, so no single semantic color pair
267- // produces the correct base→highlight contrast in both brightnesses.
268-
269258 @override
270259 Color get baseColor => _colorScheme.backgroundSurfaceStrong;
271260
You can’t perform that action at this time.
0 commit comments