Completely deprecate iconfonts

This commit is contained in:
Rico Sta. Cruz 2017-10-13 00:16:48 +08:00
parent 4c669bcbfb
commit f486b64789
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
10 changed files with 878 additions and 6230 deletions

View File

@ -16,20 +16,19 @@
&:hover,
&:focus {
background: $base-a;
background-color: $base-a;
color: white;
}
& > i::before {
@include ion-icon('ios-home-outline');
font-size: 24px;
content: '';
@include ion-ios-home-outline(24px, $base-mute);
height: 48px;
line-height: 48px;
width: 48px;
text-align: center;
}
&:hover > i::before {
@extend %ion-icon-ios-home;
background-image: ion-ios-home-image(white);
}
}

View File

@ -25,9 +25,8 @@
}
& > h3::before {
@include ion-icon('md-arrow-forward');
font-size: 24px;
color: $base-a;
content: '';
@include ion-md-arrow-forward(24px, $base-a);
margin-right: 16px;
}

View File

@ -9,10 +9,9 @@
}
&::before {
@include ion-icon('md-information-circle');
font-size: 24px;
content: '';
@include ion-md-information-circle(24px, $base-mute3);
margin-right: 8px;
color: $base-mute3;
}
& > a {

View File

@ -1,4 +1,5 @@
/*
content: '';
* Spacer before footer
*/
@ -11,9 +12,8 @@
}
& > .icon::before {
@include ion-icon('ios-flash');
color: $base-mute;
font-size: 32px;
content: '';
@include ion-ios-flash(32px, $base-mute);
opacity: 0.25;
}
}

View File

@ -34,16 +34,13 @@
& > .text > .icon {
margin-bottom: 16px;
display: block;
color: adjust-color($base-a, $lightness: 16%, $hue: 20deg);
}
& > .text > .icon::before {
@include ion-icon('ios-arrow-back');
font-size: 48px;
content: '';
@include ion-ios-arrow-back(48px, adjust-color($base-a, $lightness: 16%, $hue: 20deg));
height: 64px;
width: 64px;
line-height: 64px - 4px;
text-align: center;
border: solid 2px adjust-color($base-a, $lightness: 16%, $hue: 20deg);
border-radius: 50%;
text-indent: -2px;

View File

@ -97,6 +97,7 @@
flex: 0 0 48px;
width: 48px;
line-height: 48px;
font-size: 24px;
background-size: 24px 24px;
background-position: center center;
}
}

View File

@ -24,20 +24,19 @@
}
& > a::before {
@include ion-icon('md-arrow-forward');
font-size: 24px;
content: '';
@include ion-md-arrow-forward(16px, white);
margin-right: 16px;
width: 32px;
height: 32px;
line-height: 32px;
text-align: center;
border-radius: 50%;
}
& > a,
& > a:visited {
&::before {
background: $base-a;
background-color: $base-a;
color: white;
}
}
@ -49,7 +48,7 @@
}
&::before {
background: $base-a7;
background-color: $base-a7;
}
}
}

View File

@ -1,6 +1,5 @@
@import './variables';
@import '../vendor/modularscale/modularscale';
@import '../vendor/iconfonts/ionicons@3';
@import '../vendor/ionicons-inline/ionicons';
@import './utils/carbon-style';
@import './utils/font-size';
@ -9,7 +8,6 @@
@import './utils/section-gutter';
@import './utils/section-with-container';
@import './placeholders/push-button';
@include ion-font;
@import './base/base';
@import './markdown/a-em';
@import './markdown/code';

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long