chore: apply mix format to codebase

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
jamey
2026-01-31 14:24:58 +00:00
parent d97918d66a
commit 336b2bb81d
43 changed files with 2227 additions and 1204 deletions

View File

@@ -70,6 +70,7 @@ defmodule SimpleshopTheme.Media.SVGRecolorerTest do
svg = """
<svg><style>.st0{fill:#FFFFFF;}.st1{fill:#EF1D1D;stroke:#000000;}</style><path class="st0"/></svg>
"""
result = SVGRecolorer.recolor(svg, "#ff6600")
assert result =~ "fill:#ff6600"
refute result =~ "#FFFFFF"
@@ -80,6 +81,7 @@ defmodule SimpleshopTheme.Media.SVGRecolorerTest do
svg = """
<svg><style>.st1{stroke:#000000;stroke-miterlimit:10;}</style><path class="st1"/></svg>
"""
result = SVGRecolorer.recolor(svg, "#ff6600")
assert result =~ "stroke:#ff6600"
refute result =~ "#000000"
@@ -89,6 +91,7 @@ defmodule SimpleshopTheme.Media.SVGRecolorerTest do
svg = """
<svg><style>.st0{fill:none;stroke:#000;}</style><path class="st0"/></svg>
"""
result = SVGRecolorer.recolor(svg, "#ff6600")
assert result =~ "fill:none"
assert result =~ "stroke:#ff6600"
@@ -98,6 +101,7 @@ defmodule SimpleshopTheme.Media.SVGRecolorerTest do
svg = """
<svg><style>.icon{fill:black;stroke:white;}</style><path class="icon"/></svg>
"""
result = SVGRecolorer.recolor(svg, "#ff6600")
assert result =~ "fill:#ff6600"
assert result =~ "stroke:#ff6600"