| 34 | |
| 35 | == Foundation == |
| 36 | To update to a new version of Foundation: |
| 37 | * http://foundation.zurb.com/develop/download.html#customizeFoundation |
| 38 | * set Max-Width to 125em |
| 39 | * download 1 version with left-to-right (foundation.css/foundation.min.css), and one version with right-to-left support (foundation.rtl.css/foundation.rtl.min.css) |
| 40 | * copy the files into trunk (don't forget the JS) |
| 41 | |
| 42 | For custom SCSS builds: |
| 43 | * Python libsass [https://github.com/dahlia/libsass-python/issues/28 isn't working for Fran on Win32] currently, so the code in build.sahana.py isn't tested |
| 44 | * Separate the core Foundation (foundation.scss) from the custom styles (style.scss) |
| 45 | * For the custom style.scss, @include any required Foundation mixins, but omit the HTML classes using: |
| 46 | {{{ |
| 47 | $include-html-classes: false; |
| 48 | $include-html-global-classes: false; |
| 49 | }}} |
| 50 | * Build CSS using Ruby SASS: |
| 51 | {{{ |
| 52 | cd eden/private/templates/MYTHEME/scss |
| 53 | sass foundation.scss ../../../../static/themes/MYTHEME/foundation.css |
| 54 | sass style.scss ../../../../static/themes/MYTHEME/style.css |
| 55 | }}} |