You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for light and dark themes using the CSS prefers-color-scheme media query. This will enable the application to automatically adapt to the user's OS or browser theme preference.
The implementation should use CSS variables (--custom-variable-name) to define theme-specific colors and styles. These variables will be scoped under the :root selector for both prefers-color-scheme: light and prefers-color-scheme: dark.
Below is a proof-of-concept (code is bad and i did not impliment every element)
Add support for light and dark themes using the CSS prefers-color-scheme media query. This will enable the application to automatically adapt to the user's OS or browser theme preference.
The implementation should use CSS variables (--custom-variable-name) to define theme-specific colors and styles. These variables will be scoped under the :root selector for both prefers-color-scheme: light and prefers-color-scheme: dark.
Below is a proof-of-concept (code is bad and i did not impliment every element)
The text was updated successfully, but these errors were encountered: