feat: Eingabe-Tab mit bidirektionaler Farbumrechnung

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ferdinand
2026-04-01 16:19:47 +02:00
parent 8aacaa1d8f
commit cf9cdb2f6e
3 changed files with 102 additions and 2 deletions

View File

@@ -22,8 +22,27 @@
<p>Picker kommt hier</p>
</section>
<section id="tab-eingabe" class="tab-content">
<p>Eingabe kommt hier</p>
</section>
<h2>Farbe eingeben</h2>
<div id="eingabe-preview" class="color-preview" style="background:#3a8fc1"></div>
<div class="color-codes">
<div class="color-code-group">
<label>Hex</label>
<input id="eingabe-hex" type="text" value="#3a8fc1" maxlength="7">
</div>
<div class="color-code-group">
<label>RGB</label>
<input id="eingabe-rgb" type="text" value="58, 143, 193">
</div>
<div class="color-code-group">
<label>HSL</label>
<input id="eingabe-hsl" type="text" value="204, 54%, 49%">
</div>
</div>
<div style="display:flex;gap:0.5rem">
<button class="action-btn" id="eingabe-fav-btn">Zu Favoriten</button>
<button class="action-btn" id="eingabe-schema-btn">Zu Schema hinzufügen</button>
</div>
</section>
<section id="tab-harmonien" class="tab-content">
<p>Harmonien kommen hier</p>
</section>