i've bought an extended license to the theme designer and am using the sass api. Portions of my app are not react and I want to make use a few styles / css classes to give a consistent look.
However, the styles generated for CSS do not match those on the demo page.
For example, menubar (https://primefaces.org/primereact/showcase/#/menubar) has additional styles defined in Menubar.css that are not included in the generated theme. One example is this:
.p-menubar {
display: flex;
align-items: center;
}
Are these styles added dynamically by the react component? Are they available to included in theme generation via sass? If not, purchasing the theme designer license was a very poor choice for my use case.
theme designer / sass api missing styles
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
PrimeReact's core has CSS styles related to alignment. If you import primereact{.min}.css, all core css will be added into your app. Exp;
PrimeReact Designer only styles the components according to the design structure. For example padding, border-radius and color styles.
In short, it's CSS at the core that doesn't have any color or design. It can be easily converted into a specific design with the PrimeReact Designer.
https://github.com/primefaces/primereac ... ereact.css
Best Regards,
PrimeReact's core has CSS styles related to alignment. If you import primereact{.min}.css, all core css will be added into your app. Exp;
Code: Select all
.p-menubar {
display: flex;
align-items: center;
}
In short, it's CSS at the core that doesn't have any color or design. It can be easily converted into a specific design with the PrimeReact Designer.
- Maybe, you can use primereact/components/*.css files instead of primereact{.min}.css in your app. Full list;Are these styles added dynamically by the react component?
https://github.com/primefaces/primereac ... ereact.css
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
You're welcome!
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest