Flamework 🔥
A SCSS/Styled-components layouting lib. Lightweight, non-intrusive with intuitive and clear syntax to put your project ablaze!
Layout
- Defining a container:
...
- Direction and Wrap:
[columns][row but wraps in mobile][column | mobile rows][reverse]
- Alignment:
......
Options: Main axis:
- start
- between
- around
- even
- center
- end
Cross axis:
- start
- center
- end
- stretch
Flex Columns
......
Flex Options:
- multiples of 5: 5, 10, .. 95, 100
- 33 or 66
Behavior:
- none
- initial
- noshrink
- auto
- stretch
- grow
Utils
- .videoWrapper (makes video responsive 16:9)
- .w100, .h100 (util: width or height 100%)
- .hide-mobile, .hide-desktop, .show-mobile, .show-desktop (instruct display on breakpoints)
Mixins
// array with props // custom inputs placeholders color // custom text selection color // Remove relevant button styles // set position: absolute; and zeroes all axis
Vars
;; // ~780px ;;; ; ;;;; ;;;; ; ;;;; ;;;