Files
andros 15e0b79c83 Switch accent to Emacs-like purple, make timeline logo decorative
- AccentColor: define light (#6944B7) and dark (#A888F0) variants and wire ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME so the asset is actually applied. The previous green color was never picked up because the setting was missing.
- LogoView: drop the purple rounded-square background and force .renderingMode(.original) so the Org Social unicorn renders flat, keeping its own colors.
- TimelineView toolbar: move the logo from .navigationBarLeading to .principal and hide it from accessibility. Leading/trailing toolbar placements inherit UIKit bar-button interaction even with allowsHitTesting(false); .principal is the native slot for a decorative brand mark.
2026-04-20 15:16:57 +02:00

15 lines
308 B
Swift

import SwiftUI
struct LogoView: View {
var size: CGFloat = 28
var body: some View {
Image("OrgSocialLogo")
.renderingMode(.original)
.resizable()
.scaledToFit()
.frame(width: size, height: size)
.accessibilityHidden(true)
}
}