UNPKG

nextjs-themes

Version:

Unleash the Power of React Server Components! Use multiple themes on your site with confidence, without losing any advantages of React Server Components.

2 lines (1 loc) 608 B
"use strict";var n=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var x=Object.prototype.hasOwnProperty;var D=(o,t)=>{for(var e in t)n(o,e,{get:t[e],enumerable:!0})},T=(o,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of p(t))!x.call(o,s)&&s!==e&&n(o,s,{get:()=>t[s],enumerable:!(r=c(t,s))||r.enumerable});return o};var h=o=>T(n({},"__esModule",{value:!0}),o);var S={};D(S,{DARK:()=>I,DEFAULT_ID:()=>A,LIGHT:()=>E,SYSTEM:()=>L});module.exports=h(S);var A="nth",E="light",I="dark",L="system";0&&(module.exports={DARK,DEFAULT_ID,LIGHT,SYSTEM});