-
Notifications
You must be signed in to change notification settings - Fork 29
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
How to use it in our PS module ? #66
Comments
Ping @NeOMakinG |
On legacy page, how the module team does is that they import the UIKit inside a new parent class/id, so they only have the last uikit release on their app without creating conflict with the existing BO style @TheTakylo |
@NeOMakinG Okay, so how can I make it look the same as here for example |
@TheTakylo import it by using npm install --save prestakit, then import it inside a scss selector like this :
That should be fine and override the style from the BO, I think that's how the module team does... I agree that's dirty as hell, but we're trying to improve that :) |
Hi, just tested that it works 👍 You might want to add this to documentation https://devdocs.prestashop.com/ I add trouble finding this |
@justeen35 sorry for the late answer, I think I'm gonna work on that after the next uikit release which will be way complete and reusable! |
Any news about the release of the next uikit ? |
@JS-starlord It's released PrestaShop/PrestaShop#18396 currently working on the BO theme to use source files! |
Is it possible to use uikit without entering in conflict with Prestashop BO's bootstrap ? If i compare popovers on ui storybook and popovers on my module, there is clearly a visual difference (see attachment). How can i get the exact same visual of prestaui kit when developing a module ? on my module's back-office : on https://build.prestashop.com/prestashop-ui-kit/?path=/docs/popovers--popovers |
I think @PrestaShop/prestashop-modules team does include the UIKit inside a specific selector in order to override the |
I don't see any prestashop official modules using uikit, do you have some hint to guide me ? I have try to put my uikit import in a body selector for my module, but it's don't seem to totally override the default theme |
@PrestaShop/prestashop-modules do you've some modules using the UIKit ? |
i tried but no changes. i installed then i made a file named then i write this part you mentioned |
Hey @stifler97, did you properly add the selector (might be stupid but I prefer to ask)? Also, |
Hi,
in the README you say:
But when I copy/paste some code from http://build.prestashop.com/prestashop-ui-kit like the select box component into my configure.tpl file I get the old design and not the one from PSUI.
Do we have to do something special to use it in our module development ?
Regards
The text was updated successfully, but these errors were encountered: