Skip to content

Commit

Permalink
feat(icons): added new icons to docs and SCSS (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Mar 7, 2024
1 parent 412a82f commit dc32c15
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
8 changes: 4 additions & 4 deletions source/_patterns/00-base/icons/_icons.font-faces.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
font-display: block;
font-family: "missing-icons";
src:
url("#{$icons-path}functional/fonts/icons-empty.woff2?4r2097")
url("#{$icons-path}functional/fonts/icons-empty.woff2?4r2098")
format("woff2"),
url("#{$icons-path}functional/fonts/icons-empty.woff?4r2097")
url("#{$icons-path}functional/fonts/icons-empty.woff?4r2098")
format("woff");
}

Expand All @@ -27,9 +27,9 @@
font-style: normal;
font-weight: normal;
src:
url("#{$icons-path}functional/fonts/#{$icon-font-family+ "-" + $icon-category}.woff2?4r2097")
url("#{$icons-path}functional/fonts/#{$icon-font-family+ "-" + $icon-category}.woff2?4r2098")
format("woff2"),
url("#{$icons-path}functional/fonts/#{$icon-font-family+ "-" + $icon-category}.woff?4r2097")
url("#{$icons-path}functional/fonts/#{$icon-font-family+ "-" + $icon-category}.woff?4r2098")
format("woff");

unicode-range: unquote($icon-font-unicodes);
Expand Down
6 changes: 4 additions & 2 deletions source/_patterns/00-base/icons/_icons.variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,9 @@ $icon-glyphs-personenverkehr: (
"transportation-taxi": "\e90c",
"transportation-train-tram": "\e90d",
"transportation-underground": "\e90e",
"transportation-walking": "\e90f"
"transportation-walking": "\e90f",
"ev-bus": "\e928",
"ev-train": "\e929"
) !default;

$icon-font-families-personenverkehr: (
Expand Down Expand Up @@ -380,7 +382,7 @@ $icon-font-families-personenverkehr: (
"U+1F907,U+2714,U+e1131-e1132,U+e1134,U+e1136-e1146,U+e1184-e1186,U+e1218,U+e1286-e1287,U+e1298"
),
"transportation": (
"U+e1147-e1148,U+e1151,U+e1159,U+e1190-e1210,U+e1216,U+e1219,U+e1239-e1241,U+e1288"
"U+e1147-e1148,U+e1151,U+e1159,U+e1190-e1210,U+e1216,U+e1219,U+e1239-e1241,U+e1288,U+e928-e929"
)
),
24: (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
font-style: normal;
font-weight: normal;
src:
url("#{$icons-path}functional/fonts/#{$icon-font-family}.woff2?4r2097")
url("#{$icons-path}functional/fonts/#{$icon-font-family}.woff2?4r2098")
format("woff2"),
url("#{$icons-path}functional/fonts/#{$icon-font-family}.woff?4r2097")
url("#{$icons-path}functional/fonts/#{$icon-font-family}.woff?4r2098")
format("woff");
}
}
Expand All @@ -29,9 +29,9 @@
font-style: normal;
font-weight: normal;
src:
url("#{$icons-path}functional/fonts/#{$icon-style}.woff2?4r2097")
url("#{$icons-path}functional/fonts/#{$icon-style}.woff2?4r2098")
format("woff2"),
url("#{$icons-path}functional/fonts/#{$icon-style}.woff?4r2097")
url("#{$icons-path}functional/fonts/#{$icon-style}.woff?4r2098")
format("woff");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,15 @@
{
"icon-glyph": "electric-scooter"
},
{
"icon-glyph": "ev-bus"
},
{
"icon-glyph": "ev-car"
},
{
"icon-glyph": "ev-train"
},
{
"icon-glyph": "ferry"
},
Expand Down

0 comments on commit dc32c15

Please sign in to comment.