UNPKG

react18-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 e=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var x=Object.prototype.hasOwnProperty;var D=(o,t)=>{for(var s in t)e(o,s,{get:t[s],enumerable:!0})},T=(o,t,s,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of p(t))!x.call(o,r)&&r!==s&&e(o,r,{get:()=>t[r],enumerable:!(c=n(t,r))||c.enumerable});return o};var h=o=>T(e({},"__esModule",{value:!0}),o);var S={};D(S,{DARK:()=>I,DEFAULT_ID:()=>A,LIGHT:()=>E,SYSTEM:()=>L});module.exports=h(S);var A="rth",E="light",I="dark",L="system";0&&(module.exports={DARK,DEFAULT_ID,LIGHT,SYSTEM});