Coffeekraken.io 0.0.1

s-filter

Return a list with all the filters that are passed as argument This will use the [./_s-filter-map.scss] function to parse the filters

Name Type Description Status Default
$filters { List } The registered filter(s) name(s) or the filter(s) string(s) to transform into list required

Return { List } The converted filters list to use as css property

Example

    // register a filter
@include s-setup((
        filters : (
            myCoolFilter : box-shadow(#000 0 0 10px) blur(30px),
            // other filters...
        )
));

// registered filter
.my-cool-elememt {
        filter : s-filter(myCoolFilter);
        // filter : box-shadow(#000 0 0 10px) blur(30px);
}

// custom filter
.my-cool-element {
        filter : s-filter(myCoolFilter invert(100%));
        // filter : box-shadow(#000 0 0 10px) blur(30px) invert(100%);
}

Author : Olivier Bossel olivier.bossel@gmail.com