Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ struct HomeAssistantStandByView: View {
if emptyState == nil {
HAProgressView()
.transition(.opacity)
.padding(.bottom, DesignSystem.Spaces.ten)
.padding(.bottom, DesignSystem.Spaces.eighteen)
}
}

Expand Down Expand Up @@ -185,7 +185,8 @@ struct HomeAssistantStandByView: View {
private var currentServerPillContent: some View {
HStack(spacing: DesignSystem.Spaces.one) {
Text(server.info.name)
.font(.caption.bold())
.font(.headline)
.foregroundStyle(.secondary)
.lineLimit(1)
.padding(.horizontal, DesignSystem.Spaces.two)
.frame(height: Self.serverPillHeight)
Comment thread
bgoncal marked this conversation as resolved.
Expand All @@ -207,7 +208,7 @@ struct HomeAssistantStandByView: View {
private var connectionTypeIndicator: some View {
Button(action: showConnectionTypeToast) {
Image(systemSymbol: connectionTypeIndicatorIcon)
.font(.caption2.bold())
.font(.headline)
.foregroundStyle(Color.haPrimary)
.frame(width: Self.serverPillHeight, height: Self.serverPillHeight)
Comment thread
bgoncal marked this conversation as resolved.
.modify { view in
Expand Down
8 changes: 8 additions & 0 deletions Sources/HADesignSystem/Sources/Tokens/DesignSystem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ public enum DesignSystem {
public static let eight: CGFloat = 64
public static let nine: CGFloat = 72
public static let ten: CGFloat = 80
public static let eleven: CGFloat = 88
public static let twelve: CGFloat = 96
public static let thirteen: CGFloat = 104
public static let fourteen: CGFloat = 112
public static let fifteen: CGFloat = 120
public static let sixteen: CGFloat = 128
public static let seventeen: CGFloat = 136
public static let eighteen: CGFloat = 144
}

public enum CornerRadius {
Expand Down