Skip to content

Commit

Permalink
feat(icons): add new icons (#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
tibing-old-email authored and nnixaa committed Sep 20, 2018
1 parent 6865054 commit be06906
Show file tree
Hide file tree
Showing 24 changed files with 685 additions and 732 deletions.
408 changes: 217 additions & 191 deletions src/framework/icons/css/nebular-icons.css

Large diffs are not rendered by default.

Binary file modified src/framework/icons/fonts/nebular.eot
Binary file not shown.
194 changes: 100 additions & 94 deletions src/framework/icons/fonts/nebular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/framework/icons/fonts/nebular.ttf
Binary file not shown.
Binary file modified src/framework/icons/fonts/nebular.woff
Binary file not shown.
408 changes: 217 additions & 191 deletions src/framework/icons/scss/_nebular-icons-font.scss

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions src/framework/icons/src/icons/nb-checkmark-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/framework/icons/src/icons/nb-collapse.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions src/framework/icons/src/icons/nb-danger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/framework/icons/src/icons/nb-fold.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/framework/icons/src/icons/nb-help.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/framework/icons/src/icons/nb-maximize.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/framework/icons/src/icons/nb-minimize.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 21 additions & 41 deletions src/framework/theme/components/toastr/_toast.component.theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@include nb-rtl(margin-left, 1.25rem);
}

svg {
i {
border-radius: nb-theme(toastr-icon-radius);
}

Expand All @@ -39,24 +39,20 @@
border-color: nb-theme(color-success);
color: nb-theme(color-success);

svg {
i {
background-color: nb-theme(color-success);

path {
fill: nb-theme(color-white);
}
color: nb-theme(color-white);
}

@include nb-for-theme(cosmic) {
@include btn-hero-success-gradient();
color: nb-theme(toastr-color-fg);

svg {
i {
background-color: nb-theme(color-white);

path {
fill: nb-theme(color-success);
}
color: nb-theme(color-success);
}
}
}
Expand All @@ -65,24 +61,20 @@
border-color: nb-theme(color-info);
color: nb-theme(color-info);

svg {
i {
background-color: nb-theme(color-info);

path {
fill: nb-theme(color-white);
}
color: nb-theme(color-white);
}

@include nb-for-theme(cosmic) {
@include btn-hero-info-gradient();
color: nb-theme(toastr-color-fg);

svg {
i {
background-color: nb-theme(color-white);

path {
fill: nb-theme(color-info);
}
color: nb-theme(color-info);
}
}
}
Expand All @@ -91,24 +83,20 @@
border-color: nb-theme(color-warning);
color: nb-theme(color-warning);

svg {
i {
background-color: nb-theme(color-warning);

path {
fill: nb-theme(color-white);
}
color: nb-theme(color-white);
}

@include nb-for-theme(cosmic) {
@include btn-hero-warning-gradient();
color: nb-theme(toastr-color-fg);

svg {
i {
background-color: nb-theme(color-white);

path {
fill: nb-theme(color-warning);
}
color: nb-theme(color-warning);
}
}
}
Expand All @@ -117,24 +105,20 @@
border-color: nb-theme(color-primary);
color: nb-theme(color-primary);

svg {
i {
background-color: nb-theme(color-primary);

path, .warn-rect {
fill: nb-theme(color-white);
}
color: nb-theme(color-white);
}

@include nb-for-theme(cosmic) {
@include btn-hero-primary-gradient();
color: nb-theme(toastr-color-fg);

svg {
i {
background-color: nb-theme(color-white);

path, .warn-rect {
fill: nb-theme(color-primary);
}
color: nb-theme(color-primary);
}
}
}
Expand All @@ -143,24 +127,20 @@
border-color: nb-theme(color-danger);
color: nb-theme(color-danger);

svg {
i {
background-color: nb-theme(color-danger);

path {
fill: nb-theme(color-white);
}
color: nb-theme(color-white);
}

@include nb-for-theme(cosmic) {
@include btn-hero-danger-gradient();
color: nb-theme(toastr-color-fg);

svg {
i {
background-color: nb-theme(color-white);

path {
fill: nb-theme(color-danger);
}
color: nb-theme(color-danger);
}
}
}
Expand Down
Loading

0 comments on commit be06906

Please sign in to comment.