File tree Expand file tree Collapse file tree 8 files changed +59
-6
lines changed Expand file tree Collapse file tree 8 files changed +59
-6
lines changed Original file line number Diff line number Diff line change @@ -119,14 +119,20 @@ $button-ios-clear-opacity-hover: .6 !default;
119
119
// iOS Round Button
120
120
// --------------------------------------------------
121
121
122
-
123
122
/// @prop - Padding of the round button
124
123
$button-ios-round-padding : $button-round-padding !default ;
125
124
126
125
/// @prop - Border radius of the round button
127
126
$button-ios-round-border-radius : $button-round-border-radius !default ;
128
127
129
128
129
+ // iOS Decorator Button
130
+ // --------------------------------------------------
131
+
132
+ /// @prop - Font weight of the strong button
133
+ $button-ios-strong-font-weight : 600 !default ;
134
+
135
+
130
136
// iOS Default Button
131
137
// --------------------------------------------------
132
138
@@ -318,5 +324,5 @@ $button-ios-round-border-radius: $button-round-border-radius
318
324
// --------------------------------------------------
319
325
320
326
.button-strong-ios {
321
- font-weight : 600 ;
327
+ font-weight : $button-ios-strong-font-weight ;
322
328
}
Original file line number Diff line number Diff line change @@ -162,6 +162,13 @@ $button-md-round-padding: $button-round-padding !default;
162
162
$button-md-round-border-radius : $button-round-border-radius !default ;
163
163
164
164
165
+ // Material Design Decorator Button
166
+ // --------------------------------------------------
167
+
168
+ /// @prop - Font weight of the strong button
169
+ $button-md-strong-font-weight : bold !default ;
170
+
171
+
165
172
// Material Design Default Button
166
173
// --------------------------------------------------
167
174
@@ -424,3 +431,11 @@ $button-md-round-border-radius: $button-round-border-radius !def
424
431
@include md-button-outline ($color-name , $color-base , $color-contrast );
425
432
@include md-button-clear ($color-name , $color-base , $color-contrast );
426
433
}
434
+
435
+
436
+ // MD strong Button
437
+ // --------------------------------------------------
438
+
439
+ .button-strong-md {
440
+ font-weight : $button-md-strong-font-weight ;
441
+ }
Original file line number Diff line number Diff line change @@ -117,6 +117,13 @@ $button-wp-round-padding: $button-round-padding
117
117
$button-wp-round-border-radius : $button-round-border-radius !default ;
118
118
119
119
120
+ // Material Design Decorator Button
121
+ // --------------------------------------------------
122
+
123
+ /// @prop - Font weight of the strong button
124
+ $button-wp-strong-font-weight : bold !default ;
125
+
126
+
120
127
// Windows Default Button
121
128
// --------------------------------------------------
122
129
@@ -315,3 +322,11 @@ $button-wp-round-border-radius: $button-round-border-r
315
322
@include wp-button-outline ($color-name , $color-base , $color-contrast );
316
323
@include wp-button-clear ($color-name , $color-base , $color-contrast );
317
324
}
325
+
326
+
327
+ // WP strong Button
328
+ // --------------------------------------------------
329
+
330
+ .button-strong-wp {
331
+ font-weight : $button-wp-strong-font-weight ;
332
+ }
Original file line number Diff line number Diff line change @@ -500,9 +500,6 @@ export class PickerCmp {
500
500
}
501
501
return button ;
502
502
} ) ;
503
- if ( data . buttons . length > 0 ) {
504
- data . buttons [ data . buttons . length - 1 ] . strong = true ;
505
- }
506
503
507
504
// clean up dat data
508
505
data . columns = data . columns . map ( column => {
Original file line number Diff line number Diff line change @@ -73,6 +73,10 @@ $picker-ios-option-offset-y: (($picker-ios-height - $picker-io
73
73
text-align : right ;
74
74
}
75
75
76
+ .picker-ios .picker-toolbar-button :last-child .picker-button {
77
+ font-weight : $button-ios-strong-font-weight ;
78
+ }
79
+
76
80
.picker-ios .picker-toolbar-cancel {
77
81
font-weight : normal ;
78
82
Original file line number Diff line number Diff line change @@ -378,5 +378,5 @@ $navbar-ios-height: $toolbar-ios-height !default;
378
378
// --------------------------------------------------
379
379
380
380
.bar-button-strong-ios {
381
- font-weight : 600 ;
381
+ font-weight : $button-ios-strong-font-weight ;
382
382
}
Original file line number Diff line number Diff line change @@ -390,3 +390,11 @@ $navbar-md-height: $toolbar-md-height !default;
390
390
@include md-bar-button-outline ($color-name , $color-base , $color-contrast );
391
391
@include md-bar-button-solid ($color-name , $color-base , $color-contrast );
392
392
}
393
+
394
+
395
+ // MD strong Button
396
+ // --------------------------------------------------
397
+
398
+ .bar-button-strong-md {
399
+ font-weight : $button-md-strong-font-weight ;
400
+ }
Original file line number Diff line number Diff line change @@ -344,3 +344,11 @@ $navbar-wp-height: $toolbar-wp-height !default;
344
344
@include wp-bar-button-outline ($color-name , $color-base , $color-contrast );
345
345
@include wp-bar-button-solid ($color-name , $color-base , $color-contrast );
346
346
}
347
+
348
+
349
+ // WP strong Button
350
+ // --------------------------------------------------
351
+
352
+ .bar-button-strong-wp {
353
+ font-weight : $button-wp-strong-font-weight ;
354
+ }
You can’t perform that action at this time.
0 commit comments