diff --git a/config/generation.php b/config/generation.php index eefd574..1d97ec3 100644 --- a/config/generation.php +++ b/config/generation.php @@ -10,6 +10,12 @@ $iconProcessor = new IconProcessor($tempFilepath, $iconSet); $iconProcessor ->optimize() + ->postOptimizationAsString(function ($svgLine) { + return str_replace([ + 'fill="#231F20"', + 'fill="#181616"', + ], 'fill="currentColor"', $svgLine); + }) ->save(filenameCallable: function ($filename){ return str_replace('ei-', '', $filename); }); diff --git a/resources/svg/sc-github.svg b/resources/svg/sc-github.svg index 6aead4f..6e156d1 100644 --- a/resources/svg/sc-github.svg +++ b/resources/svg/sc-github.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/resources/svg/sc-linkedin.svg b/resources/svg/sc-linkedin.svg index 9782f04..40f91b7 100644 --- a/resources/svg/sc-linkedin.svg +++ b/resources/svg/sc-linkedin.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file