Skip to content

some less variables accidentally lowercased #4090

@scott-ho

Description

@scott-ho

Prettier 1.11.1
Playground link

Input:

@calendarColor: #ccc;
@calendarColorText : #ccc;
@calendarInputColor: #858584;
@calendarRangeTextColor: #47b0d1;
@calendarSignsActiveColor: #009dc7;

// lowercased?
@calendar-Signs-Active-Text : #fff;
@unitColor : #a7a9ac;

Output:

@calendarColor: #ccc;
@calendarcolortext : #ccc;
@calendarInputColor: #858584;
@calendarRangeTextColor: #47b0d1;
@calendarSignsActiveColor: #009dc7;

// lowercased?
@calendar-signs-active-text : #fff;
@unitcolor : #a7a9ac;

Expected behavior:
Output should be exact the same as input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:css/scss/lessIssues affecting CSS, Less or SCSSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.priority:highCode is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependency

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions