OnsenUI/OnsenUI

Scope components css classes into namespace

Closed this issue · 4 comments

Hi guys!
Thanks for an awesome framework!

Recently I've tried to use it with some other UI libs/frameworks, and given all your css classes has no "namespace" they interfere hard to css classes of other libs.
That mostly related to common names/classes, like .segment, .list, .modal, etc.

I think at least putting an .ons prefix to all the components classes (.modal -> .ons.modal) will make it more versatile to use and in combine with other css styles.
Or any other way that would work to achieve that :)

Thanks!

I don't understand why this is a someday/maybe... this is an easy fix that would save multiple people a lot of hassle.

This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed.

This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.

Can we reopen the issue? This could still be a great improvement, do you guys have any plans to make this change possible? @emccorson, @as-hirose.
Thanks!