Changes between Version 5 and Version 6 of DeveloperGuidelines/Themes/SCSS
- Timestamp:
- 07/05/18 11:30:33 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Themes/SCSS
v5 v6 6 6 === Necessary Style Sheets === 7 7 8 Foundation-based themes consist of four SCSS-built stylesheets: 8 ==== Foundation ==== 9 10 Foundation-based themes must include the '''Foundation base stylesheets''': 9 11 10 12 - static/themes/foundation/normalize.css 11 13 - static/themes/THEME/foundation/foundation.css 12 14 - static/themes/THEME/foundation/foundation.rtl.css 13 - static/themes/THEME/theme.css14 15 15 Only one of {{{foundation.css}}} or {{{foundation.rtl.css}}} is loaded, depending on the writing direction for the current UI language (Left-To-Right or Right-To-Left).16 These base styles must be loaded before all other Sahana style sheets. 16 17 18 Note that only one of {{{foundation.css}}} or {{{foundation.rtl.css}}} is loaded, depending on the writing direction for the current UI language (Left-To-Right or Right-To-Left). 19 20 ==== Theme ==== 21 22 The SCSS-built {{{theme.css}}} style sheet is included at the end of {{{css.cfg}}}: 23 24 {{{ 25 ... 26 ../themes/THEME/theme.css 27 #../themes/THEME/style.css 28 # Final line required for parsing 29 }}} 30 31 It can be followed by an optional {{{THEME/style.css}}} with additional, theme-specific CSS and final overrides. The {{{THEME/style.css}}} is not built from SCSS, so it can be edited directly. 17 32 === Adding Foundation to layout.html === 18 33