aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/style.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/style.go b/config/style.go
index 7b13c3a2..2703b257 100644
--- a/config/style.go
+++ b/config/style.go
@@ -223,10 +223,10 @@ func (s *Style) Set(attr, val string) error {
func (s Style) composeWith(styles []*Style) Style {
newStyle := s
for _, st := range styles {
- if st.Fg != s.Fg {
+ if st.Fg != s.Fg && st.Fg != tcell.ColorDefault {
newStyle.Fg = st.Fg
}
- if st.Bg != s.Bg {
+ if st.Bg != s.Bg && st.Bg != tcell.ColorDefault {
newStyle.Bg = st.Bg
}
if st.Bold != s.Bold {