@onu-ui/preset
Advanced tools
Comparing version 1.0.12 to 1.0.13-beta.0
"use strict";var v=Object.defineProperty;var io=Object.getOwnPropertyDescriptor;var lo=Object.getOwnPropertyNames;var uo=Object.prototype.hasOwnProperty;var po=(o,r)=>{for(var t in r)v(o,t,{get:r[t],enumerable:!0})},ho=(o,r,t,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of lo(r))!uo.call(o,n)&&n!==t&&v(o,n,{get:()=>r[n],enumerable:!(e=io(r,n))||e.enumerable});return o};var fo=o=>ho(v({},"__esModule",{value:!0}),o);var Jo={};po(Jo,{darkTheme:()=>Yo,getCSSPreflights:()=>Ko,lightTheme:()=>qo,presetOnu:()=>Xo});module.exports=fo(Jo);var C={"o-border-base":"border-gray-400/50","o-transition":"transition-all duration-200","o-focus-base":"ring-2 ring-context/50","o-active-base":"ring-3 ring-context/10","o-borderless":"!border-none !shadow-none","o-solid":"bg-context border-context c-white","o-transparent":"bg-light-100 dark:bg-lightBackground c-baseText","o-light":"shadow-transparent bg-context:12 !hover-bg-context border-context c-context !hover-c-white !active-c-white !hover-border-context !active-border-context:64 !active-bg-context:64","o-light-simple":"shadow-transparent bg-context:12 border-context c-context","o-text":`!shadow-transparent !bg-transparent !hover-bg-context:32 !active-bg-context:12 | ||
!border-transparent | ||
!c-context`,"o-description":"text-darkSubText break-all","o-disabled":"opacity-40 cursor-not-allowed"};var S={pr:"relative",pa:"absolute",pf:"fixed","p-c":"pa top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2","f-c":"flex justify-center items-center","f-c-c":"f-c flex-col",fc:"flex justify-center",fi:"flex items-center",fcc:"flex justify-center items-center",fs:"flex justify-start",fsc:"flex justify-start items-center",fse:"flex justify-start items-end",fe:"flex justify-end",fec:"flex justify-end items-center",fb:"flex justify-between",fbc:"flex justify-between items-center",fa:"flex justify-around",fac:"flex justify-around items-center",fw:"flex justify-wrap",fwr:"flex justify-wrap-reverse"};var A={"o-alert-base":"pr p-3 fi rounded o-transition w-full of-hidden c-context shadow-context:50 o-solid border fi","o-alert-light":"o-light-simple","o-alert-content":"flex flex-col justify-center w-full","o-alert-header":"fb items-center","o-alert-title":"flex-1 text-title text-sm font-600","o-alert-close":"text-base cursor-pointer pa top-3 right-3 fcc","o-alert-icon":"fi pr-5","o-alert-description":"flex break-all items-center text-sm"};var B={"o-avatar-base":"fcc of-hidden shadow-sm aspect-square rounded-full bg-context text-white","o-avatar-mode-bg":"bg-cover","o-avatar-mode-img":"object-cover select-none","o-avatar-xs":"h-6 text-xs shadow-xs","o-avatar-sm":"h-8 text-sm shadow-sm","o-avatar-md":"h-10 text-sm shadow-md","o-avatar-lg":"h-15 text-base shadow-md","o-avatar-group-base":"flex space-x--4 children-relative"},E=[[/^o-avatar-group-(.*)$/,([,o])=>{if(["xs","sm","md","lg"].includes(o)){let r=o,t={xs:"h-6 text-xs shadow-xs",sm:"h-8 text-sm shadow-sm",md:"h-10 text-sm shadow-md",lg:"h-15 text-base shadow-md"};return`important-${{xs:"space-x--2",sm:"space-x--3",md:"space-x--4",lg:"space-x--6"}[r]} ${t[r].split(" ").map(n=>`important-children-${n}`).join(" ")}`}}]];var D={"o-badge":"pr inline-block align-middle","o-badge-sup":"bg-context text-(xs title) min-w-4.5 h-4.5 leading-4.5 whitespace-nowrap fcc inline-flex rounded-full px-1 z-1","o-badge-sup-fixed":"pa top-0 right-0 translate-x-[calc(50%-1px)] translate-y-[calc(-50%+1px)]","o-badge-sup-dot":"!min-w-auto !h-2 !w-2 rounded-full"};var T={"o-button-base":"fcc gap-1 inline-flex cursor-pointer rounded leading-none text-baseText border border-baseBorder font-medium whitespace-nowrap text-center box-border o-transition select-none !focus:outline-none","o-hover-active-base":"hover-border-[var(--onu-theme-primaryLight)] hover-text-primaryBase hover-bg-[var(--onu-theme-primaryLight)] active-border-primaryBorder active-text-primaryBase","o-button-light":"o-light","o-button-light-disable":"o-light-simple","o-button-defaultLight":"bg-transparent !border-primaryBorder text-primaryBase hover-bg-transparent","o-button-text":"o-text","o-button-defaultText":"!bg-transparent !text-baseText","o-button-text-disable":"!bg-transparent !border-transparent !c-context","o-button-xs":"px-2.5 h-6 text-xs shadow-xs","o-button-sm":"px-3 h-7 text-sm shadow-sm","o-button-md":"px-4 h-8 text-sm shadow-md","o-button-lg":"px-4 h-9 text-base shadow-lg"};var _={"o-card-base":"o-transition list-none relative rounded-md text-baseText w-full of-hidden","o-card":"o-card-base h-fit bg-lightBackground dark:border dark:b-lightBorder","o-card-md":"rounded-md text-sm","o-card-sm":"rounded-sm text-xs","o-card-cover":"children-w-full children-aspect-video","o-card-header":"fb px-4 py-2.5","o-card-header-wrapper":"flex flex-col flex-1 gap-1.5","o-card-header-title":"text-title font-medium","o-card-header-description":"text-xs text-darkSubText break-all !m-0","o-card-header-extra":"","o-card-body":"p-4 pt-1.5 leading-normal text-sm dark:c-darkText","o-card-actions":"p-4 pt-2","o-card-bordered":"border b-lightBorder important-shadow-none","o-card-hoverable":"border b-lightBorder hover-translate-y--1 hover-important-shadow-cardMD","o-card-shadow-always":"!shadow-cardMD","o-card-shadow-never":"shadow-none border b-lightBorder","o-card-embed":"bg-embed dark:bg-lightBackground"};var L={"o-checkbox-base":"fsc gap-1 inline-flex cursor-pointer text-sm text-baseText gap-2","o-checkbox":"o-transition rounded border b-baseBorder fcc peer-checked-(bg-primaryBase b-primaryBase scale-full children-scale-full)","o-checkbox-icon":"o-transition scale-0 text-(white base)","o-checkbox-icon-custom":"!bg-transparent !b-baseBorder","o-checkbox-md":"w-4 h-4","o-checkbox-lg":"w-5 h-5","o-checkbox-disabled":"o-disabled","o-checkbox-label":"whitespace-nowrap","o-checkbox-label-checked":"text-primaryBase"};var M={"o-collapse-base":"p2","o-collapse-item-title":"fi py-3 transition-all duration-300 cursor-pointer border-b-(1px solid #ebeef5)","o-collapse-item-title-active":"border-b-transparent","o-collapse-item-title-arrow-right":"justify-between","o-collapse-item-title-left":"fi gap-2","o-collapse-item-title-arrow-base":"transition-all duration-300 text-2xl","o-collapse-item-wrap":"overflow-hidden box-border transition-all duration-300 ease-out","o-collapse-item-content":"pb-5 border-b-(1px solid #ebeef5)"};var j={"o-icon-base":"c-context text-base"};var R={"o-message-base":"fixed o-transparent left-1/2 translate-x--1/2 o-transition shadow-md py-2 px-3 fi rounded of-hidden gap-3 text-sm font-semibold","o-message-closable":"cursor-pointer","o-message-content":"fi gap-2"},H=[[/^o-message-icon-(.*)$/,([,o])=>{let r=o;if(["primary","secondary","success","warning","error","info"].includes(r))return`${{primary:"i-carbon:favorite-filled",secondary:"i-carbon:asleep-filled",success:"i-carbon:checkmark-filled",warning:"i-carbon:warning-alt-filled",error:"i-carbon-close-filled",info:"i-carbon-information-filled"}[r]}`}]];var O={"o-switch-base":"b-(~ $o-switch-bc) bg-$o-switch-dot","o-switch-base-active":"checked-(b-context bg-$o-switch-dot-active)","o-switch-shadow":"shadow-switch checked-shadow-switchActive","o-switch":"o-switch-base o-switch-base-active o-switch-shadow appearance-none cursor-pointer flex-shrink-0 o-transition duration-300 rounded-full","o-switch-disabled":"o-disabled"};var N={"o-tag-base":"fcc gap-1 rounded inline-flex box-border !focus:outline-none c-context o-solid mx-1","o-tag-is-closable":"pr-7px","o-tag-xs":"px-1 h-5 text-xs","o-tag-sm":"px-2 h-6 text-sm","o-tag-md":"px-3 h-6.5 text-sm ","o-tag-lg":"px-4 h-7 text-base","o-tag-plain":"bg-context:20","o-tag-light":"c-context border !border-context:60 bg-context:12","o-tag-disabled":"o-disabled","o-tag-rounded":"rounded-full","o-tag-close":"ml-1.5 cursor-pointer c-context"};var z={"o-popup-title":"font-medium text-base","o-popup-content":"mt-1 break-words text-left text-sm"};var P={"o-trigger-popup-content":"box-border px-3 py-4 shadow-trigger rounded dark:bg-arrow c-context bg-baseBackground b-lightBorder border","o-trigger-popup-arrow":"absolute z-2 bg-light-100 dark:bg-grayBg border b-light-900 dark:b-grayBd box-border w-2 h-2 ","o-trigger-top":"b-t-0 b-l-0 rounded-br-sm","o-trigger-left":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-right":"b-t-0 b-r-0 rounded-bl-sm","o-trigger-bottom":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-top-left":"b-t-0 b-l-0 rounded-br-sm","o-trigger-top-right":"b-t-0 b-l-0 rounded-br-sm","o-trigger-bottom-left":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-bottom-right":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-left-top":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-left-bottom":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-right-top":"b-t-0 b-r-0 rounded-bl-sm","o-trigger-right-bottom":"b-t-0 b-r-0 rounded-bl-sm"};var V={"o-rate":"f-c cursor-pointer","o-rate-icon":"text-xl m-.5 !w-5 !h-5 o-transition","o-rate-unselect":"text-darkerBorder","o-rate-text":"leading-5","o-rate-half":"o-bg-clip-half"};var U={"o-empty-base":"f-c-c text-center box-border pt-8 pb-8 w-full","o-empty-img":"w-40"};var I=[C,S,A,B,...E,D,T,_,L,M,j,R,...H,O,N,z,P,V,U];var i="--onu-theme",d=o=>({[`${o}`]:`var(${i}-${o}Hsl)`,[`${o}Base`]:`var(${i}-${o})`,[`${o}Light`]:`var(${i}-${o}Light)`,[`${o}LightHover`]:`var(${i}-${o}LightHover)`,[`${o}LightActive`]:`var(${i}-${o}LightActive)`,[`${o}LightContrast`]:`var(${i}-${o}LightContrast)`,[`${o}Border`]:`var(${i}-${o}Border)`,[`${o}BorderHover`]:`var(${i}-${o}BorderHover)`,[`${o}BorderActive`]:`var(${i}-${o}BorderActive)`,[`${o}SolidHover`]:`var(${i}-${o}SolidHover)`,[`${o}SolidContrast`]:`var(${i}-${o}SolidContrast)`,[`${o}Shadow`]:`var(${i}-${o}Shadow)`}),W={colors:{context:"rgba(var(--onu-c-context),%alpha)",...d("primary"),...d("secondary"),...d("success"),...d("warning"),...d("error"),...d("info"),baseText:"var(--onu-colors-text)",baseBorder:"var(--onu-colors-border)",lightBorder:"var(--onu-colors-border-light)",darkerBorder:"var(--onu-colors-border-darker)",baseBackground:"var(--onu-colors-background)",lightBackground:"var(--onu-colors-background-light)",placeholder:"var(--onu-colors-placeholder)",grayBd:"#var(--onu-colors-background-gray)",arrow:"var(--onu-colors-arrow)",title:"var(--onu-colors-title)",darkText:"var(--onu-colors-text-darker)",darkSubText:"var(--onu-colors-text-light)",grayBg:"var(--onu-colors-grayBg)",embed:"var(--onu-colors-embed)",darkContext:"var(--onu-colors-darkContext)",lightContext:"var(--onu-colors-lightContext)"},fontFamily:{sans:"Avenir, Helvetica, Arial, sans-serif"},boxShadow:{xs:"var(--un-shadow-inset) 0 1px 1px 0 var(--un-shadow-color, rgba(0,0,0,0.03))",switch:"calc(var(--o-switch-offset) * -1) 0 0 2px var(--o-switch-bc) inset, 0 0 0 2px var(--o-switch-bc) inset;",switchActive:"calc(var(--o-switch-offset)) 0 0 2px var(--o-switch-c) inset, 0 0 0 2px var(--o-switch-c) inset;",trigger:"0px 4px 10px #0000001a",cardMD:"0px 0px 12px rgb(0 0 0 / 12%)",cardSM:"0px 0px 6px rgb(0 0 0 / 12%)"},animation:{keyframes:{switching:`{0%{ box-shadow: 0 0 0 2px #1890ff66; } | ||
!c-context`,"o-description":"text-darkSubText break-all","o-disabled":"opacity-40 cursor-not-allowed"};var S={pr:"relative",pa:"absolute",pf:"fixed","p-c":"pa top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2","f-c":"flex justify-center items-center","f-c-c":"f-c flex-col",fc:"flex justify-center",fi:"flex items-center",fcc:"flex justify-center items-center",fs:"flex justify-start",fsc:"flex justify-start items-center",fse:"flex justify-start items-end",fe:"flex justify-end",fec:"flex justify-end items-center",fb:"flex justify-between",fbc:"flex justify-between items-center",fa:"flex justify-around",fac:"flex justify-around items-center",fw:"flex justify-wrap",fwr:"flex justify-wrap-reverse"};var A={"o-alert-base":"pr p-3 fi rounded o-transition w-full of-hidden c-context shadow-context:50 o-solid border fi","o-alert-light":"o-light-simple","o-alert-content":"flex flex-col justify-center w-full","o-alert-header":"fb items-center","o-alert-title":"flex-1 text-white text-sm font-600","o-alert-close":"text-base cursor-pointer pa top-3 right-3 fcc","o-alert-icon":"fi pr-5","o-alert-description":"flex break-all items-center text-sm"};var B={"o-avatar-base":"fcc of-hidden shadow-sm aspect-square rounded-full bg-context text-white","o-avatar-mode-bg":"bg-cover","o-avatar-mode-img":"object-cover select-none","o-avatar-xs":"h-6 text-xs shadow-xs","o-avatar-sm":"h-8 text-sm shadow-sm","o-avatar-md":"h-10 text-sm shadow-md","o-avatar-lg":"h-15 text-base shadow-md","o-avatar-group-base":"flex space-x--4 children-relative"},E=[[/^o-avatar-group-(.*)$/,([,o])=>{if(["xs","sm","md","lg"].includes(o)){let r=o,t={xs:"h-6 text-xs shadow-xs",sm:"h-8 text-sm shadow-sm",md:"h-10 text-sm shadow-md",lg:"h-15 text-base shadow-md"};return`important-${{xs:"space-x--2",sm:"space-x--3",md:"space-x--4",lg:"space-x--6"}[r]} ${t[r].split(" ").map(n=>`important-children-${n}`).join(" ")}`}}]];var D={"o-badge":"pr inline-block align-middle","o-badge-sup":"bg-context text-(xs title) min-w-4.5 h-4.5 leading-4.5 whitespace-nowrap fcc inline-flex rounded-full px-1 z-1","o-badge-sup-fixed":"pa top-0 right-0 translate-x-[calc(50%-1px)] translate-y-[calc(-50%+1px)]","o-badge-sup-dot":"!min-w-auto !h-2 !w-2 rounded-full"};var T={"o-button-base":"fcc gap-1 inline-flex cursor-pointer rounded leading-none text-baseText border border-baseBorder font-medium whitespace-nowrap text-center box-border o-transition select-none !focus:outline-none","o-hover-active-base":"hover-border-[var(--onu-theme-primaryLight)] hover-text-primaryBase hover-bg-[var(--onu-theme-primaryLight)] active-border-primaryBorder active-text-primaryBase","o-button-light":"o-light","o-button-light-disable":"o-light-simple","o-button-defaultLight":"bg-transparent !border-primaryBorder text-primaryBase hover-bg-transparent","o-button-text":"o-text","o-button-defaultText":"!bg-transparent !text-baseText","o-button-text-disable":"!bg-transparent !border-transparent !c-context","o-button-xs":"px-2.5 h-6 text-xs shadow-xs","o-button-sm":"px-3 h-7 text-sm shadow-sm","o-button-md":"px-4 h-8 text-sm shadow-md","o-button-lg":"px-4 h-9 text-base shadow-lg"};var _={"o-card-base":"o-transition list-none relative rounded-md text-baseText w-full of-hidden","o-card":"o-card-base h-fit bg-lightBackground dark:border dark:b-lightBorder","o-card-md":"rounded-md text-sm","o-card-sm":"rounded-sm text-xs","o-card-cover":"children-w-full children-aspect-video","o-card-header":"fb px-4 py-2.5","o-card-header-wrapper":"flex flex-col flex-1 gap-1.5","o-card-header-title":"text-title font-medium","o-card-header-description":"text-xs text-darkSubText break-all !m-0","o-card-header-extra":"","o-card-body":"p-4 pt-1.5 leading-normal text-sm dark:c-darkText","o-card-actions":"p-4 pt-2","o-card-bordered":"border b-lightBorder important-shadow-none","o-card-hoverable":"border b-lightBorder hover-translate-y--1 hover-important-shadow-cardMD","o-card-shadow-always":"!shadow-cardMD","o-card-shadow-never":"shadow-none border b-lightBorder","o-card-embed":"bg-embed dark:bg-lightBackground"};var L={"o-checkbox-base":"fsc gap-1 inline-flex cursor-pointer text-sm text-baseText gap-2","o-checkbox":"o-transition rounded border b-baseBorder fcc peer-checked-(bg-primaryBase b-primaryBase scale-full children-scale-full)","o-checkbox-icon":"o-transition scale-0 text-(white base)","o-checkbox-icon-custom":"!bg-transparent !b-baseBorder","o-checkbox-md":"w-4 h-4","o-checkbox-lg":"w-5 h-5","o-checkbox-disabled":"o-disabled","o-checkbox-label":"whitespace-nowrap","o-checkbox-label-checked":"text-primaryBase"};var M={"o-collapse-base":"p2","o-collapse-item-title":"fi py-3 transition-all duration-300 cursor-pointer border-b-(1px solid #ebeef5)","o-collapse-item-title-active":"border-b-transparent","o-collapse-item-title-arrow-right":"justify-between","o-collapse-item-title-left":"fi gap-2","o-collapse-item-title-arrow-base":"transition-all duration-300 text-2xl","o-collapse-item-wrap":"overflow-hidden box-border transition-all duration-300 ease-out","o-collapse-item-content":"pb-5 border-b-(1px solid #ebeef5)"};var j={"o-icon-base":"c-context text-base"};var R={"o-message-base":"fixed o-transparent left-1/2 translate-x--1/2 o-transition shadow-md py-2 px-3 fi rounded of-hidden gap-3 text-sm font-semibold","o-message-closable":"cursor-pointer","o-message-content":"fi gap-2"},H=[[/^o-message-icon-(.*)$/,([,o])=>{let r=o;if(["primary","secondary","success","warning","error","info"].includes(r))return`${{primary:"i-carbon:favorite-filled",secondary:"i-carbon:asleep-filled",success:"i-carbon:checkmark-filled",warning:"i-carbon:warning-alt-filled",error:"i-carbon-close-filled",info:"i-carbon-information-filled"}[r]}`}]];var O={"o-switch-base":"b-(~ $o-switch-bc) bg-$o-switch-dot","o-switch-base-active":"checked-(b-context bg-$o-switch-dot-active)","o-switch-shadow":"shadow-switch checked-shadow-switchActive","o-switch":"o-switch-base o-switch-base-active o-switch-shadow appearance-none cursor-pointer flex-shrink-0 o-transition duration-300 rounded-full","o-switch-disabled":"o-disabled"};var N={"o-tag-base":"fcc gap-1 rounded inline-flex box-border !focus:outline-none c-context o-solid mx-1","o-tag-is-closable":"pr-7px","o-tag-xs":"px-1 h-5 text-xs","o-tag-sm":"px-2 h-6 text-sm","o-tag-md":"px-3 h-6.5 text-sm ","o-tag-lg":"px-4 h-7 text-base","o-tag-plain":"bg-context:20","o-tag-light":"c-context border !border-context:60 bg-context:12","o-tag-disabled":"o-disabled","o-tag-rounded":"rounded-full","o-tag-close":"ml-1.5 cursor-pointer c-context"};var z={"o-popup-title":"font-medium text-base","o-popup-content":"mt-1 break-words text-left text-sm"};var P={"o-trigger-popup-content":"box-border px-3 py-4 shadow-trigger rounded dark:bg-arrow c-context bg-baseBackground b-lightBorder border","o-trigger-popup-arrow":"absolute z-2 bg-light-100 dark:bg-grayBg border b-light-900 dark:b-grayBd box-border w-2 h-2 ","o-trigger-top":"b-t-0 b-l-0 rounded-br-sm","o-trigger-left":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-right":"b-t-0 b-r-0 rounded-bl-sm","o-trigger-bottom":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-top-left":"b-t-0 b-l-0 rounded-br-sm","o-trigger-top-right":"b-t-0 b-l-0 rounded-br-sm","o-trigger-bottom-left":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-bottom-right":"b-r-0 b-b-0 rounded-tl-sm","o-trigger-left-top":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-left-bottom":"b-b-0 b-l-0 rounded-tr-sm","o-trigger-right-top":"b-t-0 b-r-0 rounded-bl-sm","o-trigger-right-bottom":"b-t-0 b-r-0 rounded-bl-sm"};var V={"o-rate":"f-c cursor-pointer","o-rate-icon":"text-xl m-.5 !w-5 !h-5 o-transition","o-rate-unselect":"text-darkerBorder","o-rate-text":"leading-5","o-rate-half":"o-bg-clip-half"};var U={"o-empty-base":"f-c-c text-center box-border pt-8 pb-8 w-full","o-empty-img":"w-40"};var I=[C,S,A,B,...E,D,T,_,L,M,j,R,...H,O,N,z,P,V,U];var i="--onu-theme",d=o=>({[`${o}`]:`var(${i}-${o}Hsl)`,[`${o}Base`]:`var(${i}-${o})`,[`${o}Light`]:`var(${i}-${o}Light)`,[`${o}LightHover`]:`var(${i}-${o}LightHover)`,[`${o}LightActive`]:`var(${i}-${o}LightActive)`,[`${o}LightContrast`]:`var(${i}-${o}LightContrast)`,[`${o}Border`]:`var(${i}-${o}Border)`,[`${o}BorderHover`]:`var(${i}-${o}BorderHover)`,[`${o}BorderActive`]:`var(${i}-${o}BorderActive)`,[`${o}SolidHover`]:`var(${i}-${o}SolidHover)`,[`${o}SolidContrast`]:`var(${i}-${o}SolidContrast)`,[`${o}Shadow`]:`var(${i}-${o}Shadow)`}),W={colors:{context:"rgba(var(--onu-c-context),%alpha)",...d("primary"),...d("secondary"),...d("success"),...d("warning"),...d("error"),...d("info"),baseText:"var(--onu-colors-text)",baseBorder:"var(--onu-colors-border)",lightBorder:"var(--onu-colors-border-light)",darkerBorder:"var(--onu-colors-border-darker)",baseBackground:"var(--onu-colors-background)",lightBackground:"var(--onu-colors-background-light)",placeholder:"var(--onu-colors-placeholder)",grayBd:"#var(--onu-colors-background-gray)",arrow:"var(--onu-colors-arrow)",title:"var(--onu-colors-title)",darkText:"var(--onu-colors-text-darker)",darkSubText:"var(--onu-colors-text-light)",grayBg:"var(--onu-colors-grayBg)",embed:"var(--onu-colors-embed)",darkContext:"var(--onu-colors-darkContext)",lightContext:"var(--onu-colors-lightContext)"},fontFamily:{sans:"Avenir, Helvetica, Arial, sans-serif"},boxShadow:{xs:"var(--un-shadow-inset) 0 1px 1px 0 var(--un-shadow-color, rgba(0,0,0,0.03))",switch:"calc(var(--o-switch-offset) * -1) 0 0 2px var(--o-switch-bc) inset, 0 0 0 2px var(--o-switch-bc) inset;",switchActive:"calc(var(--o-switch-offset)) 0 0 2px var(--o-switch-c) inset, 0 0 0 2px var(--o-switch-c) inset;",trigger:"0px 4px 10px #0000001a",cardMD:"0px 0px 12px rgb(0 0 0 / 12%)",cardSM:"0px 0px 6px rgb(0 0 0 / 12%)"},animation:{keyframes:{switching:`{0%{ box-shadow: 0 0 0 2px #1890ff66; } | ||
60%{ box-shadow: 0 0 0 4px #1890ff33; } | ||
80%{ box-shadow: 0 0 0 6px #1890ff1a; } | ||
100%{ box-shadow: 0 0 0 8px #1890ff0d; }}`},durations:{switching:"0.3s"}}};function G(o){return o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function q(o){let r=o.length,t=-1,e,n="",s=o.charCodeAt(0);for(;++t<r;){if(e=o.charCodeAt(t),e===0){n+="\uFFFD";continue}if(e===44){n+="\\,";continue}if(e>=1&&e<=31||e===127||t===0&&e>=48&&e<=57||t===1&&e>=48&&e<=57&&s===45){n+=`\\${e.toString(16)} `;continue}if(t===0&&r===1&&e===45){n+=`\\${o.charAt(t)}`;continue}if(e>=128||e===45||e===95||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122){n+=o.charAt(t);continue}n+=`\\${o.charAt(t)}`}return n}function Y(o){return typeof o=="string"}function K(o){let r=function(e){let n=this.__options?.sequence||[];this.__options.sequence=[];for(let s of n){let c=o[s](e);if(c!=null)return c}};function t(e,n){return e.__options||(e.__options={sequence:[]}),e.__options.sequence.push(n),e}for(let e of Object.keys(o))Object.defineProperty(r,e,{enumerable:!0,get(){return t(this,e)}});return r}var go="default",mo="preflights",bo="shortcuts",jr={[mo]:-100,[bo]:-10,[go]:0};var J={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},xo={...J,s:["-inset-inline-start"],e:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]};var X=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],yo=Object.assign({},...X.map(o=>({[o.replace(/ /,"-")]:o})),...X.map(o=>({[o.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:o}))),Q=["inherit","initial","revert","revert-layer","unset"],$=/^(-?[0-9.]+)(px|pt|pc|%|r?em|ex|ch|ic|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,vo=/^(-?[0-9.]+)$/i,Z=/^(px)$/i,wo=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function l(o){return o.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function $o(o){let r=o.match($);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(e&&!Number.isNaN(n))return`${l(n)}${e}`}function Fo(o){if(o==="auto"||o==="a")return"auto"}function ko(o){if(o.match(Z))return`1${o}`;let r=o.match($);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(!Number.isNaN(n))return e?`${l(n)}${e}`:`${l(n/4)}rem`}function Co(o){if(o.match(Z))return`1${o}`;let r=o.match($);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(!Number.isNaN(n))return e?`${l(n)}${e}`:`${l(n)}px`}function So(o){if(!vo.test(o))return;let r=parseFloat(o);if(!Number.isNaN(r))return l(r)}function Ao(o){o.endsWith("%")&&(o=o.slice(0,-1));let r=parseFloat(o);if(!Number.isNaN(r))return`${l(r/100)}`}function Bo(o){if(o==="full")return"100%";let[r,t]=o.split("/"),e=parseFloat(r)/parseFloat(t);if(!Number.isNaN(e))return`${l(e*100)}%`}var Eo=/^\[(color|length|position|quoted|string):/i;function x(o,r){if(o&&o.startsWith("[")&&o.endsWith("]")){let t,e,n=o.match(Eo);if(n?(r||(e=n[1]),t=o.slice(n[0].length,-1)):t=o.slice(1,-1),!t)return;let s=0;for(let c of t)if(c==="[")s+=1;else if(c==="]"&&(s-=1,s<0))return;if(s)return;switch(e){case"string":return t.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return t.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return t.replace(/(url\(.*?\))/g,c=>c.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,c=>c.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function Do(o){return x(o)}function To(o){return x(o,"color")}function _o(o){return x(o,"length")}function Lo(o){return x(o,"position")}function Mo(o){if(o.match(/^\$\S/))return`var(--${q(o.slice(1))})`}function jo(o){let r=o.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(!Number.isNaN(n))return e?`${l(n)}${e}`:`${l(n)}ms`}function Ro(o){let r=o.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!r)return;let[,t,e]=r,n=parseFloat(t);if(!Number.isNaN(n))return e?`${l(n)}${e}`:`${l(n)}deg`}function Ho(o){if(Q.includes(o))return o}function Oo(o){if(o.split(",").every(r=>wo.includes(r)))return o}function No(o){if(["top","left","right","bottom","center"].includes(o))return o}var oo={__proto__:null,numberWithUnit:$o,auto:Fo,rem:ko,px:Co,number:So,percent:Ao,fraction:Bo,bracket:Do,bracketOfColor:To,bracketOfLength:_o,bracketOfPosition:Lo,cssvar:Mo,time:jo,degree:Ro,global:Ho,properties:Oo,position:No},m=K(oo);function w(o,r){let t=o.colors,e=-1;for(let n of r){if(e+=1,t&&typeof t!="string"){let s=r.slice(e).join("-").replace(/(-[a-z])/g,c=>c.slice(1).toUpperCase());if(t[s])return t[s];if(t[n]){t=t[n];continue}}return}return t}function F(o,r){let t=o.split(/(?:\/|:)/),e,n;t[0]==="[color"?(e=t.slice(0,2).join(":"),n=t[2]):[e,n]=t;let s=e.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[c]=s;if(!c)return;let a,h=m.bracketOfColor(e),g=h||e;g.match(/^#[\da-fA-F]+/g)?a=g:g.match(/^hex-[\da-fA-F]+/g)?a=`#${g.slice(4)}`:e.startsWith("$")&&(a=m.cssvar(e)),a=a||h;let f="DEFAULT";if(!a){let u,[k]=s.slice(-1);k.match(/^\d+$/)?(f=k,u=w(r,s.slice(0,-1)),!u||typeof u=="string"?a=void 0:a=u[f]):(u=w(r,s),!u&&s.length<=2&&([,f=f]=s,u=w(r,[c])),typeof u=="string"?a=u:f&&u&&(a=u[f]))}return{opacity:n,name:c,no:f,color:a,cssColor:to(a),alpha:m.bracket.cssvar.percent(n??"")}}function ro(o,r,t,e){if(o===""||(Y(e)&&(e=[e]),e.length===0))return;let n=o.length,s=0;for(let c=0;c<n;c++)switch(o[c]){case r:s++;break;case t:if(--s<0)return;break;default:for(let a of e){let h=a.length;if(h&&a===o.slice(c,c+h)&&s===0)return c===0||c===n-h?void 0:[o.slice(0,c),o.slice(c+h)]}}return[o,""]}function b(o,r,t){t=t??10;let e=[],n=0;for(;o!=="";){if(++n>t)return;let s=ro(o,"(",")",r);if(!s)return;let[c,a]=s;e.push(c),o=a}if(e.length>0)return e}var eo=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],zo=["%alpha","<alpha-value>"],Nr=new RegExp(zo.map(o=>G(o)).join("|"));function p(o=""){let r=no(o);if(r!=null){let{components:t,alpha:e}=r;return e==null?t:[...t,e]}}function to(o=""){let r=Po(o);if(r==null||r===!1)return;let{type:t,components:e,alpha:n}=r,s=t.toLowerCase();if(e.length!==0&&!(["rgba","hsla"].includes(s)&&n==null)&&!(eo.includes(s)&&![1,3].includes(e.length)))return{type:s,components:e.map(c=>typeof c=="string"?c.trim():c),alpha:typeof n=="string"?n.trim():n}}function Po(o){if(!o)return;let r=no(o);if(r!=null||(r=Vo(o),r!=null)||(r=Uo(o),r!=null)||(r=Wo(o),r!=null)||(r=Go(o),r!=null))return r}function no(o){let[,r]=o.match(/^#([\da-f]+)$/i)||[];if(!!r)switch(r.length){case 3:case 4:let t=Array.from(r,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:t.slice(0,3),alpha:r.length===3?void 0:Math.round(t[3]/255*100)/100};case 6:case 8:let e=Number.parseInt(r,16);return{type:"rgb",components:r.length===6?[e>>16&255,e>>8&255,e&255]:[e>>24&255,e>>16&255,e>>8&255],alpha:r.length===6?void 0:Math.round((e&255)/255*100)/100}}}function Vo(o){let r={rebeccapurple:[102,51,153,1]}[o];if(r!=null)return{type:"rgb",components:r.slice(0,3),alpha:r[3]}}function Uo(o){let r=o.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!r)return;let[,t,e]=r,n=b(e,",",5);if(n){if([3,4].includes(n.length))return{type:t,components:n.slice(0,3),alpha:n[3]};if(n.length!==1)return!1}}var Io=new RegExp(`^(${eo.join("|")})\\((.+)\\)$`,"i");function Wo(o){let r=o.match(Io);if(!r)return;let[,t,e]=r,n=so(`${t} ${e}`);if(n){let{alpha:s,components:[c,...a]}=n;return{type:c,components:a,alpha:s}}}function Go(o){let r=o.match(/^color\((.+)\)$/);if(!r)return;let t=so(r[1]);if(t){let{alpha:e,components:[n,...s]}=t;return{type:n,components:s,alpha:e}}}function so(o){let r=b(o," ");if(!r)return;let t=r.length;if(r[t-2]==="/")return{components:r.slice(0,t-2),alpha:r[t-1]};if(r[t-2]!=null&&(r[t-2].endsWith("/")||r[t-1].startsWith("/"))){let s=r.splice(t-2);r.push(s.join(" ")),--t}let e=b(r[t-1],"/",2);if(!e)return;if(e.length===1||e[e.length-1]==="")return{components:r};let n=e.pop();return r[t-1]=e.join("/"),{components:r,alpha:n}}var y={sm:["2rem","1.125rem","0.85rem"],md:["2.5rem","1.375rem","1.1rem"],lg:["3rem","1.625rem","1.375rem"]};var co=[[/^o-(.*)$/,([,o],{theme:r})=>{let t=F(o,r);return t?.cssColor?.type==="rgb"&&t.cssColor.components?{"--onu-c-context":`${t.cssColor.components.join(",")}`}:{"--onu-c-context":t?.color}}],[/^o-switch-(.+)$/,([,o])=>{if(["sm","md","lg"].includes(o))return{"--o-switch-offset":y[o][2],width:y[o][0],height:y[o][1]}}],["o-dashed",{"border-style":"dashed"}],["o-solid",{"background-color":"rgba(var(--onu-c-context), 1) !important","border-color":"rgba(var(--onu-c-context), 1)",color:"white !important"}],["o-bg-clip-half",{"clip-path":"polygon(0% 0%, 50% 0, 50% 50%, 50% 100%, 0% 100%)"}]];var ao=[o=>{let r="o-disabled:";if(o.startsWith(r))return{matcher:o.slice(r.length),selector:t=>`[disabled] ${t}, ${t}[disabled]`}},o=>{let r="o-checked:";if(o.startsWith(r))return{matcher:o.slice(r.length),selector:t=>`[checked] ${t}, ${t}[checked]`}}];var qo={"--onu-colors-blue50":"#EDF5FF","--onu-colors-blue100":"#E1EFFF","--onu-colors-blue200":"#ecf5ff","--onu-colors-blue300":"#B7D5F8","--onu-colors-blue400":"#79bbff","--onu-colors-blue500":"#409EFF","--onu-colors-blue600":"#0072F5","--onu-colors-blue700":"#005FCC","--onu-colors-blue800":"#004799","--onu-colors-blue900":"#00254D","--onu-colors-purple50":"#F7F2FD","--onu-colors-purple100":"#F1E8FB","--onu-colors-purple200":"#EADCF8","--onu-colors-purple300":"#E0CBF5","--onu-colors-purple400":"#D1B1F0","--onu-colors-purple500":"#BC8EE9","--onu-colors-purple600":"#A855F7","--onu-colors-purple700":"#6622AA","--onu-colors-purple800":"#4D1980","--onu-colors-purple900":"#290E44","--onu-colors-green50":"#F1FDF7","--onu-colors-green100":"#E8FCF1","--onu-colors-green200":"#DAFBE8","--onu-colors-green300":"#C8F9DD","--onu-colors-green400":"#ADF5CC","--onu-colors-green500":"#67eaa0","--onu-colors-green600":"#0ACF83","--onu-colors-green700":"#13A452","--onu-colors-green800":"#108944","--onu-colors-green900":"#06371B","--onu-colors-yellow50":"#FEF9F0","--onu-colors-yellow100":"#FEF5E7","--onu-colors-yellow200":"#FDEFD8","--onu-colors-yellow300":"#FCE7C5","--onu-colors-yellow400":"#FBDBA7","--onu-colors-yellow500":"#F9CB80","--onu-colors-yellow600":"#F5A524","--onu-colors-yellow700":"#B97509","--onu-colors-yellow800":"#925D07","--onu-colors-yellow900":"#4E3104","--onu-colors-red50":"#FEF0F5","--onu-colors-red100":"#FEE7EF","--onu-colors-red200":"#FDD8E5","--onu-colors-red300":"#FCC5D8","--onu-colors-red400":"#FAA8C5","--onu-colors-red500":"#f89898","--onu-colors-red600":"#FF5C5C","--onu-colors-red700":"#c45656","--onu-colors-red800":"#910838","--onu-colors-red900":"#4E041E","--onu-colors-cyan50":"#F0FCFF","--onu-colors-cyan100":"#E6FAFE","--onu-colors-cyan200":"#D7F8FE","--onu-colors-cyan300":"#C3F4FD","--onu-colors-cyan400":"#A5EEFD","--onu-colors-cyan500":"#7EE7FC","--onu-colors-cyan600":"#06B7DB","--onu-colors-cyan700":"#09AACD","--onu-colors-cyan800":"#0E8AAA","--onu-colors-cyan900":"#053B48","--onu-colors-pink50":"#FFF0FB","--onu-colors-pink100":"#FFE5F8","--onu-colors-pink200":"#FFD6F3","--onu-colors-pink300":"#FFC2EE","--onu-colors-pink400":"#FFA3E5","--onu-colors-pink500":"#FF7AD9","--onu-colors-pink600":"#FF4ECD","--onu-colors-pink700":"#D6009A","--onu-colors-pink800":"#B80084","--onu-colors-pink900":"#4D0037","--onu-colors-gray50":"#F1F3F5","--onu-colors-gray100":"#ECEEF0","--onu-colors-gray200":"#E6E8EB","--onu-colors-gray300":"#DFE3E6","--onu-colors-gray400":"#D7DBDF","--onu-colors-gray500":"#C1C8CD","--onu-colors-gray600":"#889096","--onu-colors-gray700":"#7E868C","--onu-colors-gray800":"#687076","--onu-colors-gray900":"#11181C","--onu-colors-white":"#ffffff","--onu-colors-black":"#000000","--onu-colors-black-light":"var(--onu-colors-white)","--onu-colors-background":"var(--onu-colors-white)","--onu-colors-background-light":"var(--onu-colors-black-light)","--onu-colors-background-gray":"var(--onu-colors-gray600)","--onu-colors-backgroundAlpha":"rgba(255, 255, 255, 0.8)","--onu-colors-foreground":"var(--onu-colors-black)","--onu-colors-backgroundContrast":"var(--onu-colors-white)","--onu-colors-text":"#606266","--onu-colors-text-darker":"#606266","--onu-colors-text-light":"#909399","--onu-colors-title":"#11181C","--onu-colors-placeholder":"#a8abb2","--onu-colors-grayBg":"#373739","--onu-colors-lightContext":"#f9f9f9","--onu-colors-embed":"#F1F3F5","--onu-colors-darkContext":"#1c1f23","--onu-colors-link":"var(--onu-colors-blue600)","--onu-colors-codeLight":"var(--onu-colors-pink100)","--onu-colors-code":"var(--onu-colors-pink600)","--onu-colors-selection":"var(--onu-colors-blue200)","--onu-colors-border":"#dcdfe6","--onu-colors-border-light":"#efeff5","--onu-colors-border-darker":"#cdd0d6","--onu-colors-headerBackground":"hsla(0,0%,100%,0.8)","--onu-colors-menuBackground":"rgba(255, 255, 255, 0.8)","--onu-colors-headerIconColor":"var(--onu-colors-gray400)","--onu-colors-codeBackground":"#363449","--onu-colors-codeComment":"var(--onu-colors-gray700)","--onu-colors-codeCopyIconColor":"var(--onu-colors-gray200)","--onu-colors-cardBackground":"var(--onu-colors-white)","--onu-colors-codeHighlight":"hsl(243, 16%, 30%)","--onu-colors-backgroundBlur":"rgba(255, 255, 255, 0.3)","--onu-colors-blockLinkBackground":"var(--onu-colors-accents1)","--onu-colors-blockLinkHoverBackground":"#FFD1ED","--onu-shadows-xs":"0 2px 8px 1px rgb(104 112 118 / 0.07), 0 1px 1px -1px rgb(104 112 118 / 0.04)","--onu-shadows-sm":"0 2px 8px 2px rgb(104 112 118 / 0.07), 0 2px 4px -1px rgb(104 112 118 / 0.04)","--onu-shadows-md":"0 12px 20px 6px rgb(104 112 118 / 0.08)","--onu-shadows-lg":"0 12px 34px 6px rgb(104 112 118 / 0.18)","--onu-shadows-xl":"0 25px 65px 0px inset","--onu-dropShadows-xs":"drop-shadow(0 2px 4px rgb(104 112 118 / 0.07)) drop-shadow(0 1px 1px rgb(104 112 118 / 0.04))","--onu-dropShadows-sm":"drop-shadow(0 2px 8px rgb(104 112 118 / 0.07)) drop-shadow(0 2px 4px rgb(104 112 118 / 0.04))","--onu-dropShadows-md":"drop-shadow(0 4px 12px rgb(104 112 118 / 0.08)) drop-shadow(0 20px 8px rgb(104 112 118 / 0.04))","--onu-dropShadows-lg":"drop-shadow(0 12px 24px rgb(104 112 118 / 0.15)) drop-shadow(0 12px 14px rgb(104 112 118 / 0.1))","--onu-dropShadows-xl":"drop-shadow(0 25px 34px rgb(104 112 118 / 0.35))","--onu-theme-primary":"var(--onu-colors-blue500)","--onu-theme-primaryHsl":`${p("#409EFF")}`,"--onu-theme-primaryLight":"var(--onu-colors-blue200)","--onu-theme-primaryBorder":"var(--onu-colors-blue500)","--onu-theme-primaryLightHover":"var(--onu-colors-blue400)","--onu-theme-primaryLightActive":"var(--onu-colors-blue600)","--onu-theme-primaryBorderHover":"var(--onu-colors-blue400)","--onu-theme-primaryBorderActive":"var(--onu-colors-blue600)","--onu-theme-primaryShadow":"var(--onu-colors-blue500)","--onu-theme-secondary":"var(--onu-colors-purple600)","--onu-theme-secondaryHsl":`${p("#A855F7")}`,"--onu-theme-secondaryBorder":"var(--onu-colors-purple600)","--onu-theme-secondaryLightHover":"var(--onu-colors-purple500)","--onu-theme-secondaryLightActive":"var(--onu-colors-purple700)","--onu-theme-secondaryBorderHover":"var(--onu-colors-purple500)","--onu-theme-secondaryBorderActive":"var(--onu-colors-purple700)","--onu-theme-secondaryShadow":"var(--onu-colors-purple500)","--onu-theme-success":"var(--onu-colors-green600)","--onu-theme-successHsl":`${p("#0ACF83")}`,"--onu-theme-successBorder":"var(--onu-colors-green600)","--onu-theme-successLightHover":"var(--onu-colors-green500)","--onu-theme-successLightActive":"var(--onu-colors-green700)","--onu-theme-successBorderHover":"var(--onu-colors-green500)","--onu-theme-successBorderActive":"var(--onu-colors-green700)","--onu-theme-successShadow":"var(--onu-colors-green500)","--onu-theme-warning":"var(--onu-colors-yellow600)","--onu-theme-warningHsl":`${p("#F5A524")}`,"--onu-theme-warningBorder":"var(--onu-colors-yellow500)","--onu-theme-warningLightHover":"var(--onu-colors-yellow500)","--onu-theme-warningLightActive":"var(--onu-colors-yellow700)","--onu-theme-warningBorderHover":"var(--onu-colors-yellow500)","--onu-theme-warningBorderActive":"var(--onu-colors-yellow700)","--onu-theme-warningShadow":"var(--onu-colors-yellow500)","--onu-theme-error":"var(--onu-colors-red600)","--onu-theme-errorHsl":`${p("#FF5C5C")}`,"--onu-theme-errorBorder":"var(--onu-colors-red600)","--onu-theme-errorLightHover":"var(--onu-colors-red500)","--onu-theme-errorLightActive":"var(--onu-colors-red700)","--onu-theme-errorBorderHover":"var(--onu-colors-red500)","--onu-theme-errorBorderActive":"var(--onu-colors-red700)","--onu-theme-errorShadow":"var(--onu-colors-red500)","--onu-theme-info":"var(--onu-colors-gray700)","--onu-theme-infoHsl":`${p("#7E868C")}`,"--onu-theme-infoBorder":"var(--onu-colors-gray700)","--onu-theme-infoLightHover":"var(--onu-colors-gray500)","--onu-theme-infoLightActive":"var(--onu-colors-gray800)","--onu-theme-infoBorderHover":"var(--onu-colors-gray500)","--onu-theme-infoBorderActive":"var(--onu-colors-gray800)","--onu-theme-infoShadow":"var(--onu-colors-gray400)"},Yo={"--onu-colors-blue50":"#10253E","--onu-colors-blue100":"#102C4C","--onu-colors-blue200":"#18222c","--onu-colors-blue300":"#0F3158","--onu-colors-blue400":"#79bbff","--onu-colors-blue500":"#0952A5","--onu-colors-blue600":"#0072F5","--onu-colors-blue700":"#3694FF","--onu-colors-blue800":"#3694FF","--onu-colors-blue900":"#EAF4FF","--onu-colors-purple50":"#1F0A33","--onu-colors-purple100":"#240C3C","--onu-colors-purple200":"#2E0F4D","--onu-colors-purple300":"#3B1362","--onu-colors-purple400":"#451773","--onu-colors-purple500":"#571D91","--onu-colors-purple600":"#7828C8","--onu-colors-purple700":"#9750DD","--onu-colors-purple800":"#B583E7","--onu-colors-purple900":"#F7ECFC","--onu-colors-green50":"#042F14","--onu-colors-green100":"#06381B","--onu-colors-green200":"#074A24","--onu-colors-green300":"#0A6130","--onu-colors-green400":"#0B7439","--onu-colors-green500":"#0F9549","--onu-colors-green600":"#17C964","--onu-colors-green700":"#41EC8B","--onu-colors-green800":"#78F2AD","--onu-colors-green900":"#ECFDF4","--onu-colors-yellow50":"#3A2503","--onu-colors-yellow100":"#442B03","--onu-colors-yellow200":"#583804","--onu-colors-yellow300":"#704705","--onu-colors-yellow400":"#845306","--onu-colors-yellow500":"#A66908","--onu-colors-yellow600":"#F5A524","--onu-colors-yellow700":"#F6AD37","--onu-colors-yellow800":"#F8C572","--onu-colors-yellow900":"#FEF7EC","--onu-colors-red50":"#300313","--onu-colors-red100":"#300313","--onu-colors-red200":"#44041A","--onu-colors-red300":"#5C0523","--onu-colors-red400":"#6F062B","--onu-colors-red500":"#c45656","--onu-colors-red600":"#F31260","--onu-colors-red700":"#f89898","--onu-colors-red800":"#F75F94","--onu-colors-red900":"#FDD8E5","--onu-colors-cyan50":"#012A32","--onu-colors-cyan100":"#023A46","--onu-colors-cyan200":"#024B5A","--onu-colors-cyan300":"#036072","--onu-colors-cyan400":"#037086","--onu-colors-cyan500":"#048EA9","--onu-colors-cyan600":"#06B7DB","--onu-colors-cyan700":"#33D9FA","--onu-colors-cyan800":"#6FE4FB","--onu-colors-cyan900":"#EBFBFE","--onu-colors-pink50":"#330025","--onu-colors-pink100":"#470033","--onu-colors-pink200":"#5C0042","--onu-colors-pink300":"#750054","--onu-colors-pink400":"#8A0063","--onu-colors-pink500":"#AD007C","--onu-colors-pink600":"#FF4ECD","--onu-colors-pink700":"#FF2EC4","--onu-colors-pink800":"#FF6BD5","--onu-colors-pink900":"#FFEBF9","--onu-colors-gray50":"#16181A","--onu-colors-gray100":"#26292B","--onu-colors-gray200":"#2B2F31","--onu-colors-gray300":"#313538","--onu-colors-gray400":"#3A3F42","--onu-colors-gray500":"#4C5155","--onu-colors-gray600":"#697177","--onu-colors-gray700":"#787F85","--onu-colors-gray800":"#9BA1A6","--onu-colors-gray900":"#ECEDEE","--onu-colors-white-light":"#ffffff","--onu-colors-text":"#CFD3DC","--onu-colors-text-darker":"#7C7C7D","--onu-colors-text-light":"#A3A6AD","--onu-colors-title":"#ECEDEE","--onu-colors-placeholder":"#8D9095","--onu-colors-border":"#4C4D4F","--onu-colors-border-light":"#414243","--onu-colors-border-darker":"#636466","--onu-colors-background":"var(--onu-colors-black)","--onu-colors-black-light":"#1d1e1f","--onu-colors-arrow":"#373739","--onu-colors-backgroundAlpha":"rgba(0, 0, 0, 0.6)","--onu-colors-foreground":"var(--onu-colors-white)","--onu-colors-backgroundContrast":"var(--onu-colors-gray50)","--onu-theme-primary":"var(--onu-colors-blue600)","--onu-theme-primaryHsl":`${p("#0072F5")}`,"--onu-theme-primaryLightHover":"var(--onu-colors-blue500)","--onu-theme-primaryLightActive":"var(--onu-colors-blue700)","--onu-theme-primaryBorderHover":"var(--onu-colors-blue500)","--onu-theme-primaryBorderActive":"var(--onu-colors-blue700)","--onu-theme-secondary":"var(--onu-colors-purple700)","--onu-theme-secondaryHsl":`${p("#9750DD")}`,"--onu-theme-secondaryLightHover":"var(--onu-colors-purple600)","--onu-theme-secondaryLightActive":"var(--onu-colors-purple800)","--onu-theme-secondaryBorderHover":"var(--onu-colors-purple600)","--onu-theme-secondaryBorderActive":"var(--onu-colors-purple800)","--onu-theme-success":"var(--onu-colors-green600)","--onu-theme-warning":"var(--onu-colors-yellow600)","--onu-theme-error":"var(--onu-colors-red600)","--onu-theme-info":"var(--onu-colors-gray700)","--onu-theme-infoHsl":`${p("#787F85")}`,"--onu-theme-infoLightHover":"var(--onu-colors-gray600)","--onu-theme-infoLightActive":"var(--onu-colors-gray800)","--onu-theme-infoBorderHover":"var(--onu-colors-gray600)","--onu-theme-infoBorderActive":"var(--onu-colors-gray800)"},Ko=o=>Object.entries(o).map(([r,t])=>`${r}: ${t}`).join(";");function Xo(){return{name:"@onu-ui/preset",theme:W,rules:co,variants:ao,shortcuts:I}}0&&(module.exports={darkTheme,getCSSPreflights,lightTheme,presetOnu}); |
{ | ||
"name": "@onu-ui/preset", | ||
"description": "Onu-UI css rules for unocss preset", | ||
"version": "1.0.12", | ||
"version": "1.0.13-beta.0", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "onu-ui", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80864
1