Skip to content

Commit

Permalink
fix: Make the export toolbar button more obvious (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbmorley authored Sep 27, 2024
1 parent 31db571 commit d669064
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Symbolic/Toolbars/ExportToolbar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ import SwiftUI

struct ExportToolbar: CustomizableToolbarContent {

struct LayoutMetrics {
static let buttonCornerRadius = 6.0
}

@FocusedObject private var sceneModel: SceneModel?

var body: some CustomizableToolbarContent {
Expand All @@ -34,8 +38,11 @@ struct ExportToolbar: CustomizableToolbarContent {
sceneModel?.export()
}
} label: {
Label("Export", systemImage: "square.and.arrow.up")
Text("Export")
.foregroundStyle(.white)
}
.background(Color.accentColor
.cornerRadius(LayoutMetrics.buttonCornerRadius))
.help("Export icons")
}

Expand Down

0 comments on commit d669064

Please sign in to comment.