-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
I was going through recent changes and noticed that I can set the colors for shortcut
and dimmed
. Commit: ecf90ad
I tried the following in my configuration to test,
[ui.colors.shortcut]
fg = "#123456"
bg = "#ffffff"
bold = true
[ui.colors.dimmed]
fg = "#123456"
bg = "#ffffff"
bold = true
This didn't work. After adding some logs, I noticed that the place where the palette is being initialized,
jjui/internal/ui/common/styles.go
Lines 92 to 93 in e5f75ee
p.Dimmed = createStyleFrom(config.Current.UI.Colors.Dimmed) | |
p.Shortcut = createStyleFrom(config.Current.UI.Colors.Shortcut) |
is called in the path of,
Line 117 in e5f75ee
appContext := context.NewAppContext(rootLocation) |
which is being called before loading the user's configuration.
Is this observation correct or am I not configuring this correctly? When I check the value of this color inside the palette update function and after loading the config, they're different as expected.
Metadata
Metadata
Assignees
Labels
No labels