BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
The CSS provided by Syncfusion is only for Syncfusion components, so if I want to add own components to my application, I will need to use a different CSS technology.
1, For example, does Syncfusion have any opened css classes, like utility or grid-system? I looked for it, but couldn't find it.
2, If not, should I prepare my own CSS or CSS framework additionally? If so, is that okay to do so?
3, Is it bad practice to customize the SCSS theme files provided by Syncfusion and make the utility classes by myself? For example, primary color etc. I expect I'll have to do this if I want to consider switching themes. However, since I think it is a fundamental topic for most of the syncfusion users, I wonder if there is any official solution available.
4, I found the official samples are using bootstrap and raw CSS additionally. If I use bootstrap, it will only fit with bootstrap themes out of the several themes that Syncfusion provides by default, right? For example, if I use bootstrap additionally, should I give up using themes like tailwind, fabric etc?
Hi, Jesus Arockia Sankaran.
Thank you very much for your answer.You mean below?
1, No there aren't
2, Yes, you should prepare own CSS for your additional components
4, Yes, you should give up to switch multiple styles(tailwind ⇔ bootstrap ⇔ fabric ⇔ ...) on same site. You can switch only color scheme if you add some self-made component in specific style(tailwind, bootstrap, or fabric etc).
OK, I prepare own css or css library, and give up on being able to switch between multiple styles when I add other component by myself in a project.
How about No.3? Based on what you answered, I'm guessing the answer is "it's a BAD PRACTICE because there aren't enough of them to force us to open them as utility classes, so we end up with not enough of them"?
Thank you very much! Sorry for bad English, thank you for your kind reply.
Can I try to write plain English without deepl? If you (or any other) are ok, please stay with me a little longer.
-------------------------------------------if you are ok, please read below --------------------------------------
I understand syncfusion ej2 components are closed with "e-" prefix. And I understand I can overwrite the theme, by scss variable. And I understand I can use other css. I understand I can dynamically change the theme. I understand I can only customize the color schemes.
But I still can't understand this: When I use syncfusion in my project, I will want to add some components. Then, a problem happen. Syncfusion ej2 doesn't provide css class of color, like primary color, secondary color, background color. So, I can't match colors between syncfusion components and self-made components. If syncfusion ej2 have some css class like primary color, secondary color, bg-color(of current theme) by default, there are no problem. But the real is not like so. How to manage it?
I want dark theme and light theme. But because of this problem, it's difficult. I sure understand syncfusion ej2 components supports theme switching, I know. But, What about self-made components? Syncfusion don't have theme color css class by default, I can't apply to my additional components like "primary-color". I think this is problem. I still can't understand how to accomplish this usecase. Am I missing something? syncfusion can accomplish this usecase? I just want to add dark mode and light mode for my product, without dirty solution.