Coffeekraken.io 0.0.1

s-context

Return the name of the context setted with the [../mixins/_s-context.scss] mixin

Name Type Description Status Default
$default { String } The name to return if no context exist optional null

Return { String } The context name

Example

    // register a context
@include s-context-setup('my-context', (
        // override some settings here...
));

s-context('hello') // => 'hello'
@include s-context('my-context') {
        s-context('hello') // => 'my-context'
}

Author : Olivier Bossel olivier.bossel@gmail.com;