mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 15:51:16 +08:00
style: run build, lint, and remove !default Sass variables
This commit is contained in:
@ -4,28 +4,28 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - The default width and height of the checkbox
|
||||
$checkbox-ionic-size: 24px !default;
|
||||
$checkbox-ionic-size: 24px;
|
||||
|
||||
/// @prop - The background color of the checkbox when the checkbox is unchecked
|
||||
$checkbox-ionic-background-color-off: $background-color-step-400 !default;
|
||||
$checkbox-ionic-background-color-off: $background-color-step-400;
|
||||
|
||||
/// @prop - Border style of the checkbox
|
||||
$checkbox-ionic-border-style: solid !default;
|
||||
$checkbox-ionic-border-style: solid;
|
||||
|
||||
/// @prop - Border width of the checkbox
|
||||
$checkbox-ionic-border-width: 1px !default;
|
||||
$checkbox-ionic-border-width: 1px;
|
||||
|
||||
/// @prop - The border radius of the checkbox
|
||||
/// With a default size of 24px, the border radius is calculated as 24px / 4 - 2px = 4px
|
||||
/// With a small size of 16px, the border radius is calculated as 16px / 4 - 2px = 2px;
|
||||
$checkbox-ionic-border-radius: calc(var(--size) / 4 - 2px) !default;
|
||||
$checkbox-ionic-border-radius: calc(var(--size) / 4 - 2px);
|
||||
|
||||
/// @prop - Icon size of the checkbox for the small size
|
||||
$checkbox-ionic-small-size: 16px !default;
|
||||
$checkbox-ionic-small-size: 16px;
|
||||
|
||||
// Checkbox Shapes
|
||||
// -------------------------------------------------------------------------------
|
||||
|
||||
/* Rectangular */
|
||||
/// @prop - Rectangular border radius of the checkbox
|
||||
$checkbox-ionic-rectangular-border: 0 !default;
|
||||
$checkbox-ionic-rectangular-border: 0;
|
||||
|
||||
Reference in New Issue
Block a user