Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespaced all CSS classes #229

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mattfordham
Copy link

This PR updates every CSS class the plug-in uses to be namespaced with "uls-". This was most problematic with the grid classes, which are very likely to conflict with a project's established grid system.

@Nikerabbit
Copy link
Member

It looks like you were not aware of #105. It contains explanation why the grid classes cannot be renamed in this way. Basically the only way is to migrate Translate etc. to something else first.

@Nikerabbit
Copy link
Member

I did a little research on flexbox as replacement for uls grid. It seems flexbox is not recommended as drop-in grid replacement. One thing we could do is to copy uls grid to translate with prefixing the classes. This leads to some (but not very much) CSS duplication and breaks the dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants