Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radial-gradient bug #302

Open
L0une opened this issue Apr 13, 2015 · 1 comment
Open

Radial-gradient bug #302

L0une opened this issue Apr 13, 2015 · 1 comment

Comments

@L0une
Copy link

L0une commented Apr 13, 2015

Hello,
Here is a working code with linear-gradient:

testColor = #ff0000
.test
    background linear-gradient(testColor, #ffffff)

Here is a breaked code with radial-gradient:

testColor = #ff0000
.test
    background radial-gradient(testColor, #ffffff)
>> RangeError: css/theme/template/mixins.styl:12:75
>>     8|
>>     9|
>>    10| radial-gradient( $outer, $inner, $type = circle )
>>    11|       background $outer
>>    12|       background radial-gradient( center, $type cover,  $inner 0%, $outer 100% )
>> ---------------------------------------------------------------------------------^
>>    13|
>>
>> Maximum stylus call stack size exceeded
>>     at ".test" (css/theme/1twitif.styl:54:20)

Any idea please?

@notslang
Copy link
Collaborator

works fine for me and compiles into:

.test {
  background: -webkit-radial-gradient(#f00, #fff);
  background: -moz-radial-gradient(#f00, #fff);
  background: -o-radial-gradient(#f00, #fff);
  background: -ms-radial-gradient(#f00, #fff);
  background: radial-gradient(#f00, #fff);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants