ephemeron
ephemeron

Reputation: 396

Using LESS Hat with Twitter Bootstrap LESS mixins

Well, the title pretty much sums up the crux of my question. I'm in the process of evaluating the possibility of using LESS + LESS Hat mixins (lesshat.com) + Twitter Bootstrap mixins. I would appreciate it if anyone could shed light on potential issues that might crop up. Or if it is advisable to do so in the first place. Thanks.

Upvotes: 1

Views: 1516

Answers (2)

LeZuse
LeZuse

Reputation: 1107

New version 2 (Nov 2013) allows you to use LESS Hat without any conflicts by introducing a prefixed version (with .lh-). There should be no other issues.

From README at https://github.com/csshat/lesshat/blob/master/README.md:

Bootstrap friendly – You can now use prefixed LESS Hat version and gaily work with Bootstrap. Yeah it's that easy.

Direct download: https://raw.github.com/csshat/lesshat/master/build/lesshat-prefixed.less

Upvotes: 5

ScottS
ScottS

Reputation: 72261

Apparently there is testimony of some potential issues of conflict between them. This is a quote from 4 months ago on the lesshat site:

There is one issue with it, i am using Twitter Bootstrap and csshat and love to add this to the framework. But it conflics [sic] with Twitter Bootstraps styling and wonderd [sic] if this can easily be fixed?

Whether those conflicts have been handled or not in the last 4 months is unknown. I have no personal experience with the two together, so I cannot testify further than the information I found above.

Upvotes: 2

Related Questions