mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 13:26:16 +00:00
fixed label hidden
This commit is contained in:
@@ -20,8 +20,8 @@ struct ThemeEditorView: View {
|
|||||||
List {
|
List {
|
||||||
|
|
||||||
Section("Preview") {
|
Section("Preview") {
|
||||||
// ThemePreview(hostsManager: HostsManager(), theme: themeCodable.toTheme(), canModify: false)
|
// ThemePreview(hostsManager: HostsManager(), theme: .constant(theme), canModify: false)
|
||||||
// .id(themeCodable)
|
// .id(theme)
|
||||||
}
|
}
|
||||||
|
|
||||||
Section("Name") {
|
Section("Name") {
|
||||||
@@ -32,19 +32,12 @@ struct ThemeEditorView: View {
|
|||||||
Section("Main Colors") {
|
Section("Main Colors") {
|
||||||
|
|
||||||
ColorPicker("Text", selection: $theme.foreground.suiColor, supportsOpacity: false)
|
ColorPicker("Text", selection: $theme.foreground.suiColor, supportsOpacity: false)
|
||||||
.labelsHidden()
|
|
||||||
ColorPicker("Background", selection: $theme.background.suiColor, supportsOpacity: false)
|
ColorPicker("Background", selection: $theme.background.suiColor, supportsOpacity: false)
|
||||||
.labelsHidden()
|
|
||||||
ColorPicker("Cursor", selection: $theme.cursor.suiColor, supportsOpacity: false)
|
ColorPicker("Cursor", selection: $theme.cursor.suiColor, supportsOpacity: false)
|
||||||
.labelsHidden()
|
|
||||||
ColorPicker("Cusor Text", selection: $theme.cursorText.suiColor, supportsOpacity: false)
|
ColorPicker("Cusor Text", selection: $theme.cursorText.suiColor, supportsOpacity: false)
|
||||||
.labelsHidden()
|
|
||||||
ColorPicker("Bold Text", selection: $theme.bold.suiColor, supportsOpacity: false)
|
ColorPicker("Bold Text", selection: $theme.bold.suiColor, supportsOpacity: false)
|
||||||
.labelsHidden()
|
|
||||||
ColorPicker("Selection", selection: $theme.selection.suiColor, supportsOpacity: false)
|
ColorPicker("Selection", selection: $theme.selection.suiColor, supportsOpacity: false)
|
||||||
.labelsHidden()
|
|
||||||
ColorPicker("Selected Text", selection: $theme.selectedText.suiColor, supportsOpacity: false)
|
ColorPicker("Selected Text", selection: $theme.selectedText.suiColor, supportsOpacity: false)
|
||||||
.labelsHidden()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Section("Ansi Colors") {
|
Section("Ansi Colors") {
|
||||||
|
|||||||
Reference in New Issue
Block a user