Skip to content

Commit

Permalink
Merge pull request #47 from MikhailNazarov/main
Browse files Browse the repository at this point in the history
fix stroke_linecap and stroke_linejoin for fi_icons
  • Loading branch information
marc2332 authored Jun 2, 2024
2 parents 9faa544 + 2770e3d commit d6addf2
Show file tree
Hide file tree
Showing 2 changed files with 576 additions and 574 deletions.
2 changes: 2 additions & 0 deletions packages/codegen/src/create_icon_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,15 @@ fn extract_svg_colors(icon_prefix: &str) -> (&str, &str, &str) {
fn extract_stroke_linecap(icon_prefix: &str) -> &str {
match icon_prefix {
"Ld" => "round",
"Fi" => "round",
_ => "butt",
}
}

fn extract_stroke_linejoin(icon_prefix: &str) -> &str {
match icon_prefix {
"Ld" => "round",
"Fi" => "round",
_ => "miter",
}
}
Expand Down
Loading

0 comments on commit d6addf2

Please sign in to comment.