Skip to content

Commit d6addf2

Browse files
authored
Merge pull request #47 from MikhailNazarov/main
fix stroke_linecap and stroke_linejoin for fi_icons
2 parents 9faa544 + 2770e3d commit d6addf2

File tree

2 files changed

+576
-574
lines changed

2 files changed

+576
-574
lines changed

packages/codegen/src/create_icon_file.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,15 @@ fn extract_svg_colors(icon_prefix: &str) -> (&str, &str, &str) {
162162
fn extract_stroke_linecap(icon_prefix: &str) -> &str {
163163
match icon_prefix {
164164
"Ld" => "round",
165+
"Fi" => "round",
165166
_ => "butt",
166167
}
167168
}
168169

169170
fn extract_stroke_linejoin(icon_prefix: &str) -> &str {
170171
match icon_prefix {
171172
"Ld" => "round",
173+
"Fi" => "round",
172174
_ => "miter",
173175
}
174176
}

0 commit comments

Comments
 (0)