Selaa lähdekoodia

Add dark mode support

skullY 5 vuotta sitten
vanhempi
commit
1b7fa46f8e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      docs/index.html

+ 1 - 1
docs/index.html

@@ -14,7 +14,7 @@
   <meta property="og:url" content="https://docs.qmk.fm">
   <meta name="twitter:card" content="summary_large_image">
   <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css" title="light">
-  <link rel="stylesheet" href="qmk.css" title="dark" disabled>
+  <link rel="stylesheet" href="qmk.css" title="dark" media="(prefers-color-scheme: dark)">
   <link rel="stylesheet" href="sidebar.css" />
 </head>
 <body>