css-modules / postcss-icss-values

Pass arbitrary constants between your module files
MIT License
203 stars 18 forks source link

Negative value doesn't work #51

Open octopitus opened 8 years ago

octopitus commented 8 years ago
@value sidebarWidth: 240px;

.sidebar {
   transform: translateX(-sidebarWidth)
}

Result (sidebarWidth isn't being transformed):

.sidebar {
   transform: translateX(-sidebarWidth)
}

Any ideas?

thomsta commented 7 years ago

I have exactly the same issue right now. Any suggestions?

buschtoens commented 7 years ago

@thomsta https://github.com/css-modules/postcss-modules-values/issues/64#issuecomment-241285628