Fix theme consistency, i18n completeness, CSS variable naming, and hardcoded strings
This commit is contained in:
1 parent
0abd490f67
commit
b058a3827b
37 files changed
+431
-214
No files matched your search
@@ -73,7 +73,7 @@ export function FaviconForm({ currentUrl }: { currentUrl: string | null }) {
|
||||
<img
|
||||
src={preview}
|
||||
alt="Favicon preview"
|
||||
className="w-16 h-16 rounded-lg border-2 border-[var(--border)] object-contain bg-white"
|
||||
className="w-16 h-16 rounded-lg border-2 border-[var(--border-subtle)] object-contain bg-white"
|
||||
/>
|
||||
<div className="text-xs text-[var(--color-text-muted)] break-all">{preview}</div>
|
||||
</div>
|
||||
|
||||
@@ -85,7 +85,7 @@ export function FaviconGenerator({ onSave }: Props) {
|
||||
ref={canvasRef}
|
||||
width={SIZE}
|
||||
height={SIZE}
|
||||
className="border-2 border-[var(--border)] rounded-xl shadow-lg"
|
||||
className="border-2 border-[var(--border-subtle)] rounded-xl shadow-lg"
|
||||
style={{ width: 128, height: 128, imageRendering: "pixelated" }}
|
||||
/>
|
||||
</div>
|
||||
@@ -114,7 +114,7 @@ export function FaviconGenerator({ onSave }: Props) {
|
||||
type="color"
|
||||
value={bgColor}
|
||||
onChange={(e) => setBgColor(e.target.value)}
|
||||
className="w-10 h-10 rounded-lg cursor-pointer border border-[var(--border)]"
|
||||
className="w-10 h-10 rounded-lg cursor-pointer border border-[var(--border-subtle)]"
|
||||
/>
|
||||
<span className="text-xs text-[var(--color-text-muted)] font-mono">{bgColor}</span>
|
||||
</div>
|
||||
@@ -142,7 +142,7 @@ export function FaviconGenerator({ onSave }: Props) {
|
||||
type="color"
|
||||
value={textColor}
|
||||
onChange={(e) => setTextColor(e.target.value)}
|
||||
className="w-10 h-10 rounded-lg cursor-pointer border border-[var(--border)]"
|
||||
className="w-10 h-10 rounded-lg cursor-pointer border border-[var(--border-subtle)]"
|
||||
/>
|
||||
<span className="text-xs text-[var(--color-text-muted)] font-mono">{textColor}</span>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user