Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendered CSS colours are uppercased #295

Closed
qasimalyas opened this issue Nov 20, 2015 · 5 comments
Closed

Rendered CSS colours are uppercased #295

qasimalyas opened this issue Nov 20, 2015 · 5 comments

Comments

@qasimalyas
Copy link

I've come across an issue where I migrated from version 1.0.1 to version 1.1.0. I recompiled my .less files and my output colours are rendered from lowercase to uppercase.

#e1e1e1 to #E1E1E1

Is there an option to stop this from happening? I couldn't see any applicable options on the main page.

I know this is purely cosmetic but I have quite a large codebase which would require a rebuild and deploy which I do want to avoid at this stage.

@mackensen
Copy link

I'm seeing this as well; rolling back to ~1.0.0 eliminates the issue.

@jrcryer
Copy link

jrcryer commented Dec 13, 2015

Out of interest - which platform are you both on @mackensen and @qasimalyas? I've tested it my end and can't see an issue. One potential is a difference between less 2.4.* and 2.5.*. I was wondering whether you'd tried to run less outside of the plugin and had the same result?

@mackensen
Copy link

@jrcryer OSX 10.11.2. I think you're right about the less version. I ran ran lessc (2.5.3) manually and it uppercased the colors. That's the same version grunt's installing.

@seven-phases-max
Copy link

Most likely this is related to Less preserving hex color values now. Thus you get them uppercase in the resulting CSS because they are uppercase in your sources (i.e. it does not make those uppercase now but rather did make them lowercase before 2.5.2).

@XhmikosR
Copy link
Member

This is an upstream issue.

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

No branches or pull requests

5 participants