Files
ionic-framework/core/src/components/segment/segment.ios.vars.scss
Brandy Carney dc66ce48e1 feat(segment): implement iOS 13 segment with animation (#19036)
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
2020-01-14 11:51:28 -05:00

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;