fix: internaldrive.fill icon, ink/inkInverse adaptive colors

Light mode: white disk icon on black bg
Dark mode: black disk icon on white bg
No green — uses AppTheme.ink + AppTheme.inkInverse throughout.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Robin Kutesa
2026-05-16 19:08:43 +03:00
parent 6f7e80023f
commit 6f7d05a6c2
3 changed files with 14 additions and 18 deletions

View File

@@ -113,17 +113,14 @@ struct LoginView: View {
private var nasLogoView: some View {
ZStack {
// UGREEN brand green background
RoundedRectangle(cornerRadius: 22, style: .continuous)
.fill(Color(red: 0.12, green: 0.64, blue: 0.38))
.fill(AppTheme.ink)
.frame(width: 90, height: 90)
// NAS icon white on green
Image(systemName: "externaldrive.fill")
.font(.system(size: 32, weight: .medium))
.foregroundStyle(.white.opacity(0.92))
Image(systemName: "internaldrive.fill")
.font(.system(size: 34, weight: .medium))
.foregroundStyle(AppTheme.inkInverse)
}
.shadow(color: Color(red: 0.12, green: 0.64, blue: 0.38).opacity(0.4),
radius: 16, x: 0, y: 6)
.shadow(color: AppTheme.ink.opacity(0.2), radius: 16, x: 0, y: 6)
}
}