Sha256: 28097f7e536181baa5770fdc75a1bdfe2687b7b1334b55f7659eeb190008afd8
Contents?: true
Size: 885 Bytes
Versions: 24
Compression:
Stored size: 885 Bytes
Contents
// Direction Helpers // ================= // Susy Flow Defaults // ------------------ // - PRIVATE @include susy-defaults(( flow: ltr, )); // Get Direction // ------------- // Return the 'from' or 'to' direction of a ltr or rtl flow. // - [$flow] : ltr | rtl // - [$key] : from | to @function get-direction( $flow: map-get($susy-defaults, flow), $key: from ) { $return: if($flow == rtl, (from: right, to: left), (from: left, to: right)); @return map-get($return, $key); } // To // -- // Return the 'to' direction of a flow // - [$flow] : ltr | rtl @function to( $flow: map-get($susy-defaults, flow) ) { @return get-direction($flow, to); } // From // ---- // Return the 'from' direction of a flow // - [$flow] : ltr | rtl @function from( $flow: map-get($susy-defaults, flow) ) { @return get-direction($flow, from); }
Version data entries
24 entries across 24 versions & 3 rubygems