threepointone/glamor

label casing

Opened this issue · 2 comments

I think it would be useful if the label's casing were preserved. I think it's getting toLowerCase here.

Would be neat to keep its casing. Especially since glamorous sets the label to the displayName of the component which will have special casing.

I ran into cases where slight confusing came from using all lowercase (using glamor through glamorous and the glamorous-displayname babel plugin). For example, repetitive letters distinguished by a difference in caps now run together in all lowercase. Preserving the capitalization would rule out any confusion here and would be a great enhancement!

image

this sounds reasonable. will get to it soon.