13 Commits

Author SHA1 Message Date
3ca3027b51 fix(toolbar): add the mode to the inverse function for a toolbar
Use the mode instead of the sass variable to determine which color the
buttons in a toolbar should be based on the background color. Added
error messages when anything other than a color is passed and more
comments.

BREAKING CHANGES: ios mode `$toolbar-ios-button-color` now has a
default value of `color-contrast($colors-ios, $toolbar-ios-background,
ios)` which will evaluate to the primary color for light background
toolbars and white for dark background toolbars.

fixes #6364
2016-05-10 13:46:38 -04:00
62bd13ba56 fix(toolbar): wp get title/button color from the contrast of toolbar background
BREAKING CHANGES:

`$bar-button-wp-color` was renamed to `$toolbar-wp-button-color`
`$bar-button-wp-border-radius` was renamed to
`$toolbar-wp-button-border-radius`

Added `$toolbar-wp-title-text-color` for better control of the title
color

Removed `$toolbar-wp-button-color` from the default themes

references #6364
2016-05-10 10:34:08 -04:00
203b07809e Revert "fix(sass): remove global imports from components"
This reverts commit dad2155ecdf3f1b9864996c5a843f451ff4f0aef.
2016-04-11 13:24:58 -04:00
dad2155ecd fix(sass): remove global imports from components
globals.mode is already imported in the components.mode file, so it
doesn’t need to be imported per component

fixes #5931
2016-04-11 11:59:44 -04:00
9a23a925a4 fix(toolbar): fix wp back button in toolbar
references #5923
2016-03-23 13:35:16 -04:00
5f2e737904 feat(sass): add support for contrast in color map for wp mode
BREAKING CHANGE:

Can now pass contrast to the colors map:

```
$colors-wp: (

  primary: (
    base: #327eff,
    contrast: yellow
  ),
  secondary: (
    base: #32db64,
    contrast: hotpink
  ),
  danger: #d91e18,
  light: #f4f4f4,
  dark: #222
) !default;
```

references #5445
2016-03-22 18:07:59 -04:00
d3d689ae11 style(sass): remove all PropertySortOrder errors from linter
references #5797
2016-03-14 15:56:19 -04:00
96375b6e83 fix(toolbar): reduce min width on back button for wp mode
closes #5759
2016-03-14 12:54:12 -04:00
f7b52eeee1 chore(sass): update sass to match linter config
references #5797
2016-03-10 22:42:38 -05:00
29ff7f1159 feat(windows): UI fixes
references #5565
2016-03-03 17:39:53 -05:00
e05f147945 feat(windows): windows UI cleanup
references #5565
2016-02-25 16:17:26 -05:00
dd206ad7d6 feat(windows): add radio component for wp mode
fixed radio and checkbox in alert, updated toolbar

references #5565
2016-02-23 15:56:59 -05:00
6062bb6dbb feat(windows): initial add of toolbar with some custom theming
references #5565
2016-02-23 12:59:12 -05:00