Translate Ideas and Comments
Choose language:
There was an error during translation

Settings and activity

  1. 108 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    6 comments  ·  User Accessibility » Feature Request  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    avi12 commented  · 

    It's easy to implement as these 3 lines of JavaScript:

    const instanceDarkMode = matchMedia("(prefers-color-scheme: dark)");
    let isDark = instanceDarkMode.matches;
    instanceDarkMode.onchange = ({ matches }) => {
    isDark = matches;
    };

    avi12 supported this idea  ·