@@ -19,11 +19,14 @@ $toolbar-order-md: (
1919$toolbar-md-padding :                     4px   !default ;
2020$toolbar-md-height :                      5.6rem   !default ;
2121$toolbar-md-title-font-size :             2rem   !default ;
22+ $toolbar-md-title-text-color :            color-contrast ($colors-md , $toolbar-md-background , true ) !default ;
23+ 
2224$toolbar-md-button-font-size :            1.4rem   !default ;
23- $navbar-md-height :                       $toolbar-md-height  !default ;
2425
25- $bar-button-md-color :                    $toolbar-md-button-color  !default ;
26- $bar-button-md-border-radius :            2px   !default ;
26+ $toolbar-md-button-color :                $toolbar-md-title-text-color  !default ;
27+ $toolbar-md-button-border-radius :        2px   !default ;
28+ 
29+ $navbar-md-height :                       $toolbar-md-height  !default ;
2730
2831
2932.toolbar  {
@@ -62,7 +65,7 @@ ion-navbar-section {
6265
6366  font-size $toolbar-md-title-font-size ;
6467  font-weight 500 ;
65-   color $toolbar-md-text-color ;
68+   color $toolbar-md-title- text-color ;
6669}
6770
6871@mixin  md-toolbar-theme ($color-name , $color-base , $color-contrast ) {
@@ -142,7 +145,7 @@ ion-buttons[right] {
142145  height 32px  ;
143146
144147  border 0 ;
145-   border-radius $bar-button-md -border-radius ;
148+   border-radius $toolbar-md-button -border-radius ;
146149  font-size $toolbar-md-button-font-size ;
147150  font-weight 500 ;
148151  text-transform uppercase ;
@@ -174,17 +177,17 @@ ion-buttons[right] {
174177.bar-button-outline  {
175178  border-width 1px  ;
176179  border-style solid ;
177-   border-color $bar-button-md -color ;
178-   color $bar-button-md -color ;
180+   border-color $toolbar-md-button -color ;
181+   color $toolbar-md-button -color ;
179182  background-color transparent ;
180183
181184  & :hover:not (.disable-hover ) {
182185    opacity .4 ;
183186  }
184187
185188  & .activated  {
186-     color color-contrast ($colors-md , $bar-button- md-color );
187-     background-color $bar-button-md -color ;
189+     color color-contrast ($colors-md , $toolbar- md-button- color ,  true );
190+     background-color $toolbar-md-button -color ;
188191  }
189192}
190193
@@ -209,16 +212,16 @@ ion-buttons[right] {
209212//  --------------------------------------------------
210213
211214.bar-button-solid  {
212-   color color-contrast ($colors-md , $bar-button- md-color );
213-   background-color $bar-button-md -color ;
215+   color color-contrast ($colors-md , $toolbar- md-button- color ,  true );
216+   background-color $toolbar-md-button -color ;
214217
215218  & :hover:not (.disable-hover ) {
216-     color color-contrast ($colors-md , $bar-button- md-color );
219+     color color-contrast ($colors-md , $toolbar- md-button- color ,  true );
217220  }
218221
219222  & .activated  {
220-     color color-contrast ($colors-md , $bar-button- md-color );
221-     background-color color-shade ($bar-button-md -color );
223+     color color-contrast ($colors-md , $toolbar- md-button- color ,  true );
224+     background-color color-shade ($toolbar-md-button -color );
222225  }
223226}
224227
@@ -326,7 +329,7 @@ ion-buttons[right] {
326329//  Material Design Toolbar Color Generation
327330//  --------------------------------------------------
328331
329- @include  md-bar-button-default (default , $bar-button- md-color , color-contrast ($colors-md , $bar-button- md-color ));
332+ @include  md-bar-button-default (default , $toolbar- md-button- color , color-contrast ($colors-md , $toolbar- md-button- color ,  true ));
330333
331334@each  $color-name , $color-base , $color-contrast  in  get-colors ($colors-md ) {
332335  @include  md-toolbar-theme ($color-name , $color-base , $color-contrast );
0 commit comments