4 // A sample of 24 flexible, easily schemable icons from the folks at Iconic.
8 // - Built-in coloring and sizing classes
12 /// @Foundation.settings
14 $iconic-primary-fill: $primary-color !default;
15 $iconic-primary-stroke: $primary-color !default;
16 $iconic-accent-fill: $iconic-primary-fill !default;
17 $iconic-accent-stroke: $iconic-accent-fill !default;
20 // Colors the fill, and optionally stroke, accent fill, and accent stroke of an Iconic icon.
30 // Use the fill color if no stroke is provided
31 @if hasvalue($stroke) {
38 &.iconic-property-accent {
39 // Use the fill color if no accent is provided
40 @if hasvalue($fillAccent) {
47 // Use the normal stroke color if no accent is provided
48 @if hasvalue($strokeAccent) {
49 stroke: $strokeAccent;
52 // ...or use the fill if no normal stroke is provided
53 @if hasvalue($stroke) {
64 @include exports(iconic) {
68 vertical-align: middle;
71 @include color-icon($primary-color);
73 margin-right: 0.25rem;
78 fill: $iconic-primary-fill;
79 stroke: $iconic-primary-stroke;
81 &.iconic-property-accent {
82 fill: $iconic-accent-fill;
83 stroke: $iconic-accent-stroke;
87 @each $color in map-keys($foundation-colors) {
88 .iconic-color-#{$color} {
89 @include color-icon(map-get($foundation-colors, $color));
92 .iconic-color-secondary {
93 @include color-icon($secondary-color);