1
0
mirror of https://github.com/coreui/coreui-icons.git synced 2025-09-02 21:02:37 +02:00

feat: add brand icons

This commit is contained in:
mrholek
2019-11-10 11:50:51 +01:00
parent e1759eb868
commit 2bdb6c190c
8 changed files with 887 additions and 7 deletions

33
scss/free/_core.scss Normal file
View File

@@ -0,0 +1,33 @@
@font-face {
font-family: 'CoreUI-Icons-Linear-Free';
src: url('#{$coreui-icons-font-path}/CoreUI-Icons-Linear-Free.eot?64h6xh');
src: url('#{$coreui-icons-font-path}/CoreUI-Icons-Linear-Free.eot?64h6xh#iefix') format('embedded-opentype'),
url('#{$coreui-icons-font-path}/CoreUI-Icons-Linear-Free.ttf?64h6xh') format('truetype'),
url('#{$coreui-icons-font-path}/CoreUI-Icons-Linear-Free.woff?64h6xh') format('woff'),
url('#{$coreui-icons-font-path}/CoreUI-Icons-Linear-Free.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-Free' !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);
}
}
}