1
0
mirror of https://github.com/coreui/coreui-icons.git synced 2025-08-31 20:11:51 +02:00

Ship v0.2.0

This commit is contained in:
Łukasz Holeczek
2018-05-22 13:23:04 +02:00
parent b84df41d29
commit 580bcc8f0a
14 changed files with 450 additions and 280 deletions

33
scss/_core.scss Normal file
View File

@@ -0,0 +1,33 @@
@font-face {
font-family: 'CoreUI-Icons-Linear';
src: url('#{$coreui-icons-font-path}/CoreUI-Icons-Linear.eot?64h6xh');
src: url('#{$coreui-icons-font-path}/CoreUI-Icons-Linear.eot?64h6xh#iefix') format('embedded-opentype'),
url('#{$coreui-icons-font-path}/CoreUI-Icons-Linear.ttf?64h6xh') format('truetype'),
url('#{$coreui-icons-font-path}/CoreUI-Icons-Linear.woff?64h6xh') format('woff'),
url('#{$coreui-icons-font-path}/CoreUI-Icons-Linear.svg?64h6xh#CoreUI-Icons-Linear') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="#{$coreui-icons-prefix}"], [class*=" #{$coreui-icons-prefix}"] {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'CoreUI-Icons-Linear' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@each $icon, $unicode in $icons {
.#{$coreui-icons-prefix}#{$icon} {
&:before {
content: unicode($unicode);
}
}
}