Skip to content

Conversation

@HansMuller
Copy link
Contributor

Fixes the build.

TBR: @goderbauer

@HansMuller HansMuller merged commit 99a2293 into flutter:master Oct 3, 2018
@HansMuller HansMuller deleted the colorscheme_dartdoc branch October 3, 2018 00:36
Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


/// Create a color scheme from a [MaterialColor] swatch.
///
/// This constructor is used by [ThemeData] to create its default \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: why the trailing \?

/// The background color for widgets like [Card].
final Color surface;

/// A color that's clearly legible when drawn on [primary].
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be worth to link to the a11y guidelines that recommend a contrast ratio of 4.5:1 for the two colors: https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants