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

Settings and activity

2 results found

  1. 1 vote

    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

    0 comments  ·  Extensions » Bugs  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    avi12 shared this idea  · 
  2. 144 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

    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  ·