How do adapt the app UI according to the user’s theme?
You have to make use of design tokens and ‘useCurrentTheme’ hook. This how-to guide explains how you can make use of the user’s theme: Support dark and light themes | Dynatrace Developer
Hi Chris,
- That hos have been removed from
@dynatrace/strato-components-preview/layoutsand moved to@dynatrace/strato-components
Hi Haris,
Thank you for your reply.
The deprecated theme control is still working fine. However, I will try using the other Dynatrace package, as you suggested.
