-
Notifications
You must be signed in to change notification settings - Fork 29.4k
Closed
Closed
Copy link
Labels
c: API breakBackwards-incompatible API changesBackwards-incompatible API changesf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Milestone
Description
The Material Dark Theme spec has been updated (or soon will be) to clarify that the elevation overlay that is applied to surface colors to indicate elevation should be based off of the colorScheme.onSurface color and not white.
This is simple to fix, but will potentially break apps that were depending on it being white and not the onSurface color. This is likely of minimal impact, as this feature was just introduced and if an app is using the base Material dark theme (i.e. using ColorScheme.dark()), the surface color is white so there won't be any visible difference.
Metadata
Metadata
Assignees
Labels
c: API breakBackwards-incompatible API changesBackwards-incompatible API changesf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.