mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
refactor(all): cleanup mode font
This commit is contained in:
@ -13,8 +13,6 @@
|
||||
--color: #{ion-color(primary, base)};
|
||||
--color-checked: #{ion-color(primary, contrast)};
|
||||
--color-disabled: #{ion-color(primary, base, $segment-button-ios-opacity-disabled)};
|
||||
|
||||
font-family: $segment-ios-font-family;
|
||||
}
|
||||
|
||||
:host(.segment-disabled) {
|
||||
|
@ -3,9 +3,6 @@
|
||||
// iOS Segment
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Background of the segment button
|
||||
$segment-ios-font-family: $font-family-base !default;
|
||||
|
||||
/// @prop - Opacity of the disabled segment
|
||||
$segment-ios-opacity-disabled: .4 !default;
|
||||
|
||||
|
@ -10,8 +10,6 @@
|
||||
--border-color: #{$segment-button-md-border-bottom-color};
|
||||
--color: #{$segment-button-md-text-color};
|
||||
--color-checked: #{$segment-button-md-text-color};
|
||||
|
||||
font-family: $segment-md-font-family;
|
||||
}
|
||||
|
||||
:host(.segment-disabled) {
|
||||
|
@ -3,9 +3,6 @@
|
||||
// Material Design Segment
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Background of the segment button
|
||||
$segment-md-font-family: $font-family-base !default;
|
||||
|
||||
/// @prop - Opacity of the disabled segment
|
||||
$segment-md-opacity-disabled: .3 !default;
|
||||
|
||||
|
@ -25,6 +25,8 @@
|
||||
|
||||
width: 100%;
|
||||
|
||||
font-family: $font-family-base;
|
||||
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user