mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-11-29 21:46:11 +03:00
Themes: fix saving of background color in saveTheme (fixes #338)
This commit is contained in:
parent
f94441abb6
commit
31cc25801b
@ -405,7 +405,7 @@ saveTheme path t = do
|
||||
attrToCustom :: Attr -> CustomAttr
|
||||
attrToCustom a =
|
||||
CustomAttr { customFg = Just $ attrForeColor a
|
||||
, customBg = Just $ attrForeColor a
|
||||
, customBg = Just $ attrBackColor a
|
||||
, customStyle = case attrStyle a of
|
||||
SetTo s -> Just s
|
||||
_ -> Nothing
|
||||
|
Loading…
Reference in New Issue
Block a user