threepointone/glamor

Glamor adoption questions

Closed this issue · 3 comments

Hey, I'm on the brink or releasing a component library but ran into a hurdle with aphrodite. Wondering if glamor behaves the differently as in allows the styles to be overridden by user created css. Could you take a look at the issue I raised here. I would love to switch in glamor if it doesn't behave the same in that aspect.

No, I suppose glamor would have the same problem. Rather, this is more a problem with css than glamor / aphrodite. And I wouldn't move the tags to the top of head, this would be confusing to the user.

Could you component library accept style objects instead of classnames? You could merge those in and you'd get expected behavior.

@threepointone I was planning on supporting both classNames and style objects. In any case thanks!

closing this issue for now. assuming this classname is a class from the developer's own stylesheet, not a glamor / aph classname, not much we can do, sorry :|