when making a app that uses light mode and dark mode.
const { colorScheme } = useMantineColorScheme();
const isDark = colorScheme === "dark";
do i always have to use this and do a ternary operator to change styles? is there a way so that it automatically changes style without is the isDark variable?
edit*
im new to this and i can't find the docs to handle this