@@ -22,11 +22,13 @@ $toolbar-wp-title-padding: 0 6px !default;
22
22
$toolbar-wp-title-font-size : 1.5rem !default ;
23
23
$toolbar-wp-title-font-weight : bold !default ;
24
24
$toolbar-wp-title-text-transform : uppercase !default ;
25
+ $toolbar-wp-title-text-color : color-contrast ($colors-wp , $toolbar-wp-background ) !default ;
26
+
25
27
$toolbar-wp-button-font-size : 1.4rem !default ;
26
- $navbar-wp-height : $toolbar-wp-height !default ;
28
+ $toolbar-wp-button-color : color-contrast ($colors-wp , $toolbar-wp-background ) !default ;
29
+ $toolbar-wp-button-border-radius : 2px !default ;
27
30
28
- $bar-button-wp-color : $toolbar-wp-button-color !default ;
29
- $bar-button-wp-border-radius : 2px !default ;
31
+ $navbar-wp-height : $toolbar-wp-height !default ;
30
32
31
33
32
34
.toolbar {
@@ -66,7 +68,7 @@ ion-navbar-section {
66
68
font-size : $toolbar-wp-title-font-size ;
67
69
font-weight : $toolbar-wp-title-font-weight ;
68
70
text-transform : $toolbar-wp-title-text-transform ;
69
- color : $toolbar-wp-text-color ;
71
+ color : $toolbar-wp-title- text-color ;
70
72
}
71
73
72
74
@mixin wp-toolbar-theme ($color-name , $color-base , $color-contrast ) {
@@ -146,7 +148,7 @@ ion-buttons[right] {
146
148
height : 32px ;
147
149
148
150
border : 0 ;
149
- border-radius : $bar-button-wp -border-radius ;
151
+ border-radius : $toolbar-wp-button -border-radius ;
150
152
font-size : $toolbar-wp-button-font-size ;
151
153
font-weight : 500 ;
152
154
text-transform : uppercase ;
@@ -178,17 +180,17 @@ ion-buttons[right] {
178
180
.bar-button-outline {
179
181
border-width : 1px ;
180
182
border-style : solid ;
181
- border-color : $bar-button-wp -color ;
182
- color : $bar-button-wp -color ;
183
+ border-color : $toolbar-wp-button -color ;
184
+ color : $toolbar-wp-button -color ;
183
185
background-color : transparent ;
184
186
185
187
& :hover:not (.disable-hover ) {
186
188
opacity : .4 ;
187
189
}
188
190
189
191
& .activated {
190
- color : color-contrast ($colors-wp , $bar-button-wp -color );
191
- background-color : $bar-button-wp -color ;
192
+ color : color-contrast ($colors-wp , $toolbar-wp-button -color );
193
+ background-color : $toolbar-wp-button -color ;
192
194
}
193
195
}
194
196
@@ -213,16 +215,16 @@ ion-buttons[right] {
213
215
// --------------------------------------------------
214
216
215
217
.bar-button-solid {
216
- color : color-contrast ($colors-wp , $bar-button-wp -color );
217
- background-color : $bar-button-wp -color ;
218
+ color : color-contrast ($colors-wp , $toolbar-wp-button -color );
219
+ background-color : $toolbar-wp-button -color ;
218
220
219
221
& :hover:not (.disable-hover ) {
220
- color : color-contrast ($colors-wp , $bar-button-wp -color );
222
+ color : color-contrast ($colors-wp , $toolbar-wp-button -color );
221
223
}
222
224
223
225
& .activated {
224
- color : color-contrast ($colors-wp , $bar-button-wp -color );
225
- background-color : color-shade ($bar-button-wp -color );
226
+ color : color-contrast ($colors-wp , $toolbar-wp-button -color );
227
+ background-color : color-shade ($toolbar-wp-button -color );
226
228
}
227
229
}
228
230
@@ -330,7 +332,7 @@ ion-buttons[right] {
330
332
// Windows Toolbar Color Generation
331
333
// --------------------------------------------------
332
334
333
- @include wp-bar-button-default (default , $bar-button- wp-color , color-contrast ($colors-wp , $bar-button-wp -color ));
335
+ @include wp-bar-button-default (default , $toolbar- wp-button- color , color-contrast ($colors-wp , $toolbar-wp-button -color ));
334
336
335
337
@each $color-name , $color-base , $color-contrast in get-colors ($colors-wp ) {
336
338
@include wp-toolbar-theme ($color-name , $color-base , $color-contrast );
0 commit comments