Skip to content

Commit

Permalink
fill attribute fixes - using generation.php (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
swapnilsarwe authored Mar 10, 2023
1 parent f7cdc80 commit 336a377
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions config/generation.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
->postOptimizationAsString(function ($svgLine){
$replacePattern = [
'/\<sodipodi\:namedview.*\<\/sodipodi\:namedview\>/s' => '',
'/color\:\#000000/s' => 'color:currentColor'
];
return preg_replace(array_keys($replacePattern), array_values($replacePattern), $svgLine);
})
Expand Down
2 changes: 1 addition & 1 deletion resources/svg/dblp.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 resources/svg/nakala.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 resources/svg/open-access.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 336a377

Please sign in to comment.