Question
For now, I develop a system based on molecule with ant design. But I can't get current theme to distinguish the dark mode and light mode. I prefer to get the theme mode and to change the theme of ant design. For example,
// to get current theme in some way
const currentTheme = molecule.colorTheme.getCurrentTheme();
if(currentTheme === 'dark'){
changeAntDesignTheme();
}
Question
For now, I develop a system based on molecule with ant design. But I can't get current theme to distinguish the dark mode and light mode. I prefer to get the theme mode and to change the theme of ant design. For example,