Add SVG option

This commit is contained in:
Alexander Wainwright
2025-12-17 16:58:35 +10:00
parent 15a94bd63e
commit c3fdf45015
3 changed files with 192 additions and 45 deletions

View File

@@ -72,7 +72,7 @@
<details class="advanced-options">
<summary>ADVANCED CONFIGURATION</summary>
<div class="control-group">
<label for="opt-ecc">Error Correction</label>
<select id="opt-ecc">
@@ -99,7 +99,7 @@
<span id="hex-fg">#000000</span>
</div>
</div>
<div class="color-input">
<label for="opt-bg">Background</label>
<div class="input-wrapper">
@@ -108,6 +108,20 @@
</div>
</div>
</div>
<div class="control-group">
<label>Output Format</label>
<div style="display: flex; gap: 2rem; align-items: center; border: 1px solid black; padding: 1rem; background: #fff;">
<label style="margin:0; display:flex; align-items:center; cursor:pointer;">
<input type="radio" name="opt-fmt" value="png" checked style="width:auto; margin-right:0.5rem;">
PNG
</label>
<label style="margin:0; display:flex; align-items:center; cursor:pointer;">
<input type="radio" name="opt-fmt" value="svg" style="width:auto; margin-right:0.5rem;">
SVG
</label>
</div>
</div>
</details>
</section>