Skip to content

Commit 0cff09b

Browse files
committed
remove outdated comment
1 parent 49f0a7c commit 0cff09b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

packages/stream_core_flutter/lib/src/components/common/stream_skeleton_loading.dart

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)