Switch Wezterm color scheme
This commit is contained in:
parent
9fd688ab95
commit
04be1ffea0
1 changed files with 2 additions and 13 deletions
|
|
@ -13,23 +13,12 @@ end
|
|||
|
||||
local function scheme_for_appearance(appearance)
|
||||
if appearance:find 'Dark' then
|
||||
return 'Dark'
|
||||
return 'Github Dark'
|
||||
else
|
||||
return 'Light'
|
||||
return 'Github'
|
||||
end
|
||||
end
|
||||
|
||||
return {
|
||||
color_schemes = {
|
||||
['Dark'] = {
|
||||
background = 'rgb(41, 46, 50)',
|
||||
foreground = 'white'
|
||||
},
|
||||
['Light'] = {
|
||||
background = 'white',
|
||||
foreground = 'black'
|
||||
},
|
||||
},
|
||||
|
||||
color_scheme = scheme_for_appearance(get_appearance()),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue