Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Named colours not translated to hex in arithmetic #170

Open
valtron opened this issue Dec 29, 2010 · 1 comment
Open

Named colours not translated to hex in arithmetic #170

valtron opened this issue Dec 29, 2010 · 1 comment

Comments

@valtron
Copy link

valtron commented Dec 29, 2010

Example:

// less

@col: pink;

#foo { background-color: @col * 0.8; }

// output css

#foo { background-color: pink 0.8; }

// expected css

#foo { background-color: #CC99A2; }

@joeldrapper
Copy link

@valtron There are also problems using darken and lighten functions with named colors. For now, you could import this http://cl.ly/11012A021g0M1W0k331m and then use variables instead of named colors. i.e. background: @red;

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

No branches or pull requests

2 participants