mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 15:51:16 +08:00
Issue number: N/A --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> This project has several unused Sass variables still in the code base. The team would like to remove these. ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Removed unused Sass variables ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> The original scope of this ticket was for checkbox only, but many other components had unused sass variables, so I decided to tackle everything all at once. Since these variables are not used anywhere: 1. The build should pass 2. There should be no screenshot diffs
52 lines
1.9 KiB
SCSS
52 lines
1.9 KiB
SCSS
@use "sass:math";
|
|
@import "../../themes/ionic.globals.ios";
|
|
@import "../item/item.ios.vars";
|
|
|
|
// iOS Checkbox
|
|
// --------------------------------------------------
|
|
|
|
/// @prop - Background color of the checkbox when off
|
|
$checkbox-ios-background-color-off: $item-ios-background !default;
|
|
|
|
/// @prop - Size of the checkbox icon
|
|
$checkbox-ios-icon-size: dynamic-font-max(26px, 2.538) !default;
|
|
|
|
/// @prop - Border color of the checkbox icon when off
|
|
$checkbox-ios-icon-border-color-off: rgba($text-color-rgb, 0.23) !default;
|
|
|
|
/// @prop - Border width of the checkbox icon
|
|
$checkbox-ios-icon-border-width: dynamic-font(1px) !default;
|
|
|
|
/// @prop - Border style of the checkbox icon
|
|
$checkbox-ios-icon-border-style: solid !default;
|
|
|
|
/// @prop - Border radius of the checkbox icon
|
|
$checkbox-ios-icon-border-radius: 50% !default;
|
|
|
|
/// @prop - Opacity of the disabled checkbox
|
|
$checkbox-ios-disabled-opacity: $form-control-ios-disabled-opacity !default;
|
|
|
|
/// @prop - Margin top of the left checkbox item
|
|
$checkbox-ios-item-start-margin-top: 8px !default;
|
|
|
|
/// @prop - Margin end of the left checkbox item
|
|
$checkbox-ios-item-start-margin-end: $item-ios-padding-end !default;
|
|
|
|
/// @prop - Margin bottom of the left checkbox item
|
|
$checkbox-ios-item-start-margin-bottom: $checkbox-ios-item-start-margin-top !default;
|
|
|
|
/// @prop - Margin start of the left checkbox item
|
|
$checkbox-ios-item-start-margin-start: 2px !default;
|
|
|
|
/// @prop - Margin top of the right checkbox item
|
|
$checkbox-ios-item-end-margin-top: 10px !default;
|
|
|
|
/// @prop - Margin end of the right checkbox item
|
|
$checkbox-ios-item-end-margin-end: 8px !default;
|
|
|
|
/// @prop - Margin bottom of the right checkbox item
|
|
$checkbox-ios-item-end-margin-bottom: 9px !default;
|
|
|
|
/// @prop - Margin start of the right checkbox item
|
|
$checkbox-ios-item-end-margin-start: 0 !default;
|