lib/vedeu/colours/colour.rb in vedeu-0.6.42 vs lib/vedeu/colours/colour.rb in vedeu-0.6.43
- old
+ new
@@ -64,9 +64,14 @@
new
end
end
+ # @return [Vedeu::Colours::Colour]
+ def self.default
+ new(background: :default, foreground: :default)
+ end
+
# Returns a new instance of Vedeu::Colours::Colour.
#
# @param attributes [Hash]
# @option attributes background [String]
# @option attributes foreground [String]