lib/whirled_peas/settings/border.rb in whirled_peas-0.12.0 vs lib/whirled_peas/settings/border.rb in whirled_peas-0.13.0
- old
+ new
@@ -32,11 +32,11 @@
'║', '╬', '═',
'║', '╣',
'╚', '═', '╩', '╝'
)
- DEFAULT = BOLD
+ DEFAULT = SOFT
def self.validate!(style)
return if style.nil?
return style if style.is_a?(Border::Style)
if style.is_a?(Symbol)
@@ -92,10 +92,10 @@
def outer?
left? || top? || right? || bottom?
end
def style
- @_style || theme.border_style || Styles::BOLD
+ @_style || theme.border_style || Styles::DEFAULT
end
def style=(val)
@_style = Styles.validate!(val)
end