What is the desired way to theme your application? #15548
-
For the most part i love the documentation, but when it comes to theming i don't seem to understand the core concept of theming the application. I understand that you can build your application on existing themes and change the colors by using css-variables or sass functions. But in most of you example applications you use sass functions for palettes and also use all the theming functions for most components, while in your documentation it says:
In your light and dark theme example the documentation shows sass theming rather then css variables. I know you can use these in combination, but i would love to see an example for the optimal approach on theming with ingiteui-angular based on these criteria:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @xdinterface , Thank you for reaching out! We appreciate your feedback on the documentation. Some documentation references for more details in regards to your question: To help you better understand how theming works, I have prepared a StackBlitz sample showcasing an approach based on your requirements. ✅ Material Theme as the Basis - The sample starts with the Material theme as the default base.
✅ Switching Between Light and Dark Theme - Implemented custom ThemeService to dynamically toggles between light and dark themes.
Thank you for using our components! Best Regards, |
Beta Was this translation helpful? Give feedback.
Hello @xdinterface ,
Thank you for reaching out!
We understand that theming in Ignite UI for Angular can be a bit overwhelming at first, but our system is designed to be both flexible and powerful. You can mix and match both approaches to suit your needs.
We appreciate your feedback on the documentation.
Some documentation references for more details in regards to your question:
Themes Overview - Ignite UI Themes
Theming Engine - Theming System Explained
Component-Specific Theming - Component Themes
Variables - Button-Theme
To help you better understand how theming works, I have prepared a StackBlitz sample showcasing an approach based on your requirements.
Here’s how it addresses each po…