Coffeekraken.io 0.0.1

s

Generic sugar function can return multiple settings types like:

  • any settings : s('settings.{path}')
  • look and feel : s('look-and-feel.{property}', $size)
    • s('lnf.{property}', $size)
  • space : s('space.{size}')
  • color : s('color.{name}', $modifier)
  • transition : s('transition.{name}')
  • filter : s('filter.{name}')

Example

    $my-color : s('color.primary');
$my-transition : s('transition.fast');
$my-font-size : s('settings.typography.font.size')
// etc...

Author : Olivier Bossel olivier.bossel@gmail.com