@v4fire/client
Version:
V4Fire client core library
37 lines (28 loc) • 574 B
text/stylus
/*!
* V4Fire Client Core
* https://github.com/V4Fire/Client
*
* Released under the MIT license
* https://github.com/V4Fire/Client/blob/master/LICENSE
*/
$p = {
helpers: true
selector: ("")
}
i-width
if $p.helpers
$fullS = ()
$autoS = ()
$inheritS = ()
for $s in $p.selector
push($fullS, "&_width_full " + $s)
push($autoS, "&_width_auto " + $s)
push($inheritS, "&_width_inherit " + $s)
// @stlint-disable
{join(",", $fullS)}
width 100%
{join(",", $autoS)}
width auto
{join(",", $inheritS)}
width inherit
// @stlint-enable