1
0
mirror of https://github.com/coreui/coreui-icons.git synced 2025-08-31 03:59:49 +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);
}
}
}

3
scss/_functions.scss Normal file
View File

@@ -0,0 +1,3 @@
@function unicode($str) {
@return unquote("\"") + $str + unquote("\"");
}

View File

@@ -1,41 +1,104 @@
$icomoon-font-path: "fonts" !default;
$coreui-icons-font-path: "../fonts" !default;
$coreui-icons-prefix: "cui-" !default;
$cui-basket-loaded: \e900;
$cui-bell: \e901;
$cui-calculator: \e902;
$cui-calendar: \e903;
$cui-camera: \e904;
$cui-chart: \e905;
$cui-cloud-download: \e906;
$cui-cursor: \e907;
$cui-cursor-move: \e908;
$cui-drop: \e909;
$cui-energy: \e90a;
$cui-envelope-letter: \e90b;
$cui-equalizer: \e90c;
$cui-globe: \e90d;
$cui-graph: \e90e;
$cui-home: \e90f;
$cui-layers: \e910;
$cui-list: \e911;
$cui-location-pin: \e912;
$cui-map: \e913;
$cui-note: \e914;
$cui-options: \e915;
$cui-pencil: \e916;
$cui-people: \e917;
$cui-pie-chart: \e918;
$cui-puzzle: \e919;
$cui-screen-desktop: \e91a;
$cui-screen-smartphone: \e91b;
$cui-settings: \e91c;
$cui-social-facebook: \e91d;
$cui-social-skype: \e91e;
$cui-social-twitter: \e91f;
$cui-speech: \e920;
$cui-speedometer: \e921;
$cui-star: \e922;
$cui-user: \e923;
$cui-user-female: \e924;
$cui-user-follow: \e925;
$cui-user-unfollow: \e926;
$icons: () !default;
$icons: map-merge((
"account-logout": \e927,
"action-redo": \e928,
"action-undo": \e929,
"align-center": \e92a,
"align-left": \e92b,
"align-right": \e92c,
"aperture": \e92d,
"arrow-bottom": \e92e,
"arrow-circle-bottom": \e92f,
"arrow-circle-left": \e930,
"arrow-circle-right": \e931,
"arrow-circle-top": \e932,
"arrow-left": \e933,
"arrow-right": \e934,
"arrow-thick-bottom": \e935,
"arrow-thick-left": \e936,
"arrow-thick-right": \e937,
"arrow-thick-top": \e938,
"arrow-top": \e939,
"audio": \e93a,
"audio-spectrum": \e93b,
"badge": \e93c,
"ban": \e93d,
"bar-chart": \e93e,
"battery-empty": \e93f,
"battery-full": \e940,
"beaker": \e941,
"bluetooth": \e942,
"bold": \e943,
"bolt": \e944,
"book": \e945,
"bookmark": \e946,
"box": \e947,
"briefcase": \e948,
"british-pound": \e949,
"browser": \e94a,
"brush": \e94b,
"bug": \e94c,
"bullhorn": \e94d,
"caret-bottom": \e94e,
"caret-left": \e94f,
"caret-right": \e950,
"caret-top": \e951,
"cart": \e952,
"chat": \e953,
"check": \e954,
"chevron-bottom": \e955,
"chevron-left": \e956,
"chevron-right": \e957,
"chevron-top": \e958,
"circle-check": \e959,
"circle-x": \e95a,
"clipboard": \e95b,
"clock": \e95c,
"cloud": \e95d,
"cloud-upload": \e95e,
"cloudy": \e95f,
"social-linkedin": \e960,
"social-spotify": \e961,
"basket-loaded": \e900,
"bell": \e901,
"calculator": \e902,
"calendar": \e903,
"camera": \e904,
"chart": \e905,
"cloud-download": \e906,
"cursor": \e907,
"cursor-move": \e908,
"drop": \e909,
"energy": \e90a,
"envelope-letter": \e90b,
"equalizer": \e90c,
"globe": \e90d,
"graph": \e90e,
"home": \e90f,
"layers": \e910,
"list": \e911,
"location-pin": \e912,
"map": \e913,
"note": \e914,
"options": \e915,
"pencil": \e916,
"people": \e917,
"pie-chart": \e918,
"puzzle": \e919,
"screen-desktop": \e91a,
"screen-smartphone": \e91b,
"settings": \e91c,
"social-facebook": \e91d,
"social-skype": \e91e,
"social-twitter": \e91f,
"speech": \e920,
"speedometer": \e921,
"star": \e922,
"user": \e923,
"user-female": \e924,
"user-follow": \e925,
"user-unfollow": \e926,
), $icons);

View File

@@ -1,235 +1,11 @@
/*!
* CoreUI Icons - Open Source Icons
* @version v0.1.0
* @version v0.2.0
* @link https://coreui.io/icons
* Copyright (c) 2018 creativeLabs Łukasz Holeczek
* Licensed under MIT (https://coreui.io/icons/license)
*/
@import "variables";
@font-face {
font-family: 'CoreUI-Icons-Linear';
src: url('#{$icomoon-font-path}/CoreUI-Icons-Linear.eot?64h6xh');
src: url('#{$icomoon-font-path}/CoreUI-Icons-Linear.eot?64h6xh#iefix') format('embedded-opentype'),
url('#{$icomoon-font-path}/CoreUI-Icons-Linear.ttf?64h6xh') format('truetype'),
url('#{$icomoon-font-path}/CoreUI-Icons-Linear.woff?64h6xh') format('woff'),
url('#{$icomoon-font-path}/CoreUI-Icons-Linear.svg?64h6xh#CoreUI-Icons-Linear') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="cui-"], [class*=" cui-"] {
/* 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;
}
@function unicode($str) {
@return unquote("\"") + $str + unquote("\"");
}
.cui-basket-loaded {
&:before {
content: unicode($cui-basket-loaded);
}
}
.cui-bell {
&:before {
content: unicode($cui-bell);
}
}
.cui-calculator {
&:before {
content: unicode($cui-calculator);
}
}
.cui-calendar {
&:before {
content: unicode($cui-calendar);
}
}
.cui-camera {
&:before {
content: unicode($cui-camera);
}
}
.cui-chart {
&:before {
content: unicode($cui-chart);
}
}
.cui-cloud-download {
&:before {
content: unicode($cui-cloud-download);
}
}
.cui-cursor {
&:before {
content: unicode($cui-cursor);
}
}
.cui-cursor-move {
&:before {
content: unicode($cui-cursor-move);
}
}
.cui-drop {
&:before {
content: unicode($cui-drop);
}
}
.cui-energy {
&:before {
content: unicode($cui-energy);
}
}
.cui-envelope-letter {
&:before {
content: unicode($cui-envelope-letter);
}
}
.cui-equalizer {
&:before {
content: unicode($cui-equalizer);
}
}
.cui-globe {
&:before {
content: unicode($cui-globe);
}
}
.cui-graph {
&:before {
content: unicode($cui-graph);
}
}
.cui-home {
&:before {
content: unicode($cui-home);
}
}
.cui-layers {
&:before {
content: unicode($cui-layers);
}
}
.cui-list {
&:before {
content: unicode($cui-list);
}
}
.cui-location-pin {
&:before {
content: unicode($cui-location-pin);
}
}
.cui-map {
&:before {
content: unicode($cui-map);
}
}
.cui-note {
&:before {
content: unicode($cui-note);
}
}
.cui-options {
&:before {
content: unicode($cui-options);
}
}
.cui-pencil {
&:before {
content: unicode($cui-pencil);
}
}
.cui-people {
&:before {
content: unicode($cui-people);
}
}
.cui-pie-chart {
&:before {
content: unicode($cui-pie-chart);
}
}
.cui-puzzle {
&:before {
content: unicode($cui-puzzle);
}
}
.cui-screen-desktop {
&:before {
content: unicode($cui-screen-desktop);
}
}
.cui-screen-smartphone {
&:before {
content: unicode($cui-screen-smartphone);
}
}
.cui-settings {
&:before {
content: unicode($cui-settings);
}
}
.cui-social-facebook {
&:before {
content: unicode($cui-social-facebook);
}
}
.cui-social-skype {
&:before {
content: unicode($cui-social-skype);
}
}
.cui-social-twitter {
&:before {
content: unicode($cui-social-twitter);
}
}
.cui-speech {
&:before {
content: unicode($cui-speech);
}
}
.cui-speedometer {
&:before {
content: unicode($cui-speedometer);
}
}
.cui-star {
&:before {
content: unicode($cui-star);
}
}
.cui-user {
&:before {
content: unicode($cui-user);
}
}
.cui-user-female {
&:before {
content: unicode($cui-user-female);
}
}
.cui-user-follow {
&:before {
content: unicode($cui-user-follow);
}
}
.cui-user-unfollow {
&:before {
content: unicode($cui-user-unfollow);
}
}
@import "functions";
@import "core";