forked from rmurphey/mulberry
-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrading
mrdanimal edited this page Jan 13, 2012
·
5 revisions
- The template definition yaml format changed. Any custom templates should be updated:
- regions no longer use
containerTypeproperty - regions now have a
typeproperty which can have the value ofrow,column, orcomponent
- regions no longer use
- The default theme is now copied into a scaffolded app, so old apps don't have a copy of it. The main
custom.scssis also now calledbase.scss. (Warning: the following may overwrite some of your files. Make sure you're using version control.) To get the default theme, domulberry update_themes - The
locations-maptemplate is now namedgoogle-map-phoneandgoogle-map-tabletas appropriate. - The pattern for the command line commands has changed; see Command Line Interface
- The command line utility has moved from
/mulberry/bin/mulberryto/cli/bin/mulberry. Update your $PATH to the new location. - Upgrade to PhoneGap 1.3
- If you're developing for iOS, download PhoneGap and run the iOS installer
-
templatesare now calledpage_defs- Rename the
templatesdirectory topage_defs - In all your page markdown files, change
templatetopage_def
- Rename the
- Theming changes: To get the changes, run
mulberry update_themesand resolve any conflicts manually- Icons have been moved to
themes/default/resources/icons. - All colors have been extracted to
themes/default/_settings.scss - Instead of defining layout in page_def yaml files, use mixins in page_def scss files
- Any references to the following sass mixins should be changed:
-
column-container->flex-column-container -
row-container->flex-row-container
-
- For any custom templates you've created:
- create an scss file in
themes/<my theme>/pagedefs - remove all
type:<row, column>parameters from the yaml. Applyflex-row-containerandflex-column-containerto their parent region in scss instead - remove all
layout: size-fixedfrom the yaml. Applyfixed-flex-regionto the element in the scss instead
- create an scss file in
- Any references to the following sass mixins should be changed:
- Icons have been moved to