Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Rounding errors in colors #2

Closed
agar opened this issue Nov 10, 2011 · 2 comments
Closed

Rounding errors in colors #2

agar opened this issue Nov 10, 2011 · 2 comments

Comments

@agar
Copy link
Owner

agar commented Nov 10, 2011

Hex values are being rounded at some point to produce slightly different values than those done by less.js.

For example, twitter bootstrap in less.js generates:

.label.notice {
  background-color: #62cffc;
}

where as less.php generates

.label.notice {
  background-color: #62d1fc;
}
Mordred added a commit to Mordred/less.php that referenced this issue Nov 21, 2011
…r. This produce slightly different values in color functions.
@Mordred
Copy link

Mordred commented Nov 21, 2011

Test my last commit. It should fix this issue.

@agar agar closed this as completed in 34dd5a0 Nov 22, 2011
@agar
Copy link
Owner Author

agar commented Nov 22, 2011

Thanks, all phpunit tests now pass :)

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