tailwindcss-theme-variants
Advanced tools
Comparing version 1.10.0-beta.7 to 1.10.0-beta.8
@@ -1,1 +0,1 @@ | ||
var h=Object.create,a=Object.defineProperty,i=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,n=Object.getOwnPropertyNames,g=Object.getOwnPropertyDescriptor,l=e=>a(e,"__esModule",{value:!0}),y=(e,o,s)=>{if(l(e),typeof o=="object"||typeof o=="function")for(let t of n(o))!m.call(e,t)&&t!=="default"&&a(e,t,{get:()=>o[t],enumerable:!(s=g(o,t))||s.enumerable});return e},u=e=>e&&e.__esModule?e:y(a(h(i(e)),"default",{value:e,enumerable:!0}),e);const r=u(require("."));module.exports={variants:{backgroundColor:({after:e})=>e(["themes","themes:group-hover","themes:focus-within","themes:hover","themes:focus"]),borderColor:({after:e})=>e(["themes","themes:group-hover","themes:focus-within","themes:hover","themes:focus"]),boxShadow:({after:e})=>e(["themes","themes:group-hover","themes:focus-within","themes:hover","themes:focus"]),gradientColorStops:({after:e})=>e(["themes","themes:hover","themes:focus"]),divideColor:({after:e})=>e(["themes"]),textColor:({after:e})=>e(["themes","themes:group-hover","themes:focus-within","themes:hover","themes:focus","themes:placeholder"])},plugins:[r.themeVariants({group:"themes",fallback:"compact",baseSelector:"html",themes:{light:{mediaQuery:r.prefersLight,selector:"[data-theme=light]",semantics:{colors:{primary:{faint:{200:"gray-200",100:"gray-100",DEFAULT:"gray-100"},DEFAULT:"white"},"on-primary":{faint:{500:"gray-300",400:"gray-400",300:"gray-500",200:"gray-600",100:"gray-700",DEFAULT:"gray-700"},DEFAULT:"gray-800"},error:"red-100","on-error":"red-900",warning:"yellow-100","on-warning":"yellow-900",sucess:"green-100","on-sucess":"green-900",info:"blue-100","on-info":"blue-900"}}},dark:{mediaQuery:r.prefersDark,selector:"[data-theme=dark]",semantics:{colors:{primary:{faint:{200:"gray-700",100:"gray-800"},default:"gray-900"},"on-primary":{faint:{500:"gray-600",400:"gray-500",300:"gray-400",200:"gray-300",100:"gray-200"},default:"gray-100"},error:"red-800","on-error":"white",warning:"yellow-800","on-warning":"white",sucess:"green-800","on-sucess":"white",info:"blue-800","on-info":"white"}}}}})]}; | ||
var h=Object.create,s=Object.defineProperty,i=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,n=Object.getOwnPropertyNames,g=Object.getOwnPropertyDescriptor,l=e=>s(e,"__esModule",{value:!0}),y=(e,o,a)=>{if(l(e),typeof o=="object"||typeof o=="function")for(let t of n(o))!m.call(e,t)&&t!=="default"&&s(e,t,{get:()=>o[t],enumerable:!(a=g(o,t))||a.enumerable});return e},c=e=>e&&e.__esModule?e:y(s(h(i(e)),"default",{value:e,enumerable:!0}),e);const r=c(require("."));module.exports={variants:{backgroundColor:({after:e})=>e(["themes","themes:group-hover","themes:focus-within","themes:hover","themes:focus"]),borderColor:({after:e})=>e(["themes","themes:group-hover","themes:focus-within","themes:hover","themes:focus"]),boxShadow:({after:e})=>e(["themes","themes:group-hover","themes:focus-within","themes:hover","themes:focus"]),gradientColorStops:({after:e})=>e(["themes","themes:hover","themes:focus"]),divideColor:({after:e})=>e(["themes"]),textColor:({after:e})=>e(["themes","themes:group-hover","themes:focus-within","themes:hover","themes:focus","themes:placeholder"])},plugins:[r.themeVariants({group:"themes",fallback:"compact",baseSelector:"html",themes:{light:{mediaQuery:r.prefersLight,selector:"[data-theme=light]",semantics:{colors:{primary:{faint:{200:"gray-200",100:"gray-100"},DEFAULT:"white"},"on-primary":{faint:{500:"gray-300",400:"gray-400",300:"gray-500",200:"gray-600",100:"gray-700"},DEFAULT:"gray-800"},error:"red-100","on-error":"red-900",warning:"yellow-100","on-warning":"yellow-900",sucess:"green-100","on-sucess":"green-900",info:"blue-100","on-info":"blue-900"}}},dark:{mediaQuery:r.prefersDark,selector:"[data-theme=dark]",semantics:{colors:{primary:{faint:{200:"gray-700",100:"gray-800"},DEFAULT:"gray-900"},"on-primary":{faint:{500:"gray-600",400:"gray-500",300:"gray-400",200:"gray-300",100:"gray-200"},DEFAULT:"gray-100"},error:"red-800","on-error":"white",warning:"yellow-800","on-warning":"white",sucess:"green-800","on-sucess":"white",info:"blue-800","on-info":"white"}}}}})]}; |
{ | ||
"name": "tailwindcss-theme-variants", | ||
"version": "1.10.0-beta.7", | ||
"version": "1.10.0-beta.8", | ||
"description": "Media-query- or JavaScript-based theme variants with fallback for Tailwind CSS", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
101362
297