I am trying to write a small mixin to create a filter gradient for internet explorer.
The function is called filter-gradient and takes 2 color parameters.
When you pass a color value of say #ffffff, stylus automatically shortens this to #fff.
Is there a way to maintain the long-hand version?
Thanks
You can use the
unquote()function for this, so theunquote('#ffffff')would always give you#ffffff, without the shortening.