mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-01 05:05:57 -08:00
1 line
799 B
JavaScript
1 line
799 B
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{415:function(e,t,n){"use strict";n.r(t);var a={name:"ThemeManager",beforeMount:function(){function e(e){window.__theme=e,t=e,document.body.setAttribute("data-theme",e),window.__onThemeChange(e)}var t;window.__onThemeChange=function(){};try{t=localStorage.getItem("theme")}catch(e){}window.__setPreferredTheme=function(t){e(t);try{localStorage.setItem("theme",t)}catch(e){}};var n=window.matchMedia("(prefers-color-scheme: dark)");n.addListener((function(e){window.__setPreferredTheme(e.matches?"dark":"light")})),e(t||(n.matches?"dark":"light"))}},i=n(25),o=Object(i.a)(a,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticStyle:{visibility:"hidden",display:"none"}})}),[],!1,null,null,null);t.default=o.exports}}]); |