class MotionHybrid::Flash
Public Instance Methods
background_color()
click to toggle source
# File lib/motion-hybrid/views/toast.rb, line 64 def background_color '#dff0d8'.to_color end
image()
click to toggle source
# File lib/motion-hybrid/views/toast.rb, line 68 def image Icon.new(:check, 20, color: text_color) end
text_color()
click to toggle source
# File lib/motion-hybrid/views/toast.rb, line 60 def text_color '#3c763d'.to_color end