henrikruscon / hyper-statusline

Status Line Plugin for Hyper
MIT License
386 stars 79 forks source link

Sets default background/foreground colors #59

Closed goatslacker closed 6 years ago

goatslacker commented 7 years ago

If the foregroundColor and/or backgroundColor do not exist in the config then hyper-statusline defaults to black for both.

Tested this in Node:

> require('color')(undefined).string()
'rgb(0, 0, 0)'

This commit also removes some redundant default resolvers. Since .string() from color returns a filled string the default option is no longer needed.

henrikruscon commented 6 years ago

Sorry for massive delay ✌️