Skip to content

Commit

Permalink
Pass current color to icon for dark mode support
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell committed Sep 6, 2024
1 parent 66910b5 commit 9024288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function boot()
->section(__('Settings'))
->can('manage campaign-monitor settings')
->route('campaign-monitor.config.edit')
->icon('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 421.08 284.91"><path d="m418.18,6.84c-5.08-7.24-15.05-9.01-22.31-3.92L2.88,278.08c2.89,4.12,7.68,6.83,13.1,6.82h.02s0,0,0,0h389.06c8.84,0,16.01-7.17,16.01-16.02V15.77c-.05-3.09-.99-6.2-2.9-8.93"/><path d="m25.21,2.9C17.96-2.18,7.98-.41,2.9,6.82.99,9.56.05,12.68,0,15.77v253.59S187.1,116.1,187.1,116.1L25.21,2.9Z"/></svg>')
->icon('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 421.08 284.91"><path fill="currentColor" d="m418.18,6.84c-5.08-7.24-15.05-9.01-22.31-3.92L2.88,278.08c2.89,4.12,7.68,6.83,13.1,6.82h.02s0,0,0,0h389.06c8.84,0,16.01-7.17,16.01-16.02V15.77c-.05-3.09-.99-6.2-2.9-8.93"/><path d="m25.21,2.9C17.96-2.18,7.98-.41,2.9,6.82.99,9.56.05,12.68,0,15.77v253.59S187.1,116.1,187.1,116.1L25.21,2.9Z"/></svg>')
);

$this->addFormConfigFields();
Expand Down

0 comments on commit 9024288

Please sign in to comment.