Skip to content

Update _Form.styl#7

Open
nakoshi-k wants to merge 1 commit intomilligram:mainfrom
nakoshi-k:nakoshi-k-patch-1
Open

Update _Form.styl#7
nakoshi-k wants to merge 1 commit intomilligram:mainfrom
nakoshi-k:nakoshi-k-patch-1

Conversation

@nakoshi-k
Copy link

Description

fix issue#4

  • Bypass the stylus built-in uri function.

Code sample

_url(path)
  s( "url('" + path + "')")

  background: _url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 8" width="30"><path fill="' + color-quaternary + '" d="M0,0l6,8l6-8"/></svg>',"utf8") center right no-repeat
  padding-right: 3.0rem

@cjpatoilo cjpatoilo self-assigned this Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stylus url is a function, and it sets its own quote style

2 participants