mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(toolbar): move button strong to toolbar sass property
This commit is contained in:
@@ -36,6 +36,9 @@ $toolbar-ios-button-color: color-contrast($colors-ios, $toolbar
|
||||
/// @prop - Border radius of the toolbar button
|
||||
$toolbar-ios-button-border-radius: 4px !default;
|
||||
|
||||
/// @prop - Font weight of the strong toolbar button
|
||||
$toolbar-ios-button-strong-font-weight: 600 !default;
|
||||
|
||||
/// @prop - Height of the navigation bar
|
||||
$navbar-ios-height: $toolbar-ios-height !default;
|
||||
|
||||
@@ -378,5 +381,5 @@ $navbar-ios-height: $toolbar-ios-height !default;
|
||||
// --------------------------------------------------
|
||||
|
||||
.bar-button-strong-ios {
|
||||
font-weight: $button-ios-strong-font-weight;
|
||||
font-weight: $toolbar-ios-button-strong-font-weight;
|
||||
}
|
||||
|
||||
@@ -30,6 +30,9 @@ $toolbar-md-button-color: $toolbar-md-title-text-color !default;
|
||||
/// @prop - Border radius of the toolbar button
|
||||
$toolbar-md-button-border-radius: 2px !default;
|
||||
|
||||
/// @prop - Font weight of the strong toolbar button
|
||||
$toolbar-md-button-strong-font-weight: bold !default;
|
||||
|
||||
/// @prop - Height of the navigation bar
|
||||
$navbar-md-height: $toolbar-md-height !default;
|
||||
|
||||
@@ -396,5 +399,5 @@ $navbar-md-height: $toolbar-md-height !default;
|
||||
// --------------------------------------------------
|
||||
|
||||
.bar-button-strong-md {
|
||||
font-weight: $button-md-strong-font-weight;
|
||||
font-weight: $toolbar-md-button-strong-font-weight;
|
||||
}
|
||||
|
||||
@@ -39,6 +39,9 @@ $toolbar-wp-button-color: color-contrast($colors-wp, $toolbar-wp-
|
||||
/// @prop - Border radius of the toolbar button
|
||||
$toolbar-wp-button-border-radius: 2px !default;
|
||||
|
||||
/// @prop - Font weight of the strong toolbar button
|
||||
$toolbar-wp-button-strong-font-weight: bold !default;
|
||||
|
||||
/// @prop - Height of the navigation bar
|
||||
$navbar-wp-height: $toolbar-wp-height !default;
|
||||
|
||||
@@ -350,5 +353,5 @@ $navbar-wp-height: $toolbar-wp-height !default;
|
||||
// --------------------------------------------------
|
||||
|
||||
.bar-button-strong-wp {
|
||||
font-weight: $button-wp-strong-font-weight;
|
||||
font-weight: $toolbar-wp-button-strong-font-weight;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user