lib/nfg_ui/components/traits/theme.rb in nfg_ui-0.9.8.16 vs lib/nfg_ui/components/traits/theme.rb in nfg_ui-0.9.8.17
- old
+ new
@@ -12,10 +12,11 @@
danger
warning
info
light
dark
+ white
outlined].freeze
def primary_trait
options[:theme] = :primary
end
@@ -46,10 +47,10 @@
def dark_trait
options[:theme] = :dark
end
- def white_theme
+ def white_trait
options[:theme] = :white
end
def outlined_trait
options[:outlined] = true