Skip to content

linear-gradient and multiple background #14

Closed
@fabianonunes

Description

@fabianonunes

a error has been throwed out when I set multiple background with "linear-gradient" mixin.
example:

body
    background linear-gradient(top, rgba(black, 0.8), rgba(white, 0.8)), url("/images/pattern.gif")

exception:
RangeError: /home/fabiano/workdir/smx/node_modules/nib/lib/nib/gradients.styl:105
104| linear-gradient(start, stops...)

105| error('color stops required') unless length(stops)
106| prop = current-property[0]
107| val = current-property[1]
108| stops = normalize-stops(stops)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions