mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(): corrected some components based on stencil updates. Also moved style based linting to top level directory.
This commit is contained in:
@ -1,36 +0,0 @@
|
||||
@import "../../themes/ionic.globals.ios";
|
||||
@import "./badge";
|
||||
|
||||
|
||||
// iOS Badge
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Border radius of the badge
|
||||
$badge-ios-border-radius: 10px !default;
|
||||
|
||||
/// @prop - Background color of the badge
|
||||
$badge-ios-background-color: color($colors-ios, primary) !default;
|
||||
|
||||
/// @prop - Text color of the badge
|
||||
$badge-ios-text-color: color-contrast($colors-ios, $badge-ios-background-color) !default;
|
||||
|
||||
|
||||
.badge-ios {
|
||||
@include border-radius($badge-ios-border-radius);
|
||||
|
||||
color: $badge-ios-text-color;
|
||||
background-color: $badge-ios-background-color;
|
||||
}
|
||||
|
||||
|
||||
// Generate iOS Badge Colors
|
||||
// --------------------------------------------------
|
||||
|
||||
@each $color-name, $color-base, $color-contrast in get-colors($colors-ios) {
|
||||
|
||||
.badge-ios-#{$color-name} {
|
||||
color: $color-contrast;
|
||||
background-color: $color-base;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user