1. 21 Oct, 2017 1 commit
    • Yegor's avatar
      Theme.of provides all TextStyle properties (#12552) · 67d16cd5
      Yegor authored
      * Theme provides all TextStyle properties
      
      * match field declaration order in the test
      
      * Theme.of returns text style with inherit == false
      
      * change TextStyle.inherit logic; docs
      
      * add TextStyle.debugLabel
      
      * address comments
      
      * add debug labels to Typography text styles
      67d16cd5
  2. 05 Jun, 2017 1 commit
  3. 14 May, 2017 1 commit
    • Adam Barth's avatar
      Estimate the brightness of the primary color (#10071) · 49b183c5
      Adam Barth authored
      If the caller doesn't explicitly give the brightness of the primary
      color, we now estimate it using an algorithm from the Web Content
      Accessibility Guidelines.
      
      Also, this patch contains a function that converts RGB colors to
      HSVColors. I was originally going to use that, but the WCAG algorithm
      ended up seeming like a better choice. The patch still includes this
      function because it's generally useful.
      
      Fixes #5718
      49b183c5
  4. 26 Mar, 2017 1 commit
  5. 04 Mar, 2017 1 commit
  6. 20 Jan, 2017 1 commit
  7. 10 Nov, 2016 1 commit
    • Chris Bracken's avatar
      Add accentTextTheme and accentIconTheme to ThemeData (#6808) · d0ff41ec
      Chris Bracken authored
      These define a TextTheme and IconTheme that contrast with the accent
      colour brightness. Also adjust default accentColorBrightness to match
      Material spec examples (dark text/icons on teal in Dark theme).
      
      Update material components to use accentTextTheme, accentIconTheme:
      * DatePicker selection
      * Floating action button icon
      * TimePicker selection
      * Slider label text
      d0ff41ec
  8. 02 Nov, 2016 1 commit