For example when its light I want as background x.png when its dark y.png.
Thanks!
HiKenneth Flores
To target the dark or light theme in Metronic Angular, you can use the theme-light-show and theme-dark-show classes. These classes will only show the element when the corresponding theme is active.
For example, if you want to display different images based on the theme, you can use the following code:
<img alt="Light Logo" src="x.png" class="theme-light-show" />
<img alt="Dark Logo" src="y.png" class="theme-dark-show" />