A SCSS library of mixins and functions that are used within projects.
$ yarn add -D @mediamonks/scss-utils
npm i -S @mediamonks/scss-utils
- aspect-ratio
- font-face
- hover
- ir
- placeholder
- position
- offset
- pseudo
- respond-to
- size
- text-ellipsis
- arrow
- variables
- $pathAsset: default project asset path (..)
- $pathFont: default project font path (font, prefixed with $pathAsset)
- $pathImage: default project image path (image, prefixed with $pathAsset)
- $zLayout: default list of zIndex names (default)
- $mediaQueries: default list of mediaQueries (empty list)
- $minimumFluidSizeViewportWidth: default value for minumum viewport width used in fluid size (480px)
- $maximumFluidSizeViewportWidth: default value for maximum viewport width used in fluid size (1440px)
- $useRem: default value for using/converting pixels into REM units in fluid size (true)
- $useClamp: default value for using
clamp
(otherwisemax
) in fluid size (true) - $ease{name}: List of easing bezier curves
- $easeLinear
- $ease
- $easeIn
- $easeOut
- $easeInOut
- $easeInQuad
- $easeOutQuad
- $easeInCubic
- $easeOutCubic
- $easeInQuart
- $easeOutQuart
- $easeInQuint
- $easeOutQuint
- $easeInSine
- $easeOutSine
- $easeInExpo
- $easeOutExpo
- $easeInCirc
- $easeOutCirc
- $easeInBack
- $easeOutBack
- $easeInOutQuad
- $easeInOutCubic
- $easeInOutQuart
- $easeInOutQuint
- $easeInOutSine
- $easeInOutExpo
- $easeInOutCirc
- $easeInOutBack
- $easeLinear
View CONTRIBUTING.md
View CHANGELOG.md
View AUTHORS.md
MIT © MediaMonks