files/app/config/base.rb in motion-prime-0.1.7 vs files/app/config/base.rb in motion-prime-0.2.0
- old
+ new
@@ -1,6 +1,9 @@
-APP_CONFIG = {}
-APP_CONFIG[:css_color_base] = 0x3aa9b6
-APP_CONFIG[:css_color_dark] = 0x41929c
+MP = MotionPrime unless defined?(MP)
+MP::Config.color do |color|
+ color.base = 0x3aa9b6
+ color.dark = 0x41929c
+end
+
# setup model's store
-MotionPrime::Store.connect
+MP::Store.connect
\ No newline at end of file