Brandy Carney
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
Brandy Carney
67590745e4
fix(toolbar): remove color change from outline buttons in toolbar
...
add color to ripple for outline buttons in toolbar
references #6364
2016-05-05 12:49:28 -06:00
Brandy Carney
9f54f160f0
fix(toolbar): md mode use the color contrast for toolbar button/title
...
BREAKING CHANGES:
`$toolbar-md-button-color` no longer gets passed to the function that
sets the contrast color for toolbar buttons, but it can still be used
to set the default button color.
`$bar-button-md-color` was renamed to `$toolbar-md-button-color`
`$bar-button-md-border-radius` was renamed to
`$toolbar-md-button-border-radius`
references #6364
2016-05-05 11:13:37 -06:00
Brandy Carney
203b07809e
Revert "fix(sass): remove global imports from components"
...
This reverts commit dad2155ecd .
2016-04-11 13:24:58 -04:00
Brandy Carney
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
Brandy Carney
7dc58ef2dd
fix(toolbar): fix back button for md mode
...
fixes #5923
2016-03-23 12:53:06 -04:00
Brandy Carney
5fc77b5081
chore(sass): fix linter errors
2016-03-23 12:33:56 -04:00
Brandy Carney
9efa3ea3e6
feat(sass): add support for contrast color in MD mode colors map
...
BREAKING CHANGE:
Can now pass contrast to the colors map:
```
$colors-md: (
primary: (
base: #327eff,
contrast: yellow
),
secondary: (
base: #32db64,
contrast: hotpink
),
danger: #d91e18,
light: #f4f4f4,
dark: #222
) !default;
```
references #5445
2016-03-22 17:53:08 -04:00
Brandy Carney
d3d689ae11
style(sass): remove all PropertySortOrder errors from linter
...
references #5797
2016-03-14 15:56:19 -04:00
Brandy Carney
f7b52eeee1
chore(sass): update sass to match linter config
...
references #5797
2016-03-10 22:42:38 -05:00
Brandy Carney
5fb1e08347
fix(toolbar): add a min-width to the toolbar content so that it won't overlap buttons
...
fixes #5657
2016-03-01 12:59:29 -05:00
Adam Bradley
892b0071cb
fix(sass): rename brightness/inverse sass functions
...
Prefix custom sass color functions with color-
Closes #5542
2016-02-20 20:34:59 -06:00
Brandy Carney
bd0376072b
fix(toolbar): fix md toolbar so it doesn't flow off the screen
...
closes #5414
2016-02-13 13:31:36 -05:00
Adam Bradley
8401aa4449
style(button): format css
2016-02-10 09:11:40 -06:00
Manu Mtz.-Almeida
38a3be438f
fix(button): bar-button uses inner span as flexbox
...
- Fixed block/full buttons, now there are display: block
- Fixes <ion-segment-button> warnings
2016-02-10 15:49:19 +01:00
Adam Bradley
da18868636
refactor(animations): inline css animations
2016-02-09 16:23:01 -06:00
Adam Bradley
cad9e498e7
feat(button): increase hit area of toolbar buttons
2016-01-31 23:09:43 -06:00
Brandy Carney
706832f031
fix(toolbar): make iOS toolbar closer to native
...
aligned title and back button, increased font size of back icon,
removed color shade from toolbar buttons, increased font weight of
title, changed primary color, reduced back button text letter spacing.
Fixes #5149
2016-01-22 14:14:33 -05:00
Brandy Carney
a4137d2bdc
fix(toolbar): remove opacity on md buttons in a toolbar
...
remove the opacity from the activated class for md buttons
closes #5131
2016-01-22 11:50:59 -05:00
Adam Bradley
883e1b68b1
refactor(icon): rename icon to ion-icon
...
Closes #855
2016-01-05 22:27:07 -06:00
Brandy Carney
d5e0570193
fix(toolbar): fixed default button colors for MD in a toolbar, added new function to get this inverse
...
closes #91
2015-12-15 16:41:33 -05:00
Adam Bradley
5d6d9b9610
chore(upgrad): ng alpha52 and case-sensitive templates
2015-12-10 22:52:55 -06:00
Brandy Carney
901508e035
fix(toolbar/tabs): change toolbar-background to use the background property
...
Renamed Sass variables for toolbar and tabbar to use just background,
not color. Closes #716
2015-12-10 11:10:53 -05:00
Brandy Carney
854d90f4c1
refactor(sass): moved all mode files to the top level component directory and renamed to include the directory name
...
references #689
2015-12-09 17:20:11 -05:00