nfx-ui 0.16.2 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-theme-CINVDd47.mjs.map +1 -1
- package/dist/chunk-theme-D49XQfXe.cjs.map +1 -1
- package/dist/src/themes/hooks/useThemeVariables.d.ts.map +1 -1
- package/dist/src/themes/themes/colors/coffee.d.ts.map +1 -1
- package/dist/src/themes/themes/colors/corporate.d.ts.map +1 -1
- package/dist/src/themes/themes/colors/cosmic.d.ts.map +1 -1
- package/dist/src/themes/themes/colors/dark.d.ts.map +1 -1
- package/dist/src/themes/themes/colors/default.d.ts.map +1 -1
- package/dist/src/themes/themes/colors/forest.d.ts.map +1 -1
- package/dist/src/themes/themes/colors/light.d.ts.map +1 -1
- package/dist/src/themes/themes/colors/wheat.d.ts.map +1 -1
- package/dist/src/themes/themes/colors/wine.d.ts.map +1 -1
- package/dist/src/themes/types/theme.d.ts +14 -0
- package/dist/src/themes/types/theme.d.ts.map +1 -1
- package/dist/themes.cjs +1 -1
- package/dist/themes.cjs.map +1 -1
- package/dist/themes.mjs +224 -64
- package/dist/themes.mjs.map +1 -1
- package/package.json +1 -1
package/dist/themes.mjs
CHANGED
|
@@ -1,49 +1,56 @@
|
|
|
1
1
|
(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.styles-module__loading___bgEAk{justify-content:center;align-items:center;display:inline-flex}.styles-module__loading___bgEAk svg polyline{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.styles-module__loading___bgEAk svg polyline.styles-module__back___XLPvD{fill:none;stroke:var(--color-primary-alpha)}.styles-module__loading___bgEAk svg polyline.styles-module__front___hSxig{fill:none;stroke:var(--color-primary);stroke-dasharray:48 144;stroke-dashoffset:192px;animation:1.4s linear infinite styles-module__dash_682___AQzo6}@keyframes styles-module__dash_682___AQzo6{72.5%{opacity:0}to{stroke-dashoffset:0}}.styles-module__loader___E7OIM{justify-content:center;align-items:center;width:fit-content;height:fit-content;display:flex}.styles-module__truckWrapper___Sk4zX{flex-direction:column;justify-content:flex-end;align-items:center;width:100%;height:100%;display:flex;position:relative;overflow-x:hidden}.styles-module__truckBody___j7w2C{width:65%;height:fit-content;margin-bottom:6px;animation:1s linear infinite styles-module__motion___IiNlW}@keyframes styles-module__motion___IiNlW{0%{transform:translateY(0)}50%{transform:translateY(3px)}to{transform:translateY(0)}}.styles-module__truckTires___4ncTl{justify-content:space-between;align-items:center;width:65%;height:fit-content;padding:0 10px 0 15px;display:flex;position:absolute;bottom:0}.styles-module__tiresvg___IBQcN{width:24px}.styles-module__road___sxx-E{background-color:var(--color-fg-heading);border-radius:var(--radius-button);align-self:flex-end;width:100%;height:1.5px;position:relative;bottom:0}.styles-module__road___sxx-E:before{content:"";background-color:var(--color-fg-heading);border-radius:var(--radius-button);border-left:10px solid var(--color-bg);width:20px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-50%}.styles-module__road___sxx-E:after{content:"";background-color:var(--color-fg-heading);border-radius:var(--radius-button);border-left:4px solid var(--color-bg);width:10px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-65%}.styles-module__lampPost___okcN5{height:45%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;bottom:0;right:-90%}@keyframes styles-module__roadAnimation___yvrHP{0%{transform:translate(0)}to{transform:translate(-350px)}}.styles-module__loader___pFUzL{justify-content:center;align-items:center;display:inline-flex;position:relative}.styles-module__loader___pFUzL:before{content:"";background:var(--color-primary);opacity:.3;border-radius:50%;width:100%;height:5px;animation:.5s linear infinite styles-module__shadow324___sutUe;position:absolute;top:calc(100% + 12px);left:0}.styles-module__loader___pFUzL:after{content:"";background:var(--color-primary);width:100%;height:100%;position:absolute;top:0;left:0}.styles-module__square___GKjhm:after{border-radius:var(--radius-button);animation:.5s linear infinite styles-module__jump7456Square___Z-D9b}.styles-module__circle___bUpSN:after{border-radius:50%;animation:.5s linear infinite styles-module__jump7456Circle___2AfF7}@keyframes styles-module__jump7456Square___Z-D9b{15%{border-bottom-right-radius:3px}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__jump7456Circle___2AfF7{15%{border-bottom-right-radius:50%}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__shadow324___sutUe{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}.style-module__waves___oR3u7{width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;left:0;overflow:hidden}.style-module__waves___oR3u7:before{content:"";background:var(--color-bg);width:.5rem;height:.5rem;transform:translate3d(calc(var(--x) - 50%), calc(var(--y) - 50%), 0);will-change:transform;border-radius:50%;position:absolute;top:0;left:0}.style-module__wavesCanvas___zkhTC{width:100%;height:100%;display:block}.style-module__squaresCanvas___22kMc{border:none;width:100%;height:100%;display:block}.style-module__container___HkxIe{background-color:var(--color-bg);width:100%;height:100%;position:relative;overflow:hidden}.style-module__canvas___MR9JX{width:100%;height:100%;display:block}.style-module__outerVignette___i75nw{pointer-events:none;background:radial-gradient(circle,#0000 60%,#000 100%);width:100%;height:100%;position:absolute;top:0;left:0}.style-module__centerVignette___n9uVG{pointer-events:none;background:radial-gradient(circle,#000c 0%,#0000 60%);width:100%;height:100%;position:absolute;top:0;left:0}.styles-module__button___RbliA{border-radius:var(--radius-button);cursor:pointer;border:1px solid #0000;outline:none;justify-content:center;align-items:center;gap:.5rem;font-family:inherit;font-weight:500;transition:all .2s;display:inline-flex;position:relative}.styles-module__button___RbliA:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.styles-module__button___RbliA:disabled{cursor:not-allowed;opacity:.6}.styles-module__button___RbliA.styles-module__small___yK0Yp{min-height:2rem;padding:.5rem 1rem;font-size:.8125rem}.styles-module__button___RbliA.styles-module__medium___eBTch{min-height:2.5rem;padding:.75rem 1.5rem;font-size:.875rem}.styles-module__button___RbliA.styles-module__large___pIZkl{min-height:3rem;padding:1rem 2rem;font-size:1rem}.styles-module__button___RbliA.styles-module__primary___qsZpA{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg)}.styles-module__button___RbliA.styles-module__primary___qsZpA:hover:not(:disabled){background:var(--color-primary-light);border-color:var(--color-primary-light);transform:translateY(-1px)}.styles-module__button___RbliA.styles-module__primary___qsZpA:active:not(:disabled){transform:translateY(0)}.styles-module__button___RbliA.styles-module__secondary___SCpPv{background:var(--color-bg-2);border-color:var(--color-border-4);color:var(--color-fg-text)}.styles-module__button___RbliA.styles-module__secondary___SCpPv:hover:not(:disabled){background:var(--color-bg-3);border-color:var(--color-primary)}.styles-module__button___RbliA.styles-module__outline___rrlk9{border-color:var(--color-border-4);color:var(--color-fg-text);background:0 0}.styles-module__button___RbliA.styles-module__outline___rrlk9:hover:not(:disabled){background:var(--color-bg-2);border-color:var(--color-primary)}.styles-module__button___RbliA.styles-module__ghost___QMoiH{color:var(--color-fg-text);background:0 0;border-color:#0000}.styles-module__button___RbliA.styles-module__ghost___QMoiH:hover:not(:disabled){background:var(--color-bg-2)}.styles-module__button___RbliA.styles-module__danger___MW-pg{background:var(--color-danger);border-color:var(--color-danger);color:var(--color-danger-fg,#fff)}.styles-module__button___RbliA.styles-module__danger___MW-pg:hover:not(:disabled){background:var(--color-danger-light);border-color:var(--color-danger-light);color:var(--color-danger-fg,#fff);transform:translateY(-1px)}.styles-module__button___RbliA.styles-module__danger___MW-pg:active:not(:disabled){transform:translateY(0)}.styles-module__button___RbliA.styles-module__fullWidth___-dXBR{width:100%}.styles-module__button___RbliA.styles-module__loading___UWw6V{pointer-events:none}.styles-module__spinner___KpJ-L{border:2px solid;border-top-color:#0000;border-radius:50%;flex-shrink:0;width:1rem;height:1rem;animation:.6s linear infinite styles-module__spin___ntZKM}@keyframes styles-module__spin___ntZKM{to{transform:rotate(360deg)}}.styles-module__button___RbliA.styles-module__small___yK0Yp .styles-module__spinner___KpJ-L{border-width:1.5px;width:.875rem;height:.875rem}.styles-module__button___RbliA.styles-module__large___pIZkl .styles-module__spinner___KpJ-L{border-width:2.5px;width:1.25rem;height:1.25rem}.styles-module__content___oyZRO{align-items:center;display:flex}.styles-module__leftIcon___cDktv,.styles-module__rightIcon___1mpk0{flex-shrink:0;align-items:center;display:flex}.styles-module__leftIcon___cDktv{margin-right:-.25rem}.styles-module__rightIcon___1mpk0{margin-left:-.25rem}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U{aspect-ratio:1;min-width:2.5rem;min-height:2.5rem;padding:0}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U.styles-module__small___yK0Yp{min-width:2rem;min-height:2rem}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U.styles-module__large___pIZkl{min-width:3rem;min-height:3rem}.styles-module__iconContainer___bwvE3{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.styles-module__layout___WaGy9{flex-direction:column;justify-content:center;align-items:center;gap:.25rem;width:100%;display:flex}.styles-module__horizontal___lKpGq{justify-content:center;align-items:center;gap:.5rem;width:100%;display:flex}.styles-module__topIcon___bzw6s,.styles-module__bottomIcon___suPfa{flex-shrink:0;justify-content:center;align-items:center;display:flex}.styles-module__iconOnly___iOv-U .styles-module__iconContainer___bwvE3 .styles-module__leftIcon___cDktv,.styles-module__iconOnly___iOv-U .styles-module__iconContainer___bwvE3 .styles-module__rightIcon___1mpk0{margin:0}.Dropdown-module__dropdown___c9wIp{width:100%;display:inline-block;position:relative}.Dropdown-module__dropdownButton___suNh-{border:1px solid var(--color-separator);border-radius:var(--radius-card);cursor:pointer;text-align:left;background:var(--color-bg-2);width:100%;color:var(--color-fg-text);outline:none;justify-content:space-between;align-items:center;padding:.75rem 2.5rem .75rem 1rem;font-family:inherit;font-size:1rem;font-weight:400;line-height:1.5rem;transition:all .2s ease-in-out;display:flex;position:relative}.Dropdown-module__dropdownButton___suNh-:hover:not(:disabled){border-color:var(--color-primary);background:var(--color-bg-1)}.Dropdown-module__dropdownButton___suNh-:focus{border-color:var(--color-primary);background:var(--color-bg-1);box-shadow:0 0 0 2px var(--color-primary-transparent)}.Dropdown-module__dropdownButton___suNh-.Dropdown-module__disabled___Rz0pX{cursor:not-allowed;opacity:.6;background:var(--color-bg-3)}.Dropdown-module__dropdownButton___suNh-.Dropdown-module__error___F7dDu{border-color:var(--color-danger)}.Dropdown-module__buttonText___D2zxn{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.Dropdown-module__chevronIcon___uyawp{color:var(--color-fg-highlight);flex-shrink:0;transition:transform .15s;position:absolute;right:1rem}.Dropdown-module__chevronIcon___uyawp.Dropdown-module__open___APoXd{transform:rotate(180deg)}.Dropdown-module__dropdownMenu___WJ-QO{background:var(--color-bg);border:1px solid var(--color-border-4);border-radius:var(--radius-card);min-width:100%;box-shadow:0 .5rem 1rem var(--color-shadow);z-index:1000;animation:.15s ease-out Dropdown-module__slideDown___sRCmO;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden}@keyframes Dropdown-module__slideDown___sRCmO{0%{opacity:0;transform:translateY(-.5rem)}to{opacity:1;transform:translateY(0)}}.Dropdown-module__optionsList___Be6RN{margin:0;padding:.5rem 0;list-style:none}.Dropdown-module__option___q-NgT{cursor:pointer;color:var(--color-fg-text);align-items:center;padding:.75rem 1rem;font-size:.875rem;transition:all .15s;display:flex}.Dropdown-module__option___q-NgT:hover{background-color:var(--color-bg-2)}.Dropdown-module__option___q-NgT.Dropdown-module__selected___-OTW-{background-color:var(--color-bg-3);color:var(--color-fg-highlight);font-weight:600}@media (width<=768px){.Dropdown-module__dropdownButton___suNh-{padding:.625rem 2.25rem .625rem .875rem;font-size:.875rem}.Dropdown-module__chevronIcon___uyawp{right:.875rem}.Dropdown-module__option___q-NgT{padding:.625rem .875rem;font-size:.8125rem}}.styles-module__wrapper___COeGm{flex-direction:column;gap:.5rem;display:flex}.styles-module__wrapper___COeGm.styles-module__fullWidth___lVU49{width:100%}.styles-module__label___gfOA7{color:var(--color-fg-heading);align-items:center;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.styles-module__required___-zOy5{color:var(--color-danger)}.styles-module__inputContainer___wXY53{align-items:center;width:100%;display:flex;position:relative}.styles-module__input___IZDc3{border:1px solid var(--color-border-4);border-radius:var(--radius-input);background:var(--color-bg);width:100%;color:var(--color-fg-text);outline:none;font-family:inherit;font-size:.875rem;transition:all .2s}.styles-module__input___IZDc3[type=password]::-webkit-credentials-auto-fill-button{visibility:hidden!important;opacity:0!important;pointer-events:none!important;appearance:none!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-webkit-strong-password-toggle-button{visibility:hidden!important;opacity:0!important;pointer-events:none!important;appearance:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-ms-reveal{visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-ms-clear{visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), .1)}.styles-module__input___IZDc3::placeholder{color:var(--color-fg-muted);opacity:.5}.styles-module__input___IZDc3.styles-module__small___cuGyE{padding:.5rem .75rem;font-size:.8125rem}.styles-module__input___IZDc3.styles-module__medium___JdDPu{padding:.75rem;font-size:.875rem}.styles-module__input___IZDc3.styles-module__large___fMmiG{padding:1rem;font-size:1rem}.styles-module__input___IZDc3.styles-module__default___-eZTG{background:var(--color-bg);border-color:var(--color-border-4)}.styles-module__input___IZDc3.styles-module__filled___EQ5PQ{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3{padding-left:2.5rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3{padding-right:2.5rem}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3.styles-module__small___cuGyE{padding-left:2rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3.styles-module__small___cuGyE{padding-right:2rem}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3.styles-module__large___fMmiG{padding-left:3rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3.styles-module__large___fMmiG{padding-right:3rem}.styles-module__leftIcon___jEW5H,.styles-module__rightIcon___bA3Eo{color:var(--color-fg-muted);pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute}.styles-module__leftIcon___jEW5H{left:.75rem}.styles-module__rightIcon___bA3Eo{right:.75rem}.styles-module__rightIcon___bA3Eo.styles-module__rightIconInteractive___ccypw{pointer-events:auto}.styles-module__inputContainer___wXY53.styles-module__containerSmall___20ICq .styles-module__leftIcon___jEW5H{left:.5rem}.styles-module__inputContainer___wXY53.styles-module__containerSmall___20ICq .styles-module__rightIcon___bA3Eo{right:.5rem}.styles-module__inputContainer___wXY53.styles-module__containerLarge___IztuN .styles-module__leftIcon___jEW5H{left:1rem}.styles-module__inputContainer___wXY53.styles-module__containerLarge___IztuN .styles-module__rightIcon___bA3Eo{right:1rem}.styles-module__input___IZDc3.styles-module__error___946qV{border-color:var(--color-danger)}.styles-module__input___IZDc3.styles-module__error___946qV:focus{border-color:var(--color-danger);box-shadow:0 0 0 3px rgba(var(--color-danger-rgb), .1)}.styles-module__input___IZDc3.styles-module__disabled___sJvLd{background:var(--color-bg-3);border-color:var(--color-border-5);color:var(--color-fg-muted);cursor:not-allowed;opacity:.6}.styles-module__errorMessage___5Mn22{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___T2eui{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__container___xeg8O{flex-direction:column;gap:1rem;display:flex}.styles-module__label___qhbKe{color:var(--color-fg-text);font-size:.875rem;font-weight:500}.styles-module__error___O-7AY{color:var(--color-error);font-size:.875rem}.styles-module__pairs___owGV3{flex-direction:column;gap:.75rem;display:flex}.styles-module__pair___G4WFY{grid-template-columns:1fr 2fr auto;align-items:start;gap:.75rem;display:grid}.styles-module__keyInput___wl1M1,.styles-module__valueInput___HiwJ5{flex:1}.styles-module__removeButton___4-X0b{min-width:auto;color:var(--color-error);padding:.5rem}.styles-module__removeButton___4-X0b:hover{background-color:var(--color-error);color:var(--color-primary-fg)}.styles-module__addButton___QFljt{align-self:flex-start}@media (width<=768px){.styles-module__pair___G4WFY{grid-template-columns:1fr}.styles-module__removeButton___4-X0b{align-self:flex-end}}.styles-module__searchContainer___86TGN{width:100%;max-width:400px;position:relative}.styles-module__searchContainerFull___cEuNS{max-width:none}.styles-module__searchIcon___ZInry{color:var(--color-fg-muted);pointer-events:none;position:absolute;top:50%;left:1rem;transform:translateY(-50%)}.styles-module__searchInput___SqZXQ{border:1px solid var(--color-border);border-radius:var(--radius-input);width:100%;color:var(--color-fg-text);background:var(--color-bg-2);padding:.75rem 3rem;font-size:1rem;transition:all .2s}.styles-module__searchInput___SqZXQ:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-bg);outline:none}.styles-module__searchInput___SqZXQ::placeholder{color:var(--color-fg-muted)}.styles-module__clearBtn___7jExr{width:1.5rem;height:1.5rem;color:var(--color-fg-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;transition:all .2s;display:flex;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}.styles-module__clearBtn___7jExr:hover{color:var(--color-fg-text)}@media (width<=768px){.styles-module__searchContainer___86TGN{max-width:100%}}.styles-module__container___nGxdM{flex-direction:column;gap:.75rem;display:flex}.styles-module__toggleContainer___VrsKI{align-items:center;display:flex}.styles-module__toggleButton___IzD6Z{border:1px solid var(--color-border-4);border-radius:var(--radius-button);background:var(--color-bg);color:var(--color-fg-muted);cursor:pointer;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;transition:all .2s;display:flex}.styles-module__toggleButton___IzD6Z:hover{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__toggleButton___IzD6Z.styles-module__enabled___cao0G{background:var(--color-primary);color:var(--color-primary-fg);border-color:var(--color-primary)}.styles-module__toggleButton___IzD6Z.styles-module__enabled___cao0G:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover);color:var(--color-primary-fg)}.styles-module__optionsContainer___LOzlO{background:var(--color-bg-2);border-radius:var(--radius-card);border:1px solid var(--color-border-4);gap:.5rem;padding:.5rem;display:flex}.styles-module__option___abhnC{border:1px solid var(--color-border-4);border-radius:var(--radius-button);background:var(--color-bg);color:var(--color-fg);cursor:pointer;flex:1;justify-content:center;align-items:center;gap:.375rem;padding:.5rem .875rem;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.styles-module__option___abhnC:hover{background:var(--color-bg-3);border-color:var(--color-border-3)}.styles-module__option___abhnC.styles-module__active___pqmSi{background:var(--color-primary);color:var(--color-primary-fg);border-color:var(--color-primary)}.styles-module__option___abhnC.styles-module__active___pqmSi:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover);color:var(--color-primary-fg)}.styles-module__nbSelect___KjxSc{font-family:inherit;font-size:.9375rem;font-weight:600;line-height:1.5rem;display:inline-block;position:relative}.styles-module__selectButton___AKZe4{border-radius:var(--radius-button);cursor:pointer;text-align:left;width:100%;min-width:8rem;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;appearance:none;border:1px solid;outline:none;justify-content:space-between;align-items:center;padding:.4375rem 2.2rem .4375rem 1.125rem;transition:all .15s ease-in-out;display:flex;position:relative}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a{background-color:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg)}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a:hover:not(:disabled){background-color:var(--color-primary-light);border-color:var(--color-primary-light)}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a:focus,.styles-module__selectButton___AKZe4.styles-module__primary___HU36a.styles-module__open___9AKMb{background-color:var(--color-primary-light);border-color:var(--color-primary-light);box-shadow:0 0 0 .125rem rgba(var(--color-primary-rgb), .25)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP{background-color:var(--color-bg);border-color:var(--color-border-4);color:var(--color-fg-text)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP:hover:not(:disabled){background-color:var(--color-bg-2);border-color:var(--color-primary)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP:focus,.styles-module__selectButton___AKZe4.styles-module__default___LedYP.styles-module__open___9AKMb{background-color:var(--color-bg-2);border-color:var(--color-primary);box-shadow:0 0 0 .125rem rgba(var(--color-primary-rgb), .25)}.styles-module__selectButton___AKZe4:disabled{cursor:not-allowed;opacity:.6}.styles-module__buttonText___QSLO1{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.styles-module__chevronIcon___qAHaD{flex-shrink:0;width:1.5rem;height:1.5rem;transition:transform .15s;position:absolute;right:.41rem}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a .styles-module__chevronIcon___qAHaD{color:var(--color-primary-fg)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP .styles-module__chevronIcon___qAHaD{color:var(--color-fg)}.styles-module__chevronIcon___qAHaD.styles-module__open___9AKMb{transform:rotate(180deg)}.styles-module__optionsPanel___NWAp3{background-color:var(--color-bg);border:1px solid var(--color-border-4);border-radius:var(--radius-button);min-width:100%;box-shadow:0 .5rem 1rem var(--color-shadow);z-index:1000;transform-origin:top;visibility:hidden;pointer-events:none;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden}.styles-module__optionsPanel___NWAp3.styles-module__open___9AKMb{visibility:visible;pointer-events:auto;animation:.25s ease-out styles-module__expandDown___eD4lh}.styles-module__optionsPanel___NWAp3.styles-module__closed___bez-q{visibility:hidden;pointer-events:none;animation:.25s ease-out styles-module__collapseUp___dt1E7}@keyframes styles-module__expandDown___eD4lh{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes styles-module__collapseUp___dt1E7{0%{opacity:1;transform:scaleY(1)}to{opacity:0;transform:scaleY(0)}}.styles-module__optionsPanel___NWAp3.styles-module__primary___HU36a{border-color:var(--color-primary)}.styles-module__optionsPanel___NWAp3.styles-module__default___LedYP{border-color:var(--color-border-4)}.styles-module__optionsList___AxhVp{margin:0;padding:.5rem 0;list-style:none}.styles-module__option___t1SSw{cursor:pointer;color:var(--color-fg-text);justify-content:space-between;align-items:center;padding:.75rem 1.125rem;transition:all .15s;display:flex}.styles-module__option___t1SSw:hover{background-color:var(--color-bg-2)}.styles-module__option___t1SSw.styles-module__selected___azD4A{background-color:var(--color-primary);color:var(--color-primary-fg);font-weight:700}@media (prefers-color-scheme:dark){.styles-module__optionsPanel___NWAp3{box-shadow:0 .5rem 1rem var(--color-shadow)}}.styles-module__sliderContainer___lgpaD{flex-direction:column;gap:.5rem;display:flex}.styles-module__sliderContainer___lgpaD.styles-module__fullWidth___ZS8W5{width:100%}.styles-module__labelRow___dkVVM{justify-content:space-between;align-items:center;min-height:1.5rem;margin-bottom:.5rem;display:flex}.styles-module__label___bXGZs{color:var(--color-fg-text);font-size:.875rem;font-weight:500}.styles-module__required___FuyfE{color:var(--color-danger);margin-left:.25rem}.styles-module__sliderWrapper___1Wdti{touch-action:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;gap:.75rem;width:100%;display:flex}.styles-module__sliderRoot___yzOjR{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;flex-grow:1;align-items:center;width:100%;padding:.75rem 0;display:flex;position:relative}.styles-module__sliderRoot___yzOjR:active{cursor:grabbing}.styles-module__sliderTrackWrapper___N72WQ{flex-grow:1;display:flex;position:relative}.styles-module__sliderTrack___AltcD{border-radius:var(--radius-badge);background-color:var(--color-bg-3);width:100%;height:.375rem;position:relative;overflow:hidden}.styles-module__sliderRange___U3g0-{background-color:var(--color-primary);border-radius:var(--radius-badge);height:100%;position:absolute}.styles-module__valueIndicator___aLf0I{color:var(--color-primary);text-align:center;flex-shrink:0;min-width:2rem;font-size:.875rem;font-weight:600;line-height:1}.styles-module__iconWrapper___wL-b8{flex-shrink:0;justify-content:center;align-items:center;display:flex}.styles-module__icon___vHsID{width:20px;height:20px;color:var(--color-fg-muted)}.styles-module__errorMessage___qFgGe{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___tgBGl{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__loadingContainer___OMgwS{flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;min-height:60vh;display:flex}.styles-module__loadingText___KRZqR{color:var(--color-fg-muted);font-size:1rem}.styles-module__errorContainer___qhAg2{text-align:center;min-height:60vh;color:var(--color-fg-text);flex-direction:column;justify-content:center;align-items:center;gap:2rem;padding:3rem 2rem;display:flex}.styles-module__errorIconWrapper___IHZrN{background:linear-gradient(135deg, rgba(var(--color-error-rgb), .1), rgba(var(--color-error-rgb), .05));border:2px solid rgba(var(--color-error-rgb), .2);border-radius:50%;justify-content:center;align-items:center;width:120px;height:120px;animation:2s ease-in-out infinite styles-module__pulse___Lju-z;display:flex}@keyframes styles-module__pulse___Lju-z{0%,to{opacity:1;transform:scale(1)}50%{opacity:.9;transform:scale(1.05)}}.styles-module__errorIcon___oGDIP{color:var(--color-error);stroke-width:1.5px}.styles-module__errorContent___F55rQ{flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:600px;display:flex}.styles-module__errorTitle___hC8D-{color:var(--color-fg-heading);letter-spacing:-.02em;margin:0;font-size:1.75rem;font-weight:700;line-height:1.2}.styles-module__errorDescription___hZtuP{color:var(--color-fg-muted);max-width:480px;margin:0;font-size:1rem;line-height:1.6}.styles-module__errorDetailsWrapper___-sp8b{width:100%;max-width:600px;margin-top:.5rem}.styles-module__errorDetailsContainer___eywMo{text-align:left;border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-bg-2);width:100%;transition:all .2s;overflow:hidden}.styles-module__errorDetailsContainer___eywMo:hover{border-color:var(--color-border-hover);background:var(--color-bg-3)}.styles-module__errorDetailsSummary___hGEoD{cursor:pointer;color:var(--color-fg-muted);-webkit-user-select:none;user-select:none;padding:.875rem 1.25rem;font-size:.875rem;font-weight:500;list-style:none;transition:color .2s}.styles-module__errorDetailsSummary___hGEoD:hover{color:var(--color-fg-text)}.styles-module__errorDetailsSummary___hGEoD::-webkit-details-marker{display:none}.styles-module__errorDetailsSummary___hGEoD:before{content:"▶";margin-right:.5rem;font-size:.75rem;transition:transform .2s;display:inline-block}.styles-module__errorDetailsContainer___eywMo[open] .styles-module__errorDetailsSummary___hGEoD:before{transform:rotate(90deg)}.styles-module__errorDetails___tzCT-{background:var(--color-bg-3);border-top:1px solid var(--color-border);max-width:100%;color:var(--color-fg-muted);white-space:pre-wrap;word-break:break-word;margin:0;padding:1rem 1.25rem;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:.8125rem;line-height:1.6;overflow-x:auto}.styles-module__errorActions___gtqYw{flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem;margin-top:1rem;display:flex}.styles-module__retryButton___TA4jm{border-radius:var(--radius-button);background:var(--color-primary);color:var(--color-primary-fg);cursor:pointer;box-shadow:0 2px 8px var(--color-shadow);border:none;justify-content:center;align-items:center;gap:.5rem;padding:.75rem 2rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex}.styles-module__retryButton___TA4jm:hover{box-shadow:0 4px 16px var(--color-shadow);background:var(--color-primary-light);color:var(--color-primary-fg);transform:translateY(-2px)}.styles-module__retryButton___TA4jm:active{box-shadow:0 2px 8px var(--color-shadow);transform:translateY(0)}.styles-module__retryButtonIcon___vzfp-{font-size:1.125rem;line-height:1;transition:transform .3s;display:inline-block}.styles-module__retryButton___TA4jm:hover .styles-module__retryButtonIcon___vzfp-{transform:rotate(180deg)}.styles-module__clearLocalDataButton___T3B-K{border-radius:var(--radius-button);color:var(--color-fg-muted);border:1px solid var(--color-border-4);cursor:pointer;background:0 0;justify-content:center;align-items:center;padding:.75rem 1.5rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex}.styles-module__clearLocalDataButton___T3B-K:hover{color:var(--color-fg-text);border-color:var(--color-border-3);background:var(--color-bg-secondary)}.styles-module__wrapper___jXPV3{flex-direction:column;gap:.5rem;display:flex}.styles-module__wrapper___jXPV3.styles-module__fullWidth___eKyGB{width:100%}.styles-module__label___MyTeo{color:var(--color-fg-heading);align-items:center;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.styles-module__required___TV-m8{color:var(--color-danger)}.styles-module__inputContainer___VvGBl{align-items:flex-start;width:100%;display:flex;position:relative}.styles-module__textarea___AjX9N{border:1px solid var(--color-border-4);border-radius:var(--radius-input);background:var(--color-bg);width:100%;color:var(--color-fg-text);resize:vertical;outline:none;min-height:4rem;font-family:inherit;font-size:.875rem;transition:all .2s}.styles-module__textarea___AjX9N:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), .1)}.styles-module__textarea___AjX9N::placeholder{color:var(--color-fg-muted);opacity:.5}.styles-module__textarea___AjX9N.styles-module__small___zMx0G{min-height:3rem;padding:.5rem .75rem;font-size:.8125rem}.styles-module__textarea___AjX9N.styles-module__medium___tO2Lb{min-height:4rem;padding:.75rem;font-size:.875rem}.styles-module__textarea___AjX9N.styles-module__large___3eU2g{min-height:5rem;padding:1rem;font-size:1rem}.styles-module__textarea___AjX9N.styles-module__default___vsSxX{background:var(--color-bg);border-color:var(--color-border-4)}.styles-module__textarea___AjX9N.styles-module__filled___TPQgI{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__inputContainer___VvGBl .styles-module__leftIcon___FHp2R{color:var(--color-fg-muted);pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute;top:.75rem;left:.75rem}.styles-module__inputContainer___VvGBl .styles-module__rightIcon___dkyvP{color:var(--color-fg-muted);pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute;top:.75rem;right:.75rem}.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__small___zMx0G+.styles-module__leftIcon___FHp2R,.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__small___zMx0G+.styles-module__rightIcon___dkyvP{top:.5rem}.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__large___3eU2g+.styles-module__leftIcon___FHp2R,.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__large___3eU2g+.styles-module__rightIcon___dkyvP{top:1rem}.styles-module__textarea___AjX9N.styles-module__error___d8gLK{border-color:var(--color-danger)}.styles-module__textarea___AjX9N.styles-module__error___d8gLK:focus{border-color:var(--color-danger);box-shadow:0 0 0 3px rgba(var(--color-danger-rgb), .1)}.styles-module__textarea___AjX9N.styles-module__disabled___IzbfE{background:var(--color-bg-3);border-color:var(--color-border-5);color:var(--color-fg-muted);cursor:not-allowed;opacity:.6}.styles-module__errorText___Nom7x{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___97Def{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__virtualList___pM6rN{contain:strict;width:100%;padding-bottom:300px;position:relative;overflow:auto}.styles-module__emptyContainer___rm938{height:100%;color:var(--color-fg-muted);justify-content:center;align-items:center;display:flex}.styles-module__virtualListInner___HxRzc{width:100%;position:relative}.styles-module__virtualListItems___p19-a{width:100%;position:absolute;top:0;left:0}.styles-module__loadingMore___zAdLM{color:var(--color-fg-muted);justify-content:center;align-items:center;gap:.75rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;margin-top:1rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh span{background-color:var(--color-bg-2);border-radius:var(--radius-button);padding:.5rem 1rem}.styles-module__virtualList___xmj2v{width:100%;padding-bottom:300px;position:relative;overflow:visible}.styles-module__virtualListInner___quD74{width:100%;position:relative}.styles-module__virtualListItems___-Muml{width:100%;position:absolute;top:0;left:0}.styles-module__virtualListRow___h3pzX{width:100%}.styles-module__emptyContainer___LIy8r{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:2rem 0;display:flex}.styles-module__loadingMore___Mzf-p{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:1.5rem 0;display:flex}.styles-module__endOfList___g5G--{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;padding:1.5rem 0;display:flex}.styles-module__sidebar___BMt0j{flex-direction:column;min-height:0;display:flex;overflow:hidden}.styles-module__sidebarContent___iAwiw{flex-direction:column;flex:1;min-height:0;padding-top:1rem;display:flex;overflow:hidden}.styles-module__menuWrapper___DKuEv{flex:1;min-height:0;overflow:hidden auto}.styles-module__sidebarFooter___qiPXO{flex-shrink:0;margin-top:auto}.styles-module__menuWrapper___DKuEv::-webkit-scrollbar{width:0;height:0}.styles-module__menuWrapper___DKuEv{scrollbar-width:none;-ms-overflow-style:none}.styles-module__sidebar___BMt0j .ps-sidebar-root{background-color:var(--color-bg-2)!important;border-right:1px solid var(--color-separator)!important;flex-direction:column!important;min-height:0!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-sidebar-container{background-color:var(--color-bg-2)!important;min-height:0!important;color:var(--color-fg-text)!important;flex-direction:column!important;flex:1!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-menu-button{border-radius:var(--radius-button)!important;color:var(--color-fg-text)!important;margin:.125rem .5rem!important;padding:.5rem .75rem!important;font-size:.875rem!important;transition:background-color .2s,color .2s!important}.styles-module__sidebar___BMt0j .ps-menu-button:hover{background-color:var(--color-bg-3)!important;color:var(--color-fg-text)!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active{background-color:var(--color-primary)!important;color:var(--color-primary-fg)!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-icon,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-label,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-submenu-expand-icon{color:var(--color-primary-fg)!important}.styles-module__sidebar___BMt0j .ps-menu-icon{width:1.25rem!important;height:1.25rem!important;color:var(--color-fg-text)!important}.styles-module__sidebar___BMt0j .ps-submenu-content{background-color:var(--color-bg-3)!important;padding-left:1rem!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-submenu-content .ps-submenu-content{padding-left:.75rem!important}.styles-module__sidebar___BMt0j .ps-submenu-content .ps-menu-button{margin:.125rem .25rem!important;padding:.375rem .5rem .375rem .75rem!important;font-size:.8125rem!important}.styles-module__logoutContainer___7NwBL{border-top:1px solid var(--color-separator);padding:.5rem}.styles-module__logoutButton___rfD6u{border-radius:var(--radius-button);width:100%;color:var(--color-fg-text);cursor:pointer;white-space:nowrap;background:0 0;border:none;justify-content:flex-start;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.875rem;transition:background-color .2s,color .2s;display:flex;overflow:hidden}.styles-module__logoutButton___rfD6u:hover{background-color:var(--color-bg-3)}.styles-module__logoutButton___rfD6u:active{transform:scale(.98)}.styles-module__logoutButton___rfD6u svg{color:inherit;flex-shrink:0}.styles-module__hiddenText___z183T{opacity:0;width:0;max-width:0;overflow:hidden}.styles-module__visibleText___lfsv-{opacity:1;width:auto;max-width:200px}.styles-module__footer___g-hY7{background:var(--color-bg-2);width:100%;padding:0 2rem}.styles-module__footerContent___Oen5n{justify-content:space-between;align-items:center;max-width:100%;margin:0 auto;display:flex}.styles-module__copyright___1R2o3{color:var(--color-fg-text);font-size:.875rem}.styles-module__links___dQyvB{gap:1.5rem;display:flex}.styles-module__link___UWfyK{color:var(--color-fg-text);font-size:.875rem;text-decoration:none;transition:color .3s}.styles-module__link___UWfyK:hover{color:var(--color-primary)}@media (width<=768px){.styles-module__footerContent___Oen5n{flex-direction:column;gap:1rem}.styles-module__links___dQyvB{gap:1rem}}.styles-module__header___4Uc8h{width:100%;padding:.5rem 2rem;display:flex}.styles-module__header___4Uc8h>:first-child{flex:1;justify-content:flex-start;align-items:center;display:flex}.styles-module__header___4Uc8h>:last-child{flex:1;justify-content:flex-end;align-items:center;display:flex}.styles-module__layout___ZQKU7{background:var(--color-bg);flex-direction:column;width:100%;height:100vh;display:flex;position:relative}.styles-module__header___XIaFb{z-index:100;background:var(--color-bg);width:100%;box-shadow:0 .125rem .25rem 0 var(--color-shadow);position:fixed;top:0}.styles-module__footer___r8ASO{z-index:100;width:100%;position:fixed;bottom:0}.styles-module__mainWrapper___i4tEI{flex:1;display:flex;position:relative}.styles-module__sidebarChrome___q0pw5{z-index:101;box-sizing:border-box;position:fixed;left:0}.styles-module__sidebar___ij-8-{height:100%;min-height:0}.styles-module__content___mTgUr{background:var(--color-bg);flex:1;min-height:calc(100vh - 10rem);margin:0;padding-top:0;padding-bottom:0;overflow:hidden auto}@media (width<=768px){.styles-module__content___mTgUr{width:100%}.styles-module__sidebarChrome___q0pw5{z-index:999}}.styles-module__mainWrapper___AiTAw{flex-direction:row;flex:1;display:flex;position:relative}.styles-module__sidebarContainer___X4yj8{z-index:99;box-sizing:border-box;flex-direction:column;min-height:0;display:flex;position:fixed;left:0;overflow:hidden}.styles-module__sidebar___VQTlH{flex-shrink:0;top:0;left:0}.styles-module__content___htJlH{background:var(--color-bg);flex:1;margin:0;padding-top:0;padding-bottom:0;overflow:hidden auto}@media (width<=1024px){.styles-module__content___htJlH{padding:1.5rem}}@media (width<=768px){.styles-module__content___htJlH{width:100%}}.styles-module__wavesWrapper___TK7DI{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__wavesWrapper___TK7DI>*{pointer-events:auto}.styles-module__squaresWrapper___P25uF{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__squaresWrapper___P25uF>*{pointer-events:auto}.styles-module__letterGlitchWrapper___KWtWU{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__letterGlitchWrapper___KWtWU>*{pointer-events:auto}.styles-module__pixelBlastWrapper___YptHh{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__pixelBlastWrapper___YptHh>*{pointer-events:auto}.style-module__container___Hh3-c{width:100%;height:100%;position:relative;overflow:hidden}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
-
import { a as pr, c as d, i as
|
|
3
|
-
import { n as
|
|
4
|
-
import { n as
|
|
5
|
-
import { memo as x, useEffect as
|
|
6
|
-
import { jsx as
|
|
2
|
+
import { a as pr, c as d, i as y, n as C, o as cr, r as F, s as f, t as h } from "./chunk-theme-CINVDd47.mjs";
|
|
3
|
+
import { n as m, r as A, t as D } from "./chunk-lstorage-WwyI7gQN.mjs";
|
|
4
|
+
import { n as hr, t as L } from "./chunk-useTheme-BY1_pW9y.mjs";
|
|
5
|
+
import { memo as x, useEffect as u, useMemo as P, useState as E } from "react";
|
|
6
|
+
import { jsx as S } from "react/jsx-runtime";
|
|
7
7
|
function w() {
|
|
8
|
-
const a =
|
|
8
|
+
const a = D(y);
|
|
9
9
|
return a == null || f.includes(a) ? a : void 0;
|
|
10
10
|
}
|
|
11
11
|
function T(a) {
|
|
12
|
-
A(
|
|
12
|
+
A(y, a);
|
|
13
13
|
}
|
|
14
14
|
function v() {
|
|
15
|
-
const a =
|
|
15
|
+
const a = D(h);
|
|
16
16
|
return a == null || C.includes(a) ? a : void 0;
|
|
17
17
|
}
|
|
18
18
|
function R(a) {
|
|
19
|
-
A(
|
|
19
|
+
A(h, a);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
|
|
21
|
+
function Br() {
|
|
22
|
+
m(y), m(h);
|
|
23
23
|
}
|
|
24
24
|
var t = (a) => `${a}px`, H = (a) => {
|
|
25
|
-
|
|
26
|
-
const o = document.documentElement,
|
|
27
|
-
o.style.setProperty("--radius-button", t(
|
|
28
|
-
const
|
|
29
|
-
o.style.setProperty("--space-xs", t(
|
|
30
|
-
const
|
|
31
|
-
o.style.setProperty("--border-thin", t(
|
|
32
|
-
const n =
|
|
25
|
+
u(() => {
|
|
26
|
+
const o = document.documentElement, r = a.variables, e = r.radius;
|
|
27
|
+
o.style.setProperty("--radius-button", t(e.button)), o.style.setProperty("--radius-card", t(e.card)), o.style.setProperty("--radius-input", t(e.input)), o.style.setProperty("--radius-modal", t(e.modal)), o.style.setProperty("--radius-badge", t(e.badge)), o.style.setProperty("--radius-avatar", t(e.avatar));
|
|
28
|
+
const i = r.spacing;
|
|
29
|
+
o.style.setProperty("--space-xs", t(i.xs)), o.style.setProperty("--space-sm", t(i.sm)), o.style.setProperty("--space-md", t(i.md)), o.style.setProperty("--space-lg", t(i.lg)), o.style.setProperty("--space-xl", t(i.xl)), o.style.setProperty("--space-page", t(i.page)), o.style.setProperty("--space-card", t(i.card)), o.style.setProperty("--space-section-gap", t(i.sectionGap)), o.style.setProperty("--space-grid-gap", t(i.gridGap));
|
|
30
|
+
const s = r.border;
|
|
31
|
+
o.style.setProperty("--border-thin", t(s.thin)), o.style.setProperty("--border-base", t(s.base)), o.style.setProperty("--border-thick", t(s.thick)), o.style.setProperty("--border-focus-ring", t(s.focusRing));
|
|
32
|
+
const n = r.size;
|
|
33
33
|
o.style.setProperty("--size-button-sm", t(n.buttonSm)), o.style.setProperty("--size-button-md", t(n.buttonMd)), o.style.setProperty("--size-button-lg", t(n.buttonLg)), o.style.setProperty("--size-input-sm", t(n.inputSm)), o.style.setProperty("--size-input-md", t(n.inputMd)), o.style.setProperty("--size-input-lg", t(n.inputLg)), o.style.setProperty("--size-navbar-height", t(n.navbarHeight)), o.style.setProperty("--size-sidebar-width", t(n.sidebarWidth));
|
|
34
|
-
const
|
|
35
|
-
o.style.setProperty("--font-family-base",
|
|
36
|
-
const
|
|
37
|
-
o.style.setProperty("--duration-fast", `${
|
|
38
|
-
const
|
|
39
|
-
o.style.setProperty("--z-dropdown", String(
|
|
34
|
+
const l = r.typography;
|
|
35
|
+
o.style.setProperty("--font-family-base", l.fontFamilyBase), o.style.setProperty("--font-family-heading", l.fontFamilyHeading), o.style.setProperty("--font-size-xs", t(l.fontSizeXs)), o.style.setProperty("--font-size-sm", t(l.fontSizeSm)), o.style.setProperty("--font-size-md", t(l.fontSizeMd)), o.style.setProperty("--font-size-lg", t(l.fontSizeLg)), o.style.setProperty("--font-size-xl", t(l.fontSizeXl)), o.style.setProperty("--font-weight-normal", String(l.fontWeightNormal)), o.style.setProperty("--font-weight-medium", String(l.fontWeightMedium)), o.style.setProperty("--font-weight-bold", String(l.fontWeightBold)), o.style.setProperty("--line-height-base", String(l.lineHeightBase));
|
|
36
|
+
const b = r.motion;
|
|
37
|
+
o.style.setProperty("--duration-fast", `${b.fast}ms`), o.style.setProperty("--duration-base", `${b.base}ms`), o.style.setProperty("--duration-slow", `${b.slow}ms`), o.style.setProperty("--easing-standard", b.easingStandard);
|
|
38
|
+
const c = r.zIndex;
|
|
39
|
+
o.style.setProperty("--z-dropdown", String(c.dropdown)), o.style.setProperty("--z-sticky", String(c.sticky)), o.style.setProperty("--z-modal", String(c.modal)), o.style.setProperty("--z-toast", String(c.toast)), o.style.setProperty("--z-tooltip", String(c.tooltip));
|
|
40
40
|
}, [a]);
|
|
41
41
|
}, z = (a, o) => {
|
|
42
|
-
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
u(() => {
|
|
43
|
+
const r = document.documentElement, e = a.colors.variables;
|
|
44
|
+
r.style.setProperty("--color-primary", e.primary), r.style.setProperty("--color-primary-hover", e.primaryHover), r.style.setProperty("--color-primary-light", e.primaryLight), r.style.setProperty("--color-primary-bg", e.primaryBg), r.style.setProperty("--color-primary-rgb", e.primaryRgb), r.style.setProperty("--color-primary-transparent", e.primaryTransparent), r.style.setProperty("--color-primary-alpha", e.primaryTransparent), r.style.setProperty("--color-primary-fg", e.primaryFg), r.style.setProperty("--color-success", e.success), r.style.setProperty("--color-success-light", e.successLight), r.style.setProperty("--color-success-rgb", e.successRgb), r.style.setProperty("--color-info", e.info), r.style.setProperty("--color-info-light", e.infoLight), r.style.setProperty("--color-info-rgb", e.infoRgb), r.style.setProperty("--color-warning", e.warning), r.style.setProperty("--color-warning-light", e.warningLight), r.style.setProperty("--color-warning-rgb", e.warningRgb), r.style.setProperty("--color-danger", e.danger), r.style.setProperty("--color-danger-light", e.dangerLight), r.style.setProperty("--color-danger-rgb", e.dangerRgb), r.style.setProperty("--color-error", e.danger), r.style.setProperty("--color-error-rgb", e.dangerRgb), [
|
|
45
|
+
"1",
|
|
46
|
+
"2",
|
|
47
|
+
"3"
|
|
48
|
+
].forEach((i) => {
|
|
49
|
+
const s = e.colorPool[i];
|
|
50
|
+
r.style.setProperty(`--color-pool-${i}`, s.base), r.style.setProperty(`--color-pool-${i}-light`, s.light), r.style.setProperty(`--color-pool-${i}-rgb`, s.rgb);
|
|
51
|
+
}), r.style.setProperty("--color-bg", e.bg), r.style.setProperty("--color-bg-1", e.bg), r.style.setProperty("--color-bg-2", e.bg2), r.style.setProperty("--color-bg-3", e.bg3), r.style.setProperty("--color-bg-4", e.bg4), r.style.setProperty("--color-bg-secondary", e.bgSecondary), r.style.setProperty("--color-border", e.border), r.style.setProperty("--color-border-2", e.border2), r.style.setProperty("--color-border-3", e.border3), r.style.setProperty("--color-border-4", e.border4), r.style.setProperty("--color-border-5", e.border5), r.style.setProperty("--color-border-hover", e.borderHover), r.style.setProperty("--color-fg", e.fg), r.style.setProperty("--color-fg-text", e.fgText), r.style.setProperty("--color-fg-heading", e.fgHeading), r.style.setProperty("--color-fg-highlight", e.fgHighlight), r.style.setProperty("--color-fg-muted", e.fgMuted), r.style.setProperty("--color-fg-on-primary", e.fgOnPrimary), r.style.setProperty("--color-separator", e.separator), r.style.setProperty("--color-overlay", e.overlay), r.style.setProperty("--color-shadow", e.shadow), r.style.setProperty("--color-ring", e.ring), r.style.setProperty("--color-chart-1", e.chart1), r.style.setProperty("--color-chart-2", e.chart2), r.style.setProperty("--color-chart-3", e.chart3), r.style.setProperty("--color-chart-4", e.chart4), r.style.setProperty("--color-chart-5", e.chart5), e.temperature.arcFill.forEach((i, s) => {
|
|
52
|
+
r.style.setProperty(`--temperature-arc-fill-${s}`, i);
|
|
53
|
+
}), r.style.setProperty("--temperature-arc-empty", e.temperature.arcEmpty), r.style.setProperty("--temperature-thumb-bg", e.temperature.thumbBg), r.style.setProperty("--temperature-thumb-border", e.temperature.thumbBorder), r.style.setProperty("--solar-gradient-left", e.solar.gradientLeft), r.style.setProperty("--solar-gradient-right", e.solar.gradientRight), r.style.setProperty("--solar-shadow-color", e.solar.shadowColor), r.style.setProperty("--solar-second-series-fill", e.solar.secondSeriesFill), r.style.setProperty("--traffic-tooltip-bg", e.traffic.tooltipBg), r.style.setProperty("--traffic-tooltip-border-color", e.traffic.tooltipBorderColor), r.style.setProperty("--traffic-tooltip-text-color", e.traffic.tooltipTextColor), r.style.setProperty("--traffic-y-axis-split-line", e.traffic.yAxisSplitLine), r.style.setProperty("--traffic-line-bg", e.traffic.lineBg), r.style.setProperty("--traffic-item-color", e.traffic.itemColor), r.style.setProperty("--traffic-item-border-color", e.traffic.itemBorderColor), r.style.setProperty("--traffic-item-emphasis-border-color", e.traffic.itemEmphasisBorderColor), r.style.setProperty("--traffic-shadow-line-dark-bg", e.traffic.shadowLineDarkBg), r.style.setProperty("--traffic-shadow-line-shadow", e.traffic.shadowLineShadow), r.style.setProperty("--traffic-grad-from", e.traffic.gradFrom), r.style.setProperty("--traffic-grad-to", e.traffic.gradTo), r.style.setProperty("--electricity-tooltip-bg", e.electricity.tooltipBg), r.style.setProperty("--electricity-tooltip-line-color", e.electricity.tooltipLineColor), r.style.setProperty("--electricity-tooltip-border-color", e.electricity.tooltipBorderColor), r.style.setProperty("--electricity-tooltip-text-color", e.electricity.tooltipTextColor), r.style.setProperty("--electricity-axis-line-color", e.electricity.axisLineColor), r.style.setProperty("--electricity-x-axis-text-color", e.electricity.xAxisTextColor), r.style.setProperty("--electricity-y-axis-split-line", e.electricity.yAxisSplitLine), r.style.setProperty("--electricity-item-border-color", e.electricity.itemBorderColor), r.style.setProperty("--electricity-line-grad-from", e.electricity.lineGradFrom), r.style.setProperty("--electricity-line-grad-to", e.electricity.lineGradTo), r.style.setProperty("--electricity-line-shadow", e.electricity.lineShadow), r.style.setProperty("--electricity-area-grad-from", e.electricity.areaGradFrom), r.style.setProperty("--electricity-area-grad-to", e.electricity.areaGradTo), r.style.setProperty("--electricity-shadow-line-dark-bg", e.electricity.shadowLineDarkBg), r.style.setProperty("--echarts-bg", e.echarts.bg), r.style.setProperty("--echarts-text-color", e.echarts.textColor), r.style.setProperty("--echarts-axis-line-color", e.echarts.axisLineColor), r.style.setProperty("--echarts-split-line-color", e.echarts.splitLineColor), r.style.setProperty("--echarts-item-hover-shadow-color", e.echarts.itemHoverShadowColor), r.style.setProperty("--echarts-tooltip-bg-color", e.echarts.tooltipBackgroundColor), r.style.setProperty("--chartjs-axis-line-color", e.chartjs.axisLineColor), r.style.setProperty("--chartjs-text-color", e.chartjs.textColor), T(o);
|
|
47
54
|
}, [o, a]);
|
|
48
55
|
}, G = (a, o) => {
|
|
49
56
|
z(a, o), H(a.base);
|
|
@@ -406,6 +413,23 @@ var t = (a) => `${a}px`, H = (a) => {
|
|
|
406
413
|
danger: "#C0392B",
|
|
407
414
|
dangerLight: "#D65A4A",
|
|
408
415
|
dangerRgb: "192, 57, 43",
|
|
416
|
+
colorPool: {
|
|
417
|
+
1: {
|
|
418
|
+
base: "#8A7968",
|
|
419
|
+
light: "#A89888",
|
|
420
|
+
rgb: "138, 121, 104"
|
|
421
|
+
},
|
|
422
|
+
2: {
|
|
423
|
+
base: "#6D9F72",
|
|
424
|
+
light: "#8DBE91",
|
|
425
|
+
rgb: "109, 159, 114"
|
|
426
|
+
},
|
|
427
|
+
3: {
|
|
428
|
+
base: "#D4A574",
|
|
429
|
+
light: "#E8C9A0",
|
|
430
|
+
rgb: "212, 165, 116"
|
|
431
|
+
}
|
|
432
|
+
},
|
|
409
433
|
bg: "#1A1209",
|
|
410
434
|
bg2: "#28201A",
|
|
411
435
|
bg3: "#3A2E24",
|
|
@@ -516,6 +540,23 @@ var t = (a) => `${a}px`, H = (a) => {
|
|
|
516
540
|
danger: "#DC2626",
|
|
517
541
|
dangerLight: "#FEE2E2",
|
|
518
542
|
dangerRgb: "220, 38, 38",
|
|
543
|
+
colorPool: {
|
|
544
|
+
1: {
|
|
545
|
+
base: "#0EA5E9",
|
|
546
|
+
light: "#E0F2FE",
|
|
547
|
+
rgb: "14, 165, 233"
|
|
548
|
+
},
|
|
549
|
+
2: {
|
|
550
|
+
base: "#16A34A",
|
|
551
|
+
light: "#DCFCE7",
|
|
552
|
+
rgb: "22, 163, 74"
|
|
553
|
+
},
|
|
554
|
+
3: {
|
|
555
|
+
base: "#D97706",
|
|
556
|
+
light: "#FEF3C7",
|
|
557
|
+
rgb: "217, 119, 6"
|
|
558
|
+
}
|
|
559
|
+
},
|
|
519
560
|
bg: "#FFFFFF",
|
|
520
561
|
bg2: "#F8FAFC",
|
|
521
562
|
bg3: "#EFF6FF",
|
|
@@ -626,6 +667,23 @@ var t = (a) => `${a}px`, H = (a) => {
|
|
|
626
667
|
danger: "#F43F5E",
|
|
627
668
|
dangerLight: "#FB7185",
|
|
628
669
|
dangerRgb: "244, 63, 94",
|
|
670
|
+
colorPool: {
|
|
671
|
+
1: {
|
|
672
|
+
base: "#06B6D4",
|
|
673
|
+
light: "#22D3EE",
|
|
674
|
+
rgb: "6, 182, 212"
|
|
675
|
+
},
|
|
676
|
+
2: {
|
|
677
|
+
base: "#22C55E",
|
|
678
|
+
light: "#4ADE80",
|
|
679
|
+
rgb: "34, 197, 94"
|
|
680
|
+
},
|
|
681
|
+
3: {
|
|
682
|
+
base: "#F59E0B",
|
|
683
|
+
light: "#FBBF24",
|
|
684
|
+
rgb: "245, 158, 11"
|
|
685
|
+
}
|
|
686
|
+
},
|
|
629
687
|
bg: "#0C0A1D",
|
|
630
688
|
bg2: "#151332",
|
|
631
689
|
bg3: "#1E1B4B",
|
|
@@ -736,6 +794,23 @@ var t = (a) => `${a}px`, H = (a) => {
|
|
|
736
794
|
danger: "#EF4444",
|
|
737
795
|
dangerLight: "#F87171",
|
|
738
796
|
dangerRgb: "239, 68, 68",
|
|
797
|
+
colorPool: {
|
|
798
|
+
1: {
|
|
799
|
+
base: "#14B8A6",
|
|
800
|
+
light: "#2DD4BF",
|
|
801
|
+
rgb: "20, 184, 166"
|
|
802
|
+
},
|
|
803
|
+
2: {
|
|
804
|
+
base: "#22C55E",
|
|
805
|
+
light: "#4ADE80",
|
|
806
|
+
rgb: "34, 197, 94"
|
|
807
|
+
},
|
|
808
|
+
3: {
|
|
809
|
+
base: "#EAB308",
|
|
810
|
+
light: "#FACC15",
|
|
811
|
+
rgb: "234, 179, 8"
|
|
812
|
+
}
|
|
813
|
+
},
|
|
739
814
|
bg: "#09090B",
|
|
740
815
|
bg2: "#18181B",
|
|
741
816
|
bg3: "#27272A",
|
|
@@ -846,6 +921,23 @@ var t = (a) => `${a}px`, H = (a) => {
|
|
|
846
921
|
danger: "#EF4444",
|
|
847
922
|
dangerLight: "#FEE2E2",
|
|
848
923
|
dangerRgb: "239, 68, 68",
|
|
924
|
+
colorPool: {
|
|
925
|
+
1: {
|
|
926
|
+
base: "#2563EB",
|
|
927
|
+
light: "#DBEAFE",
|
|
928
|
+
rgb: "37, 99, 235"
|
|
929
|
+
},
|
|
930
|
+
2: {
|
|
931
|
+
base: "#16A34A",
|
|
932
|
+
light: "#DCFCE7",
|
|
933
|
+
rgb: "22, 163, 74"
|
|
934
|
+
},
|
|
935
|
+
3: {
|
|
936
|
+
base: "#D97706",
|
|
937
|
+
light: "#FEF3C7",
|
|
938
|
+
rgb: "217, 119, 6"
|
|
939
|
+
}
|
|
940
|
+
},
|
|
849
941
|
bg: "#FFFFFF",
|
|
850
942
|
bg2: "#F9FAFB",
|
|
851
943
|
bg3: "#F3F4F6",
|
|
@@ -956,6 +1048,23 @@ var t = (a) => `${a}px`, H = (a) => {
|
|
|
956
1048
|
danger: "#EF4444",
|
|
957
1049
|
dangerLight: "#FEE2E2",
|
|
958
1050
|
dangerRgb: "239, 68, 68",
|
|
1051
|
+
colorPool: {
|
|
1052
|
+
1: {
|
|
1053
|
+
base: "#2563EB",
|
|
1054
|
+
light: "#DBEAFE",
|
|
1055
|
+
rgb: "37, 99, 235"
|
|
1056
|
+
},
|
|
1057
|
+
2: {
|
|
1058
|
+
base: "#16A34A",
|
|
1059
|
+
light: "#DCFCE7",
|
|
1060
|
+
rgb: "22, 163, 74"
|
|
1061
|
+
},
|
|
1062
|
+
3: {
|
|
1063
|
+
base: "#D97706",
|
|
1064
|
+
light: "#FEF3C7",
|
|
1065
|
+
rgb: "217, 119, 6"
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
959
1068
|
bg: "#FFFFFF",
|
|
960
1069
|
bg2: "#F9FAFB",
|
|
961
1070
|
bg3: "#F3F4F6",
|
|
@@ -1066,6 +1175,23 @@ var t = (a) => `${a}px`, H = (a) => {
|
|
|
1066
1175
|
danger: "#EF4444",
|
|
1067
1176
|
dangerLight: "#FEE2E2",
|
|
1068
1177
|
dangerRgb: "239, 68, 68",
|
|
1178
|
+
colorPool: {
|
|
1179
|
+
1: {
|
|
1180
|
+
base: "#2563EB",
|
|
1181
|
+
light: "#DBEAFE",
|
|
1182
|
+
rgb: "37, 99, 235"
|
|
1183
|
+
},
|
|
1184
|
+
2: {
|
|
1185
|
+
base: "#16A34A",
|
|
1186
|
+
light: "#DCFCE7",
|
|
1187
|
+
rgb: "22, 163, 74"
|
|
1188
|
+
},
|
|
1189
|
+
3: {
|
|
1190
|
+
base: "#D97706",
|
|
1191
|
+
light: "#FEF3C7",
|
|
1192
|
+
rgb: "217, 119, 6"
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1069
1195
|
bg: "#FFFFFF",
|
|
1070
1196
|
bg2: "#F8FAFC",
|
|
1071
1197
|
bg3: "#F1F5F9",
|
|
@@ -1176,6 +1302,23 @@ var t = (a) => `${a}px`, H = (a) => {
|
|
|
1176
1302
|
danger: "#EF4444",
|
|
1177
1303
|
dangerLight: "#FEE2E2",
|
|
1178
1304
|
dangerRgb: "239, 68, 68",
|
|
1305
|
+
colorPool: {
|
|
1306
|
+
1: {
|
|
1307
|
+
base: "#2563EB",
|
|
1308
|
+
light: "#DBEAFE",
|
|
1309
|
+
rgb: "37, 99, 235"
|
|
1310
|
+
},
|
|
1311
|
+
2: {
|
|
1312
|
+
base: "#16A34A",
|
|
1313
|
+
light: "#DCFCE7",
|
|
1314
|
+
rgb: "22, 163, 74"
|
|
1315
|
+
},
|
|
1316
|
+
3: {
|
|
1317
|
+
base: "#D97706",
|
|
1318
|
+
light: "#FEF3C7",
|
|
1319
|
+
rgb: "217, 119, 6"
|
|
1320
|
+
}
|
|
1321
|
+
},
|
|
1179
1322
|
bg: "#FFFFFF",
|
|
1180
1323
|
bg2: "#F9FAFB",
|
|
1181
1324
|
bg3: "#F3F4F6",
|
|
@@ -1286,6 +1429,23 @@ var t = (a) => `${a}px`, H = (a) => {
|
|
|
1286
1429
|
danger: "#E11D48",
|
|
1287
1430
|
dangerLight: "#FB7185",
|
|
1288
1431
|
dangerRgb: "225, 29, 72",
|
|
1432
|
+
colorPool: {
|
|
1433
|
+
1: {
|
|
1434
|
+
base: "#8A6E7A",
|
|
1435
|
+
light: "#A88E98",
|
|
1436
|
+
rgb: "138, 110, 122"
|
|
1437
|
+
},
|
|
1438
|
+
2: {
|
|
1439
|
+
base: "#6D9F6D",
|
|
1440
|
+
light: "#8DBE8D",
|
|
1441
|
+
rgb: "109, 159, 109"
|
|
1442
|
+
},
|
|
1443
|
+
3: {
|
|
1444
|
+
base: "#C49050",
|
|
1445
|
+
light: "#D4B080",
|
|
1446
|
+
rgb: "196, 144, 80"
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1289
1449
|
bg: "#1A0810",
|
|
1290
1450
|
bg2: "#2D0F1A",
|
|
1291
1451
|
bg3: "#3F1525",
|
|
@@ -1394,13 +1554,13 @@ var t = (a) => `${a}px`, H = (a) => {
|
|
|
1394
1554
|
}, lr = {
|
|
1395
1555
|
colors: _,
|
|
1396
1556
|
base: p
|
|
1397
|
-
},
|
|
1557
|
+
}, gr = {
|
|
1398
1558
|
colors: rr,
|
|
1399
1559
|
base: p
|
|
1400
|
-
},
|
|
1560
|
+
}, Fr = {
|
|
1401
1561
|
colors: Z,
|
|
1402
1562
|
base: p
|
|
1403
|
-
},
|
|
1563
|
+
}, B = {
|
|
1404
1564
|
[d.DEFAULT]: er,
|
|
1405
1565
|
[d.LIGHT]: or,
|
|
1406
1566
|
[d.DARK]: tr,
|
|
@@ -1408,32 +1568,32 @@ var t = (a) => `${a}px`, H = (a) => {
|
|
|
1408
1568
|
[d.CORPORATE]: ir,
|
|
1409
1569
|
[d.FOREST]: sr,
|
|
1410
1570
|
[d.COFFEE]: lr,
|
|
1411
|
-
[d.WINE]:
|
|
1412
|
-
[d.WHEAT]:
|
|
1413
|
-
}, nr = x(({ children: a, defaultTheme: o = d.DEFAULT, defaultBase:
|
|
1414
|
-
const [
|
|
1415
|
-
const
|
|
1416
|
-
return
|
|
1417
|
-
}), [
|
|
1418
|
-
const
|
|
1419
|
-
return
|
|
1420
|
-
}),
|
|
1421
|
-
colors:
|
|
1422
|
-
base: V[
|
|
1423
|
-
}), [
|
|
1424
|
-
G(
|
|
1425
|
-
const
|
|
1426
|
-
|
|
1427
|
-
},
|
|
1428
|
-
n(
|
|
1571
|
+
[d.WINE]: gr,
|
|
1572
|
+
[d.WHEAT]: Fr
|
|
1573
|
+
}, nr = x(({ children: a, defaultTheme: o = d.DEFAULT, defaultBase: r = F.DEFAULT }) => {
|
|
1574
|
+
const [e, i] = E(() => {
|
|
1575
|
+
const g = w();
|
|
1576
|
+
return g != null && g in B ? g : o;
|
|
1577
|
+
}), [s, n] = E(() => {
|
|
1578
|
+
const g = v();
|
|
1579
|
+
return g ?? r;
|
|
1580
|
+
}), l = P(() => ({
|
|
1581
|
+
colors: B[e].colors,
|
|
1582
|
+
base: V[s]
|
|
1583
|
+
}), [e, s]);
|
|
1584
|
+
G(l, e);
|
|
1585
|
+
const b = (g) => {
|
|
1586
|
+
i(g);
|
|
1587
|
+
}, c = (g) => {
|
|
1588
|
+
n(g), R(g);
|
|
1429
1589
|
};
|
|
1430
|
-
return /* @__PURE__ */
|
|
1590
|
+
return /* @__PURE__ */ S(L.Provider, {
|
|
1431
1591
|
value: {
|
|
1432
|
-
currentTheme:
|
|
1433
|
-
themeName:
|
|
1434
|
-
baseName:
|
|
1435
|
-
setTheme:
|
|
1436
|
-
setBase:
|
|
1592
|
+
currentTheme: l,
|
|
1593
|
+
themeName: e,
|
|
1594
|
+
baseName: s,
|
|
1595
|
+
setTheme: b,
|
|
1596
|
+
setBase: c,
|
|
1437
1597
|
availableThemes: f,
|
|
1438
1598
|
availableBases: C
|
|
1439
1599
|
},
|
|
@@ -1442,12 +1602,12 @@ var t = (a) => `${a}px`, H = (a) => {
|
|
|
1442
1602
|
});
|
|
1443
1603
|
nr.displayName = "ThemeProvider";
|
|
1444
1604
|
export {
|
|
1445
|
-
|
|
1605
|
+
h as BASE_STORAGE_KEY,
|
|
1446
1606
|
C as BASE_VALUES,
|
|
1447
1607
|
F as BaseEnum,
|
|
1448
|
-
|
|
1608
|
+
y as COLOR_STORAGE_KEY,
|
|
1449
1609
|
pr as DEFAULT_BASE,
|
|
1450
|
-
|
|
1610
|
+
cr as DEFAULT_THEME,
|
|
1451
1611
|
f as THEME_VALUES,
|
|
1452
1612
|
L as ThemeContext,
|
|
1453
1613
|
d as ThemeEnum,
|
|
@@ -1461,15 +1621,15 @@ export {
|
|
|
1461
1621
|
sr as forestTheme,
|
|
1462
1622
|
v as getThemeBaseStorage,
|
|
1463
1623
|
w as getThemeColorStorage,
|
|
1464
|
-
|
|
1624
|
+
Br as removeThemeStorage,
|
|
1465
1625
|
R as setThemeBaseStorage,
|
|
1466
1626
|
T as setThemeColorStorage,
|
|
1467
|
-
|
|
1627
|
+
B as themes,
|
|
1468
1628
|
H as useBaseVariables,
|
|
1469
|
-
|
|
1629
|
+
hr as useTheme,
|
|
1470
1630
|
z as useThemeVariables,
|
|
1471
1631
|
G as useVariables,
|
|
1472
|
-
|
|
1632
|
+
gr as wineTheme
|
|
1473
1633
|
};
|
|
1474
1634
|
|
|
1475
1635
|
//# sourceMappingURL=themes.mjs.map
|