mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Changes Closes #18663 * Converts Segment to shadow * Enables gesture to swipe between segment buttons * Adds indicator transition to slide the indicator between buttons * Updates global theme variables * Removes activated state, now handled by the gesture * Updates iOS to latest iOS 13 UI * Ensures customization is working for the buttons and indicator * Updates the e2e tests
15 lines
550 B
SCSS
15 lines
550 B
SCSS
@import "../../themes/ionic.globals.ios";
|
|
@import "../segment-button/segment-button.ios.vars";
|
|
|
|
// iOS Segment
|
|
// --------------------------------------------------
|
|
|
|
/// @prop - Alpha of the segment for use in the backgrounds
|
|
$segment-ios-background-alpha: 0.065 !default;
|
|
|
|
/// @prop - Background color of the segment
|
|
$segment-ios-background-color: rgba($text-color-rgb, $segment-ios-background-alpha) !default;
|
|
|
|
/// @prop - Border radius of the segment
|
|
$segment-ios-border-radius: 8px !default;
|