Development
- Install macOS updates
- Install Chrome
- Download Xcode
- Install Hyper
- Change shell
- Install homebrew
- Install NVM
- Install latest version of node
Development
| [max-width] { | |
| } |
| <wrapper><slot></slot></wrapper> | |
| <style> | |
| /* To colour the background or draw borders to the full width of the document */ | |
| :host { | |
| /* To make the section full width of the browser */ | |
| width: 100vw; | |
| /* To bring section back to the center */ | |
| position: relative; |
| %color_theme_default { | |
| --heading-color: COLOR_PRIMARY; | |
| --background-color: COLOR_WHITE; | |
| --color: COLOR_BLACK; | |
| --paragraph-color: COLOR_BLACK; | |
| --link-color: COLOR_PRIMARY; | |
| } | |
| %color_body { | |
| --color: COLOR_BLACK; |
| { | |
| text { | |
| size { | |
| font-size: { | |
| } | |
| } | |
| } | |
| } |
| /** Example using phtml-markdown | |
| https://github.com/phtmlorg/phtml-markdown **/ | |
| // svelt-preprocessor | |
| const options = { | |
| phtml ({ content, filename }) { | |
| return phtmlMarkdown.process(content, { from: filename }).then(result => ({ code: result.html, map: null })); | |
| } | |
| } |
| @keyword props(padding, margin) small: 16px; | |
| @keyword small: 16px { | |
| props: padding margin; | |
| } | |
| @keyword props(padding margin) small { | |
| value: 16px; | |
| } |
| <!-- This method requires you to append a suffix to each utility class in your css and gets tedious --> | |
| <div class="span-1/5-tablet span-1/4-desktop">...</div> | |
| <div class="span-4/5-tablet span-1/4-desktop">...</div> | |
| <div class="span-2/4-desktop">...</div> |