Skip to content
  • Leon Arnott's avatar
    Added (stripes:), a variant of (gradient:) which creates a striped background... · e848ddef76a5
    Leon Arnott authored
    Added (stripes:), a variant of (gradient:) which creates a striped background (for use with (background:)) when given a given stripe width, angle, and colours.
    
    As of now, the adjusted "stops" data value on (stripes:)'s gradients may seem ugly, but it leaves the possibility open for someday adding (repeating-gradient:), which would use the same {pixels,colour} names.
    
    Also fixed a long-standing bug where, due to a precedence conflict, writing something like `$a's stops's (1)` would cause a Javascript error.
    e848ddef76a5