Sha256: 54f82cecfbf3af949e9c7cfd90f45a529d419761d9ec9e5de43ca14542c53261

Contents?: true

Size: 332 Bytes

Versions: 24

Compression:

Stored size: 332 Bytes

Contents

@function url-friendly-colour($colour)
  @return '%23' + str-slice('#{$colour}', 2, -1)


// Remove the unit of a length
// https://css-tricks.com/snippets/sass/strip-unit-function/
@function strip-unit($number)
  @if type-of($number) == 'number' and not unitless($number)
    @return $number / ($number * 0 + 1)

  @return $number

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
slow-steps-1.0.8 _sass/_functions.sass
slow-steps-1.0.6 _sass/_functions.sass
slow-steps-1.0.5 _sass/_functions.sass
slow-steps-1.0.4 _sass/_functions.sass
slow-steps-1.0.3 _sass/_functions.sass
slow-steps-1.0.2 _sass/_functions.sass
slow-steps-1.0.1 _sass/_functions.sass
slow-steps-1.0.0 _sass/_functions.sass
slow-steps-0.4.14 _sass/_functions.sass
slow-steps-0.4.13 _sass/_functions.sass
slow-steps-0.4.12 _sass/_functions.sass
slow-steps-0.4.11 _sass/_functions.sass
slow-steps-0.4.10 _sass/_functions.sass
slow-steps-0.4.9 _sass/_functions.sass
slow-steps-0.4.8 _sass/_functions.sass
slow-steps-0.4.7 _sass/_functions.sass
slow-steps-0.4.6 _sass/_functions.sass
slow-steps-0.4.5 _sass/_functions.sass
slow-steps-0.4.4 _sass/_functions.sass
slow-steps-0.4.3 _sass/_functions.sass