Skip to content

Commit 219059c

Browse files
committed
fix(sass): fix sass errors
1 parent dd5d448 commit 219059c

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

ionic/components.core.scss

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,5 @@
3030
"components/virtual-scroll/virtual-scroll";
3131

3232

33-
// Ionicons (to be replaced with SVGs)
34-
$ionicons: true !default;
35-
@if ($ionicons) {
36-
@import "fonts/ionicons";
37-
}
33+
// Ionicons
34+
@import "fonts/ionicons";

ionic/components/tabs/tabs.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ tabbar {
9090
ion-badge,
9191
ion-icon,
9292
span {
93-
opacity: .4;
93+
opacity: 0.4;
9494
}
9595
}
9696

ionic/components/tabs/tabs.wp.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ tabbar {
8181
// Windows Tabbar Color Mixin
8282
// --------------------------------------------------
8383

84-
@mixin tabbar-wp($color-name, $color-base) {
84+
@mixin tabbar-wp($color-name, $color-base, $color-contrast) {
8585

8686
ion-tabs[#{$color-name}] tabbar {
8787
background-color: $color-base;
@@ -104,5 +104,5 @@ tabbar {
104104
// --------------------------------------------------
105105

106106
@each $color-name, $color-base, $color-contrast in get-colors($colors-wp) {
107-
@include tabbar-wp($color-name, $color-base);
107+
@include tabbar-wp($color-name, $color-base, $color-contrast);
108108
}

ionic/components/toggle/toggle.wp.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ ion-toggle {
128128
// Windows Color Mixin
129129
// --------------------------------------------------
130130

131-
@mixin toggle-theme-wp($color-name, $color-base) {
131+
@mixin toggle-theme-wp($color-name, $color-base, $color-contrast) {
132132

133133
ion-toggle[#{$color-name}] {
134134

@@ -151,6 +151,6 @@ ion-toggle {
151151

152152
@each $color-name, $color-base, $color-contrast in get-colors($colors-wp) {
153153

154-
@include toggle-theme-wp($color-name, $color-base);
154+
@include toggle-theme-wp($color-name, $color-base, $color-contrast);
155155

156156
}

0 commit comments

Comments
 (0)