mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(stylelint): remove sass-lint/scss-lint in favor of stylelint
- remove scss-lint and sass-lint - add stylelint and stylelint-order packages and configuration - update all *.scss files to new syntax fixes #14805
This commit is contained in:

committed by
Cam Wiegert

parent
771c47f109
commit
7a8d5f68d2
@ -6,26 +6,23 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
font-family: #{$button-ios-font-family};
|
||||
font-size: #{$button-ios-font-size};
|
||||
font-weight: #{$button-ios-font-weight};
|
||||
letter-spacing: #{$button-ios-letter-spacing};
|
||||
|
||||
--border-radius: #{$button-ios-border-radius};
|
||||
|
||||
--margin-top: #{$button-ios-margin-top};
|
||||
--margin-bottom: #{$button-ios-margin-bottom};
|
||||
--margin-start: #{$button-ios-margin-start};
|
||||
--margin-end: #{$button-ios-margin-end};
|
||||
|
||||
--padding-top: #{$button-ios-padding-top};
|
||||
--padding-bottom: #{$button-ios-padding-bottom};
|
||||
--padding-start: #{$button-ios-padding-start};
|
||||
--padding-end: #{$button-ios-padding-end};
|
||||
|
||||
--height: #{$button-ios-height};
|
||||
|
||||
--transition: background-color, opacity 100ms linear;
|
||||
|
||||
font-family: #{$button-ios-font-family};
|
||||
font-size: #{$button-ios-font-size};
|
||||
font-weight: #{$button-ios-font-weight};
|
||||
|
||||
letter-spacing: #{$button-ios-letter-spacing};
|
||||
}
|
||||
|
||||
// iOS Solid Button
|
||||
@ -54,9 +51,9 @@
|
||||
}
|
||||
|
||||
:host(.button-outline.activated) {
|
||||
color: #{current-color(contrast)};
|
||||
|
||||
--background: #{current-color(base)};
|
||||
|
||||
color: #{current-color(contrast)};
|
||||
}
|
||||
|
||||
:host(.button-outline.focused) {
|
||||
@ -89,7 +86,6 @@
|
||||
|
||||
:host(.button-round) {
|
||||
--border-radius: #{$button-ios-round-border-radius};
|
||||
|
||||
--padding-top: #{$button-ios-round-padding-top};
|
||||
--padding-start: #{$button-ios-round-padding-start};
|
||||
--padding-end: #{$button-ios-round-padding-end};
|
||||
@ -101,29 +97,25 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host(.button-large) {
|
||||
font-size: #{$button-ios-large-font-size};
|
||||
|
||||
--border-radius: #{$button-ios-large-border-radius};
|
||||
|
||||
--padding-top: #{$button-ios-large-padding-top};
|
||||
--padding-start: #{$button-ios-large-padding-start};
|
||||
--padding-end: #{$button-ios-large-padding-end};
|
||||
--padding-bottom: #{$button-ios-large-padding-bottom};
|
||||
|
||||
--height: #{$button-ios-large-height};
|
||||
|
||||
font-size: #{$button-ios-large-font-size};
|
||||
}
|
||||
|
||||
:host(.button-small) {
|
||||
font-size: #{$button-ios-small-font-size};
|
||||
|
||||
--border-radius: #{$button-ios-small-border-radius};
|
||||
|
||||
--padding-top: #{$button-ios-small-padding-top};
|
||||
--padding-start: #{$button-ios-small-padding-start};
|
||||
--padding-end: #{$button-ios-small-padding-end};
|
||||
--padding-bottom: #{$button-ios-small-padding-bottom};
|
||||
|
||||
--height: #{$button-ios-small-height};
|
||||
|
||||
font-size: #{$button-ios-small-font-size};
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user