motion-prime/styles/form.rb in motion-prime-0.5.0 vs motion-prime/styles/form.rb in motion-prime-0.5.1

- old
+ new

@@ -39,11 +39,11 @@ bottom: 0, width: 300, line_break_mode: :word_wrap, number_of_lines: 0, size_to_fit: true, - text_color: proc { MotionPrime::Config.color.error }, + text_color: :app_error, font: proc { MotionPrime::Config.font.name.uifont(12) } # available options for input: # @layer: @border_width: FLOAT # @layer: @border_color: COLOR @@ -103,12 +103,12 @@ style :with_sections_switch_hint, left: 25 style :field_input_with_errors, layer: { - border_color: proc { MotionPrime::Config.color.error } + border_color: :app_error }, - text_color: proc { MotionPrime::Config.color.error } + text_color: :app_error style :switch_field_input, top: 10, right: 0, width: 51 \ No newline at end of file