zellwk/typi

Namespace your map variables

cjwd opened this issue · 3 comments

cjwd commented

Other libraries use variables such as breakpoints.
Consider name spacing the breakpoints map variable to avoid conflicts for example
$typi-breakpoints:

Did you find a conflict in these namespaces yourself? I'm wondering cause I didn't feel that's a problem, but happy to hear more and investigate it.

Agree with this, i use a custom breakpoint function, called '$breakpoint', which fails with this as the format is not compatible with your breakpoint.
Can I easily change the your name to $typi-breakpoints?

@tomdowning82 Not right now. You need to change provide a $breakpoint variable for each typi mixin you call right now. I have yet to abstract these away. May need some time before I can get to this. But point taken.

If you can send a pull request, that'll help out a ton.