files/app/styles/sidebar.rb in motion-prime-0.1.7 vs files/app/styles/sidebar.rb in motion-prime-0.2.0
- old
+ new
@@ -1,26 +1,26 @@
MotionPrime::Styles.define :sidebar do
# navigation layout
# ----------
style :screen,
- background_color: APP_CONFIG[:css_color_base],
+ background_color: MP::Config.color.base,
opaque: true
style :table,
top: 0,
left: 0,
width: 320,
bottom: 0,
- background_color: APP_CONFIG[:css_color_base],
- separator_color: APP_CONFIG[:css_color_dark],
+ background_color: MP::Config.color.base,
+ separator_color: MP::Config.color.dark,
opaque: true
style :table_cell,
selection_style: UITableViewCellSelectionStyleNone,
opaque: true
style :action_title,
- background_color: APP_CONFIG[:css_color_base],
+ background_color: MP::Config.color.base,
text_color: :white,
top: 10,
width: 320,
opaque: true,
font: proc { :system.uifont(20) },