first commit

This commit is contained in:
hero920103 committed 2026-02-06 20:21:10 +08:00
commit f9d7f980bb
3994 files changed
+1146030

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) Tailwind Labs, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+36
View File
@@ -0,0 +1,36 @@
<p align="center">
<a href="https://tailwindcss.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tailwindlabs/tailwindcss/HEAD/.github/logo-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/tailwindlabs/tailwindcss/HEAD/.github/logo-light.svg">
<img alt="Tailwind CSS" src="https://raw.githubusercontent.com/tailwindlabs/tailwindcss/HEAD/.github/logo-light.svg" width="350" height="70" style="max-width: 100%;">
</picture>
</a>
</p>
<p align="center">
A utility-first CSS framework for rapidly building custom user interfaces.
</p>
<p align="center">
<a href="https://github.com/tailwindlabs/tailwindcss/actions"><img src="https://img.shields.io/github/actions/workflow/status/tailwindlabs/tailwindcss/ci.yml?branch=next" alt="Build Status"></a>
<a href="https://www.npmjs.com/package/tailwindcss"><img src="https://img.shields.io/npm/dt/tailwindcss.svg" alt="Total Downloads"></a>
<a href="https://github.com/tailwindcss/tailwindcss/releases"><img src="https://img.shields.io/npm/v/tailwindcss.svg" alt="Latest Release"></a>
<a href="https://github.com/tailwindcss/tailwindcss/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/tailwindcss.svg" alt="License"></a>
</p>
---
## Documentation
For full documentation, visit [tailwindcss.com](https://tailwindcss.com).
## Community
For help, discussion about best practices, or feature ideas:
[Discuss Tailwind CSS on GitHub](https://github.com/tailwindcss/tailwindcss/discussions)
## Contributing
If you're interested in contributing to Tailwind CSS, please read our [contributing docs](https://github.com/tailwindcss/tailwindcss/blob/next/.github/CONTRIBUTING.md) **before submitting a pull request**.
+1
View File
@@ -0,0 +1 @@
import{a as k}from"./chunk-HTB5LLOP.mjs";var _=new Set(["black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","transparent","currentcolor","canvas","canvastext","linktext","visitedtext","activetext","buttonface","buttontext","buttonborder","field","fieldtext","highlight","highlighttext","selecteditem","selecteditemtext","mark","marktext","graytext","accentcolor","accentcolortext"]),U=/^(rgba?|hsla?|hwb|color|(ok)?(lab|lch)|light-dark|color-mix)\(/i;function S(e){return e.charCodeAt(0)===35||U.test(e)||_.has(e.toLowerCase())}var A=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"];function b(e){return e.indexOf("(")!==-1&&A.some(t=>e.includes(`${t}(`))}function oe(e){if(!A.some(n=>e.includes(n)))return e;let t="",r=[],s=null,m=null;for(let n=0;n<e.length;n++){let a=e.charCodeAt(n);if(a>=48&&a<=57||s!==null&&(a===37||a>=97&&a<=122||a>=65&&a<=90)?s=n:(m=s,s=null),a===40){t+=e[n];let i=n;for(let p=n-1;p>=0;p--){let c=e.charCodeAt(p);if(c>=48&&c<=57)i=p;else if(c>=97&&c<=122)i=p;else break}let o=e.slice(i,n);if(A.includes(o)){r.unshift(!0);continue}else if(r[0]&&o===""){r.unshift(!0);continue}r.unshift(!1);continue}else if(a===41)t+=e[n],r.shift();else if(a===44&&r[0]){t+=", ";continue}else{if(a===32&&r[0]&&t.charCodeAt(t.length-1)===32)continue;if((a===43||a===42||a===47||a===45)&&r[0]){let i=t.trimEnd(),o=i.charCodeAt(i.length-1),p=i.charCodeAt(i.length-2),c=e.charCodeAt(n+1);if((o===101||o===69)&&p>=48&&p<=57){t+=e[n];continue}else if(o===43||o===42||o===47||o===45){t+=e[n];continue}else if(o===40||o===44){t+=e[n];continue}else e.charCodeAt(n-1)===32?t+=`${e[n]} `:o>=48&&o<=57||c>=48&&c<=57||o===41||c===40||c===43||c===42||c===47||c===45||m!==null&&m===n-1?t+=` ${e[n]} `:t+=e[n]}else t+=e[n]}}return t}var E=new Uint8Array(256);function d(e,t){let r=0,s=[],m=0,n=e.length,a=t.charCodeAt(0);for(let i=0;i<n;i++){let o=e.charCodeAt(i);if(r===0&&o===a){s.push(e.slice(m,i)),m=i+1;continue}switch(o){case 92:i+=1;break;case 39:case 34:for(;++i<n;){let p=e.charCodeAt(i);if(p===92){i+=1;continue}if(p===o)break}break;case 40:E[r]=41,r++;break;case 91:E[r]=93,r++;break;case 123:E[r]=125,r++;break;case 93:case 125:case 41:r>0&&o===E[r-1]&&r--;break}}return s.push(e.slice(m)),s}var P={color:S,length:y,percentage:C,ratio:G,number:v,integer:u,url:R,position:K,"bg-size":Y,"line-width":T,image:F,"family-name":M,"generic-name":H,"absolute-size":$,"relative-size":W,angle:X,vector:te};function me(e,t){if(e.startsWith("var("))return null;for(let r of t)if(P[r]?.(e))return r;return null}var z=/^url\(.*\)$/;function R(e){return z.test(e)}function T(e){return d(e," ").every(t=>y(t)||v(t)||t==="thin"||t==="medium"||t==="thick")}var D=/^(?:element|image|cross-fade|image-set)\(/,I=/^(repeating-)?(conic|linear|radial)-gradient\(/;function F(e){let t=0;for(let r of d(e,","))if(!r.startsWith("var(")){if(R(r)){t+=1;continue}if(I.test(r)){t+=1;continue}if(D.test(r)){t+=1;continue}return!1}return t>0}function H(e){return e==="serif"||e==="sans-serif"||e==="monospace"||e==="cursive"||e==="fantasy"||e==="system-ui"||e==="ui-serif"||e==="ui-sans-serif"||e==="ui-monosLine truncated
+1
View File
@@ -0,0 +1 @@
var l={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.Line truncated
+37
View File
@@ -0,0 +1,37 @@
import{a as Et,b as L,c as H,d as E,e as at,f as de,g as Ue,h as Pt}from"./chunk-G32FJCSR.mjs";import{a as Rt}from"./chunk-HTB5LLOP.mjs";var Kt="4.1.14";var Ne=92,Ie=47,Le=42,Ot=34,_t=39,oi=58,ze=59,ne=10,Me=13,Se=32,Fe=9,Dt=123,lt=125,ft=40,jt=41,ai=91,li=93,Ut=45,st=64,si=33;function me(r,t){let i=t?.from?{file:t.from,code:r}:null;r[0]==="\uFEFF"&&(r=" "+r.slice(1));let e=[],o=[],s=[],l=null,d=null,u="",f="",g=0,m;for(let p=0;p<r.length;p++){let w=r.charCodeAt(p);if(!(w===Me&&(m=r.charCodeAt(p+1),m===ne)))if(w===Ne)u===""&&(g=p),u+=r.slice(p,p+2),p+=1;else if(w===Ie&&r.charCodeAt(p+1)===Le){let v=p;for(let x=p+2;x<r.length;x++)if(m=r.charCodeAt(x),m===Ne)x+=1;else if(m===Le&&r.charCodeAt(x+1)===Ie){p=x+1;break}let y=r.slice(v,p+1);if(y.charCodeAt(2)===si){let x=We(y.slice(2,-2));o.push(x),i&&(x.src=[i,v,p+1],x.dst=[i,v,p+1])}}else if(w===_t||w===Ot){let v=It(r,p,w);u+=r.slice(p,v+1),p=v}else{if((w===Se||w===ne||w===Fe)&&(m=r.charCodeAt(p+1))&&(m===Se||m===ne||m===Fe||m===Me&&(m=r.charCodeAt(p+2))&&m==ne))continue;if(w===ne){if(u.length===0)continue;m=u.charCodeAt(u.length-1),m!==Se&&m!==ne&&m!==Fe&&(u+=" ")}else if(w===Ut&&r.charCodeAt(p+1)===Ut&&u.length===0){let v="",y=p,x=-1;for(let C=p+2;C<r.length;C++)if(m=r.charCodeAt(C),m===Ne)C+=1;else if(m===_t||m===Ot)C=It(r,C,m);else if(m===Ie&&r.charCodeAt(C+1)===Le){for(let b=C+2;b<r.length;b++)if(m=r.charCodeAt(b),m===Ne)b+=1;else if(m===Le&&r.charCodeAt(b+1)===Ie){C=b+1;break}}else if(x===-1&&m===oi)x=u.length+C-y;else if(m===ze&&v.length===0){u+=r.slice(y,C),p=C;break}else if(m===ft)v+=")";else if(m===ai)v+="]";else if(m===Dt)v+="}";else if((m===lt||r.length-1===C)&&v.length===0){p=C-1,u+=r.slice(y,C);break}else(m===jt||m===li||m===lt)&&v.length>0&&r[C]===v[v.length-1]&&(v=v.slice(0,-1));let S=ut(u,x);if(!S)throw new Error("Invalid custom property, expected a value");i&&(S.src=[i,y,p],S.dst=[i,y,p]),l?l.nodes.push(S):e.push(S),u=""}else if(w===ze&&u.charCodeAt(0)===st)d=Te(u),i&&(d.src=[i,g,p],d.dst=[i,g,p]),l?l.nodes.push(d):e.push(d),u="",d=null;else if(w===ze&&f[f.length-1]!==")"){let v=ut(u);if(!v){if(u.length===0)continue;throw new Error(`Invalid declaration: \`${u.trim()}\``)}i&&(v.src=[i,g,p],v.dst=[i,g,p]),l?l.nodes.push(v):e.push(v),u=""}else if(w===Dt&&f[f.length-1]!==")")f+="}",d=Y(u.trim()),i&&(d.src=[i,g,p],d.dst=[i,g,p]),l&&l.nodes.push(d),s.push(l),l=d,u="",d=null;else if(w===lt&&f[f.length-1]!==")"){if(f==="")throw new Error("Missing opening {");if(f=f.slice(0,-1),u.length>0)if(u.charCodeAt(0)===st)d=Te(u),i&&(d.src=[i,g,p],d.dst=[i,g,p]),l?l.nodes.push(d):e.push(d),u="",d=null;else{let y=u.indexOf(":");if(l){let x=ut(u,y);if(!x)throw new Error(`Invalid declaration: \`${u.trim()}\``);i&&(x.src=[i,g,p],x.dst=[i,g,p]),l.nodes.push(x)}}let v=s.pop()??null;v===null&&l&&e.push(l),l=v,u="",d=null}else if(w===ft)f+=")",u+="(";else if(w===jt){if(f[f.length-1]!==")")throw new Error("Missing opening (");f=f.slice(0,-1),u+=")"}else{if(u.length===0&&(w===Se||w===ne||w===Fe))continue;u===""&&(g=p),u+=String.fromCharCode(w)}}}if(u.charCodeAt(0)===st){let p=Te(u);i&&(p.src=[i,g,r.length],p.dst=[i,g,r.length]),e.push(p)}if(f.length>0&&l){if(l.kind==="rule")throw new Error(`Missing closing } at ${l.selector}`);if(l.kind==="at-rule")throw new Error(`Missing closing } at ${l.name} ${l.params}`)}return o.length>0?o.concat(e):e}function Te(r,t=[]){let i=r,e="";for(let o=5;o<r.length;o++){let s=r.charCodeAt(o);if(s===Se||s===ft){i=r.slice(0,o),e=r.slice(o);break}}return z(i.trim(),e.trim(),t)}function ut(r,t=r.indexOf(":")){if(t===-1)return null;let i=r.indexOf("!important",t+1);return n(r.slice(0,t).trim(),r.slice(t+1,i===-1?r.length:i).trim(),i!==-1)}function It(r,t,i){let e;for(let o=t+1;o<r.length;o++)if(e=r.charCodeAt(o),e===Ne)o+=1;else{if(e===i)return o;if(e===ze&&(r.charCodeAt(o+1)===ne||r.charCodeAt(o+1)===Me&&r.charCodeAt(o+2)===ne))throw new Error(`Unterminated string: ${r.slice(t,o+1)+String.fromCharCode(i)}`);if(e===ne||e===Me&&r.charCodeAt(o+1)===ne)throw new Error(`Unterminated string: ${r.slice(t,o)+String.fromCharCode(i)}`)}return t}function fe(r){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let t=String(r),i=t.length,e=-1,o,s="",l=t.charCodeAt(0);if(i===1&&l===45)return"\\"+t;for(;++e<i;){if(o=t.charCodeAt(e),o===0){s+="\uFFFD";continue}if(o>=1&&o<=31||o===127||e===0&&o>=48&&o<=57||e===1&&o>=48&&o<=57&&l===45){s+="\\"+o.toString(16)+" ";continue}if(o>=128||o===45||o===95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){s+=t.charAt(e);continue}s+="\\"+t.charAt(e)}return s}function ge(r){return r.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,t=>t.length>2?String.fromCodePoint(Number.parseInt(t.slice(1).trim(),16)):t[1])}var Ft=new Map([["--font",["--font-weight","--font-size"]],["--inset",["--inset-shadow","--inset-ring"]],["--text",["--text-color","--text-decoration-color","--text-decoration-thickness","--text-indent","--text-shadow","--text-underline-offset"]],["--grid-column",["--grid-column-start","--grid-Line truncated
`,`
`);let t=[],i=[],e=null,o="",s;for(let l=0;l<r.length;l++){let d=r.charCodeAt(l);switch(d){case zt:{o+=r[l]+r[l+1],l++;break}case Mt:case Wt:case Bt:case qt:case Gt:case Jt:case Ht:case Yt:case Zt:{if(o.length>0){let m=pt(o);e?e.nodes.push(m):t.push(m),o=""}let u=l,f=l+1;for(;f<r.length&&(s=r.charCodeAt(f),!(s!==Mt&&s!==Wt&&s!==Bt&&s!==qt&&s!==Gt&&s!==Jt&&s!==Ht&&s!==Yt&&s!==Zt));f++);l=f-1;let g=fi(r.slice(u,f));e?e.nodes.push(g):t.push(g);break}case mi:case pi:{let u=l;for(let f=l+1;f<r.length;f++)if(s=r.charCodeAt(f),s===zt)f+=1;else if(s===d){l=f;break}o+=r.slice(u,l+1);break}case di:{let u=ui(o,[]);o="",e?e.nodes.push(u):t.push(u),i.push(u),e=u;break}case ci:{let u=i.pop();if(o.length>0){let f=pt(o);u?.nodes.push(f),o=""}i.length>0?e=i[i.length-1]:e=null;break}default:o+=String.fromCharCode(d)}}return o.length>0&&t.push(pt(o)),t}function qe(r){let t=[];return ee(J(r),i=>{if(!(i.kind!=="function"||i.value!=="var"))return ee(i.nodes,e=>{e.kind!=="word"||e.value[0]!=="-"||e.value[1]!=="-"||t.push(e.value)}),1}),t}var hi=64;function B(r,t=[]){return{kind:"rule",selector:r,nodes:t}}function z(r,t="",i=[]){return{kind:"at-rule",name:r,params:t,nodes:i}}function Y(r,t=[]){return r.charCodeAt(0)===hi?Te(r,t):B(r,t)}function n(r,t,i=!1){return{kind:"declaration",property:r,value:t,important:i}}function We(r){return{kind:"comment",value:r}}function ae(r,t){return{kind:"context",context:r,nodes:t}}function F(r){return{kind:"at-root",nodes:r}}function j(r,t,i=[],e={}){for(let o=0;o<r.length;o++){let s=r[o],l=i[i.length-1]??null;if(s.kind==="context"){if(j(s.nodes,t,i,{...e,...s.context})===2)return 2;continue}i.push(s);let d=!1,u=0,f=t(s,{parent:l,context:e,path:i,replaceWith(g){d||(d=!0,Array.isArray(g)?g.length===0?(r.splice(o,1),u=0):g.length===1?(r[o]=g[0],u=1):(r.splice(o,1,...g),u=g.length):(r[o]=g,u=1))}})??0;if(i.pop(),d){f===0?o--:o+=u-1;continue}if(f===2)return 2;if(f!==1&&"nodes"in s){i.push(s);let g=j(s.nodes,t,i,e);if(i.pop(),g===2)return 2}}}function Ge(r,t,i=[],e={}){for(let o=0;o<r.length;o++){let s=r[o],l=i[i.length-1]??null;if(s.kind==="rule"||s.kind==="at-rule")i.push(s),Ge(s.nodes,t,i,e),i.pop();else if(s.kind==="context"){Ge(s.nodes,t,i,{...e,...s.context});continue}i.push(s),t(s,{parent:l,context:e,path:i,replaceWith(d){Array.isArray(d)?d.length===0?r.splice(o,1):d.length===1?r[o]=d[0]:r.splice(o,1,...d):r[o]=d,o+=d.length-1}}),i.pop()}}function ve(r,t,i=3){let e=[],o=new Set,s=new W(()=>new Set),l=new W(()=>new Set),d=new Set,u=new Set,f=[],g=[],m=new W(()=>new Set);function p(v,y,x={},S=0){if(v.kind==="declaration"){if(v.property==="--tw-sort"||v.value===void 0||v.value===null)return;if(x.theme&&v.property[0]==="-"&&v.property[1]==="-"){if(v.value==="initial"){v.value=void 0;return}x.keyframes||s.get(y).add(v)}if(v.value.includes("var("))if(x.theme&&v.property[0]==="-"&&v.property[1]==="-")for(let C of qe(v.value))m.get(C).add(v.property);else t.trackUsedVariables(v.value);if(v.property==="animation")for(let C of Qt(v.value))u.add(C);i&2&&v.value.includes("color-mix(")&&l.get(y).add(v),y.push(v)}else if(v.kind==="rule"){let C=[];for(let R of v.nodes)p(R,C,x,S+1);let b={},O=new Set;for(let R of C){if(R.kind!=="declaration")continue;let _=`${R.property}:${R.value}:${R.important}`;b[_]??=[],b[_].push(R)}for(let R in b)for(let _=0;_<b[R].length-1;++_)O.add(b[R][_]);if(O.size>0&&(C=C.filter(R=>!O.has(R))),C.length===0)return;v.selector==="&"?y.push(...C):y.push({...v,nodes:C})}else if(v.kind==="at-rule"&&v.name==="@property"&&S===0){if(o.has(v.params))return;if(i&1){let b=v.params,O=null,R=!1;for(let D of v.nodes)D.kind==="declaration"&&(D.property==="initial-value"?O=D.value:D.property==="inherits"&&(R=D.value==="true"));let _=n(b,O??"initial");_.src=v.src,R?f.push(_):g.push(_)}o.add(v.params);let C={...v,nodes:[]};for(let b of v.nodes)p(b,C.nodes,x,S+1);y.push(C)}else if(v.kind==="at-rule"){v.name==="@keyframes"&&(x={...x,keyframes:!0});let C={...v,nodes:[]};for(let b of v.nodes)p(b,C.nodes,x,S+1);v.name==="@keyframes"&&x.theme&&d.add(C),(C.nodes.length>0||C.name==="@layer"||C.name==="@charset"||C.name==="@custom-media"||C.name==="@namespace"||C.name==="@import")&&y.push(C)}else if(v.kind==="at-root")for(let C of v.nodes){let b=[];p(C,b,x,0);for(let O of b)e.push(O)}else if(v.kind==="context"){if(v.context.reference)return;for(let C of v.nodes)p(C,y,{...x,...v.context},S)}else v.kind==="comment"&&y.push(v)}let w=[];for(let v of r)p(v,w,{},0);e:for(let[v,y]of s)for(let x of y){if(Xt(x.property,t.theme,m)){if(x.property.startsWith(t.theme.prefixKey("--animate-")))for(let b of Qt(x.value))u.add(b);continue}let C=v.indexOf(x);if(v.splice(C,1),v.length===0){let b=vi(w,O=>O.kind==="rule"&&O.nodes===v);if(!b||b.length===0)continue e;b.unshift({kind:"at-root",nodes:w});do{let O=b.pop();if(!O)break;let R=b[b.length-1];if(!R||R.kind!=="at-root"&&R.kind!=="at-rule")break;let _=R.nodes.indexOf(O);if(_===-1)break;R.nodes.splice(_,1)}while(!0);continue e}}for(let v of d)if(!u.has(v.params)){let y=e.indexOf Line truncated
`,t){i+=f.length;let g=i;i+=l.property.length,i+=2,i+=l.value?.length??0,l.important&&(i+=11);let m=i;i+=2,l.dst=[e,g,m]}}else if(l.kind==="rule"){if(u+=`${f}${l.selector} {
`,t){i+=f.length;let g=i;i+=l.selector.length,i+=1;let m=i;l.dst=[e,g,m],i+=2}for(let g of l.nodes)u+=o(g,d+1);u+=`${f}}
`,t&&(i+=f.length,i+=2)}else if(l.kind==="at-rule"){if(l.nodes.length===0){let g=`${f}${l.name} ${l.params};
`;if(t){i+=f.length;let m=i;i+=l.name.length,i+=1,i+=l.params.length;let p=i;i+=2,l.dst=[e,m,p]}return g}if(u+=`${f}${l.name}${l.params?` ${l.params} `:" "}{
`,t){i+=f.length;let g=i;i+=l.name.length,l.params&&(i+=1,i+=l.params.length),i+=1;let m=i;l.dst=[e,g,m],i+=2}for(let g of l.nodes)u+=o(g,d+1);u+=`${f}}
`,t&&(i+=f.length,i+=2)}else if(l.kind==="comment"){if(u+=`${f}/*${l.value}*/
`,t){i+=f.length;let g=i;i+=2+l.value.length+2;let m=i;l.dst=[e,g,m],i+=1}}else if(l.kind==="context"||l.kind==="at-root")return"";return u}let s="";for(let l of r)s+=o(l,0);return e.code=s,s}function vi(r,t){let i=[];return j(r,(e,{path:o})=>{if(t(e))return i=[...o],2}),i}function Xt(r,t,i,e=new Set){if(e.has(r)||(e.add(r),t.getOptions(r)&24))return!0;{let s=i.get(r)??[];for(let l of s)if(Xt(l,t,i,e))return!0}return!1}function Qt(r){return r.split(/[\s,]+/)}function ce(r){if(r.indexOf("(")===-1)return ke(r);let t=J(r);return mt(t),r=Z(t),r=Et(r),r}function ke(r,t=!1){let i="";for(let e=0;e<r.length;e++){let o=r[e];o==="\\"&&r[e+1]==="_"?(i+="_",e+=1):o==="_"&&!t?i+=" ":i+=o}return i}function mt(r){for(let t of r)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=ke(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=ke(t.value);for(let i=0;i<t.nodes.length;i++){if(i==0&&t.nodes[i].kind==="word"){t.nodes[i].value=ke(t.nodes[i].value,!0);continue}mt([t.nodes[i]])}break}t.value=ke(t.value),mt(t.nodes);break}case"separator":case"word":{t.value=ke(t.value);break}default:wi(t)}}function wi(r){throw new Error(`Unexpected value: ${r}`)}var gt=new Uint8Array(256);function se(r){let t=0,i=r.length;for(let e=0;e<i;e++){let o=r.charCodeAt(e);switch(o){case 92:e+=1;break;case 39:case 34:for(;++e<i;){let s=r.charCodeAt(e);if(s===92){e+=1;continue}if(s===o)break}break;case 40:gt[t]=41,t++;break;case 91:gt[t]=93,t++;break;case 123:break;case 93:case 125:case 41:if(t===0)return!1;t>0&&o===gt[t-1]&&t--;break;case 59:if(t===0)return!1;break}}return!0}var yi=58,er=45,tr=97,rr=122;function*ir(r,t){let i=L(r,":");if(t.theme.prefix){if(i.length===1||i[0]!==t.theme.prefix)return null;i.shift()}let e=i.pop(),o=[];for(let m=i.length-1;m>=0;--m){let p=t.parseVariant(i[m]);if(p===null)return;o.push(p)}let s=!1;e[e.length-1]==="!"?(s=!0,e=e.slice(0,-1)):e[0]==="!"&&(s=!0,e=e.slice(1)),t.utilities.has(e,"static")&&!e.includes("[")&&(yield{kind:"static",root:e,variants:o,important:s,raw:r});let[l,d=null,u]=L(e,"/");if(u)return;let f=d===null?null:ht(d);if(d!==null&&f===null)return;if(l[0]==="["){if(l[l.length-1]!=="]")return;let m=l.charCodeAt(1);if(m!==er&&!(m>=tr&&m<=rr))return;l=l.slice(1,-1);let p=l.indexOf(":");if(p===-1||p===0||p===l.length-1)return;let w=l.slice(0,p),v=ce(l.slice(p+1));if(!se(v))return;yield{kind:"arbitrary",property:w,value:v,modifier:f,variants:o,important:s,raw:r};return}let g;if(l[l.length-1]==="]"){let m=l.indexOf("-[");if(m===-1)return;let p=l.slice(0,m);if(!t.utilities.has(p,"functional"))return;let w=l.slice(m+1);g=[[p,w]]}else if(l[l.length-1]===")"){let m=l.indexOf("-(");if(m===-1)return;let p=l.slice(0,m);if(!t.utilities.has(p,"functional"))return;let w=l.slice(m+2,-1),v=L(w,":"),y=null;if(v.length===2&&(y=v[0],w=v[1]),w[0]!=="-"||w[1]!=="-"||!se(w))return;g=[[p,y===null?`[var(${w})]`:`[${y}:var(${w})]`]]}else g=or(l,m=>t.utilities.has(m,"functional"));for(let[m,p]of g){let w={kind:"functional",root:m,modifier:f,value:null,variants:o,important:s,raw:r};if(p===null){yield w;continue}{let v=p.indexOf("[");if(v!==-1){if(p[p.length-1]!=="]")return;let x=ce(p.slice(v+1,-1));if(!se(x))continue;let S="";for(let C=0;C<x.length;C++){let b=x.charCodeAt(C);if(b===yi){S=x.slice(0,C),x=x.slice(C+1);break}if(!(b===er||b>=tr&&b<=rr))break}if(x.length===0||x.trim().length===0)continue;w.value={kind:"arbitrary",dataType:S||null,value:x}}else{let x=d===null||w.modifier?.kind==="arbitrary"?null:`${p}/${d}`;w.value={kind:"named",value:p,fraction:x}}}yield w}}function ht(r){if(r[0]==="["&&r[r.length-1]==="]"){let t=ce(r.slice(1,-1));return!se(t)||t.length===0||t.trim().length===0?null:{kind:"arbitrary",value:t}}return r[0]==="("&&r[r.length-1]===")"?(r=r.slice(1,-1),r[0]!=="-"||r[1]!=="-"||!se(r)?null:(r=`var(${r})`,{kind:"arbitrary",value:ce(r)})):{kind:"named",value:r}}function nr(r,t){if(r[0]==="["&&r[r.length-1]==="]"){if(r[1]==="@"&&r.includes("&"))return null;let i=ce(r.slice(1,-1));if(!se(i)||i.length===0||i.trim().length===0)return null;let e=i[0]===">"||i[0]==="+"||i[0]==="~";return!e&&i[0]!=="@"&&!i.includes("&")&&(i=`&:is(${i})`),{kind:"arbitrary",selector:i,relative:e}}{let[i,e=null,o]=L(r,"/");if(o)return null;let s=or(i,l=>t.variants.has(l));for(let[l,d]of s)switch(t.variants.kind(l)){case"static":return d!==null||e!==null?null:{kind:"static",root:l};case"functional":{let u=e===null?null:ht(e);if(e!==null&&u===null)return null;if(d===null)return{kind:"functional",root:l,modifier:u,value:null};if(d[d.length-1]==="]"){if(d[0]!=="[")continue;let f=ce(d.slice(1,-1));return!se(f)||f.length===0||f.trim().length===0?null:{kind:"functional",root:l,modifier:u,value:{kind:"arbitrary",value:f}}}if(d[d.length-1]===")"){if(d[0]!=="(")continue;let f=ce(d.slice(1,-1));return!se(f)||f.length===0||f.trim().length===0||f[0]!=="-"||f[1]!=="-"?null:{kind:"functional",root:l,modifier:u,value:{kind:"arbitrary",value:`var(${f})`}}}ret Line truncated
Only valid data types are: ${kt.map(y=>`"${y}"`).join(", ")}.
`);let f=u.value,g=structuredClone(l),m="\xB6";ee(g.nodes,(y,{replaceWith:x})=>{y.kind==="word"&&y.value===f&&x({kind:"word",value:m})});let p="^".repeat(Z([u]).length),w=Z([g]).indexOf(m),v=["```css",Z([l])," ".repeat(w)+p,"```"].join(`
`);console.warn(v)}}),o.value=Z(s)}),i.utilities.functional(t.slice(0,-2),o=>{let s=structuredClone(r),l=o.value,d=o.modifier;if(l===null)return;let u=!1,f=!1,g=!1,m=!1,p=new Map,w=!1;if(j([s],(v,{parent:y,replaceWith:x})=>{if(y?.kind!=="rule"&&y?.kind!=="at-rule"||v.kind!=="declaration"||!v.value)return;let S=J(v.value);(ee(S,(b,{replaceWith:O})=>{if(b.kind==="function"){if(b.value==="--value"){u=!0;let R=ur(l,b,i);return R?(f=!0,R.ratio?w=!0:p.set(v,y),O(R.nodes),1):(u||=!1,x([]),2)}else if(b.value==="--modifier"){if(d===null)return x([]),2;g=!0;let R=ur(d,b,i);return R?(m=!0,O(R.nodes),1):(g||=!1,x([]),2)}}})??0)===0&&(v.value=Z(S))}),u&&!f||g&&!m||w&&m||d&&!w&&!m)return null;if(w)for(let[v,y]of p){let x=y.nodes.indexOf(v);x!==-1&&y.nodes.splice(x,1)}return s.nodes}),i.utilities.suggest(t.slice(0,-2),()=>{let o=[],s=[];for(let[l,{literals:d,usedSpacingNumber:u,usedSpacingInteger:f,themeKeys:g}]of[[o,e["--value"]],[s,e["--modifier"]]]){for(let m of d)l.push(m);if(u)l.push(...Ze);else if(f)for(let m of Ze)E(m)&&l.push(m);for(let m of i.theme.keysInNamespaces(g))l.push(m.replace(cr,(p,w,v)=>`${w}.${v}`))}return[{values:o,modifiers:s}]})}:Ni.test(t)?i=>{i.utilities.static(t,()=>structuredClone(r.nodes))}:null}function ur(r,t,i){for(let e of t.nodes){if(r.kind==="named"&&e.kind==="word"&&(e.value[0]==="'"||e.value[0]==='"')&&e.value[e.value.length-1]===e.value[0]&&e.value.slice(1,-1)===r.value)return{nodes:J(r.value)};if(r.kind==="named"&&e.kind==="word"&&e.value[0]==="-"&&e.value[1]==="-"){let o=e.value;if(o.endsWith("-*")){o=o.slice(0,-2);let s=i.theme.resolve(r.value,[o]);if(s)return{nodes:J(s)}}else{let s=o.split("-*");if(s.length<=1)continue;let l=[s.shift()],d=i.theme.resolveWith(r.value,l,s);if(d){let[,u={}]=d;{let f=u[s.pop()];if(f)return{nodes:J(f)}}}}}else if(r.kind==="named"&&e.kind==="word"){if(!kt.includes(e.value))continue;let o=e.value==="ratio"&&"fraction"in r?r.fraction:r.value;if(!o)continue;let s=H(o,[e.value]);if(s===null)continue;if(s==="ratio"){let[l,d]=L(o,"/");if(!E(l)||!E(d))continue}else{if(s==="number"&&!de(o))continue;if(s==="percentage"&&!E(o.slice(0,-1)))continue}return{nodes:J(o),ratio:s==="ratio"}}else if(r.kind==="arbitrary"&&e.kind==="word"&&e.value[0]==="["&&e.value[e.value.length-1]==="]"){let o=e.value.slice(1,-1);if(o==="*")return{nodes:J(r.value)};if("dataType"in r&&r.dataType&&r.dataType!==o)continue;if("dataType"in r&&r.dataType)return{nodes:J(r.value)};if(H(r.value,[o])!==null)return{nodes:J(r.value)}}}}function ue(r,t,i,e,o=""){let s=!1,l=Re(t,u=>i==null?e(u):u.startsWith("current")?e(Q(u,i)):((u.startsWith("var(")||i.startsWith("var("))&&(s=!0),e(fr(u,i))));function d(u){return o?L(u,",").map(f=>o+f).join(","):u}return s?[n(r,d(Re(t,e))),Y("@supports (color: lab(from red l a b))",[n(r,d(l))])]:[n(r,d(l))]}function Ye(r,t,i,e,o=""){let s=!1,l=L(t,",").map(d=>Re(d,u=>i==null?e(u):u.startsWith("current")?e(Q(u,i)):((u.startsWith("var(")||i.startsWith("var("))&&(s=!0),e(fr(u,i))))).map(d=>`drop-shadow(${d})`).join(" ");return s?[n(r,o+L(t,",").map(d=>`drop-shadow(${Re(d,e)})`).join(" ")),Y("@supports (color: lab(from red l a b))",[n(r,o+l)])]:[n(r,o+l)]}var bt={"--alpha":Ti,"--spacing":Ei,"--theme":Ri,theme:Pi};function Ti(r,t,i,...e){let[o,s]=L(i,"/").map(l=>l.trim());if(!o||!s)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${o||"var(--my-color)"} / ${s||"50%"})\``);if(e.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${o||"var(--my-color)"} / ${s||"50%"})\``);return Q(o,s)}function Ei(r,t,i,...e){if(!i)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(e.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${e.length+1}.`);let o=r.theme.resolve(null,["--spacing"]);if(!o)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${o} * ${i})`}function Ri(r,t,i,...e){if(!i.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let o=!1;i.endsWith(" inline")&&(o=!0,i=i.slice(0,-7)),t.kind==="at-rule"&&(o=!0);let s=r.resolveThemeValue(i,o);if(!s){if(e.length>0)return e.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${i})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(e.length===0)return s;let l=e.join(", ");if(l==="initial")return s;if(s==="initial")return l;if(s.startsWith("var(")||s.startsWith("theme(")||s.startsWith("--theme(")){let d=J(s);return Oi(d,l),Z(d)}return s}function Pi(r,t,i,...e){i=Ki(i);let o=r.resolveThemeValue(i);if(!o&&e.length>0)return e.join(", ");if(!o)throw new Error(`Could not resolve value for theme function: \`theme(${i})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);returnLine truncated
${ie([m])}
Relies on:
${ie([w])}`)}f.add(m);for(let w of s.get(m))for(let v of l.get(w))p.push(m),g(v,p),p.pop();d.add(m),f.delete(m),u.push(m)}}for(let m of o)g(m);for(let m of u)"nodes"in m&&j(m.nodes,(p,{replaceWith:w})=>{if(p.kind!=="at-rule"||p.name!=="@apply")return;let v=p.params.split(/(\s+)/g),y={},x=0;for(let[S,C]of v.entries())S%2===0&&(y[C]=x),x+=C.length;{let S=Object.keys(y),C=pe(S,t,{respectImportant:!1,onInvalidCandidate:_=>{if(t.theme.prefix&&!_.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${_}\`. Did you mean \`${t.theme.prefix}:${_}\`?`);if(t.invalidCandidates.has(_))throw new Error(`Cannot apply utility class \`${_}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let D=L(_,":");if(D.length>1){let G=D.pop();if(t.candidatesToCss([G])[0]){let K=t.candidatesToCss(D.map(q=>`${q}:[--tw-variant-check:1]`)),U=D.filter((q,M)=>K[M]===null);if(U.length>0){if(U.length===1)throw new Error(`Cannot apply utility class \`${_}\` because the ${U.map(q=>`\`${q}\``)} variant does not exist.`);{let q=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${_}\` because the ${q.format(U.map(M=>`\`${M}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${_}\`. Are you using CSS modules or similar and missing \`@reference\`? https://tailwindcss.com/docs/functions-and-directives#reference-directive`):new Error(`Cannot apply unknown utility class \`${_}\``)}}),b=p.src,O=C.astNodes.map(_=>{let D=C.nodeSorting.get(_)?.candidate,G=D?y[D]:void 0;if(_=structuredClone(_),!b||!D||G===void 0)return j([_],U=>{U.src=b}),_;let K=[b[0],b[1],b[2]];return K[1]+=7+G,K[2]=K[1]+D.length,j([_],U=>{U.src=K}),_}),R=[];for(let _ of O)if(_.kind==="rule")for(let D of _.nodes)R.push(D);else R.push(_);w(R)}});return i}function*Vr(r,t){for(let i of r.params.split(/\s+/g))for(let e of t.parseCandidate(i))switch(e.kind){case"arbitrary":break;case"static":case"functional":yield e.root;break;default:}}async function $t(r,t,i,e=0,o=!1){let s=0,l=[];return j(r,(d,{replaceWith:u})=>{if(d.kind==="at-rule"&&(d.name==="@import"||d.name==="@reference")){let f=Ii(J(d.params));if(f===null)return;d.name==="@reference"&&(f.media="reference"),s|=2;let{uri:g,layer:m,media:p,supports:w}=f;if(g.startsWith("data:")||g.startsWith("http://")||g.startsWith("https://"))return;let v=ae({},[]);return l.push((async()=>{if(e>100)throw new Error(`Exceeded maximum recursion depth while resolving \`${g}\` in \`${t}\`)`);let y=await i(g,t),x=me(y.content,{from:o?y.path:void 0});await $t(x,y.base,i,e+1,o),v.nodes=Li(d,[ae({base:y.base},x)],m,p,w)})()),u(v),1}}),l.length>0&&await Promise.all(l),s}function Ii(r){let t,i=null,e=null,o=null;for(let s=0;s<r.length;s++){let l=r[s];if(l.kind!=="separator"){if(l.kind==="word"&&!t){if(!l.value||l.value[0]!=='"'&&l.value[0]!=="'")return null;t=l.value.slice(1,-1);continue}if(l.kind==="function"&&l.value.toLowerCase()==="url"||!t)return null;if((l.kind==="word"||l.kind==="function")&&l.value.toLowerCase()==="layer"){if(i)return null;if(o)throw new Error("`layer(\u2026)` in an `@import` should come before any other functions or conditions");"nodes"in l?i=Z(l.nodes):i="";continue}if(l.kind==="function"&&l.value.toLowerCase()==="supports"){if(o)return null;o=Z(l.nodes);continue}e=Z(r.slice(s));break}}return t?{uri:t,layer:i,media:e,supports:o}:null}function Li(r,t,i,e,o){let s=t;if(i!==null){let l=z("@layer",i,s);l.src=r.src,s=[l]}if(e!==null){let l=z("@media",e,s);l.src=r.src,s=[l]}if(o!==null){let l=z("@supports",o[0]==="("?o:`(${o})`,s);l.src=r.src,s=[l]}return s}function Ve(r,t=null){return Array.isArray(r)&&r.length===2&&typeof r[1]=="object"&&typeof r[1]!==null?t?r[1][t]??null:r[0]:Array.isArray(r)&&t===null?r.join(", "):typeof r=="string"&&t===null?r:null}function $r(r,{theme:t},i){for(let e of i){let o=et([e]);o&&r.theme.clearNamespace(`--${o}`,4)}for(let[e,o]of Fi(t)){if(typeof o!="string"&&typeof o!="number")continue;if(typeof o=="string"&&(o=o.replace(/<alpha-value>/g,"1")),e[0]==="opacity"&&(typeof o=="number"||typeof o=="string")){let l=typeof o=="string"?parseFloat(o):o;l>=0&&l<=1&&(o=l*100+"%")}let s=et(e);s&&r.theme.add(`--${s}`,""+o,7)}if(Object.hasOwn(t,"fontFamily")){let e=5;{let o=Ve(t.fontFamily.sans);o&&r.theme.hasDefault("--font-sans")&&(r.theme.add("--default-font-family",o,e),r.theme.add("--default-font-feature-settings",Ve(t.fontFamily.sans,"fontFeatureSettings")??"normal",e),r.theme.add("--default-font-variation-settings",Ve(t.fontFamily.sans,"fontVariationSettings")??"normal",e))}{let o=Ve(t.fontFamily.mono);o&&r.theme.hasDefault("--font-mono")&&(r.theme.add("--default-mono-font-family",o,e),r.theme.add("--default-mono-font-feature-settings",Ve(t.fontFamily.mono,"fontFeatureSettings")??"normal",e),r.theme.add("--default-mono-font-variation-settings",Ve(t.fontFamily.mono,"fontVariationSettings")??"noLine truncated
`,`
`);let t=[],i=[],e=null,o="",s;for(let l=0;l<r.length;l++){let d=r.charCodeAt(l);switch(d){case Pr:case Kr:case Or:case Ur:case jr:case Ir:case Lr:{if(o.length>0){let p=_e(o);e?e.nodes.push(p):t.push(p),o=""}let u=l,f=l+1;for(;f<r.length&&(s=r.charCodeAt(f),!(s!==Pr&&s!==Kr&&s!==Or&&s!==Ur&&s!==jr&&s!==Ir&&s!==Lr));f++);l=f-1;let g=r.slice(u,f),m=g.trim()===","?Ji(g):qi(g);e?e.nodes.push(m):t.push(m);break}case Dr:{let u=Gi(o,[]);if(o="",u.value!==":not"&&u.value!==":where"&&u.value!==":has"&&u.value!==":is"){let f=l+1,g=0;for(let p=l+1;p<r.length;p++){if(s=r.charCodeAt(p),s===Dr){g++;continue}if(s===Rr){if(g===0){l=p;break}g--}}let m=l;u.nodes.push(Hi(r.slice(f,m))),o="",l=m,e?e.nodes.push(u):t.push(u);break}e?e.nodes.push(u):t.push(u),i.push(u),e=u;break}case Rr:{let u=i.pop();if(o.length>0){let f=_e(o);u.nodes.push(f),o=""}i.length>0?e=i[i.length-1]:e=null;break}case Xi:case Zi:case en:{if(o.length>0){let u=_e(o);e?e.nodes.push(u):t.push(u)}o=String.fromCharCode(d);break}case _r:{if(o.length>0){let g=_e(o);e?e.nodes.push(g):t.push(g)}o="";let u=l,f=0;for(let g=l+1;g<r.length;g++){if(s=r.charCodeAt(g),s===_r){f++;continue}if(s===Yi){if(f===0){l=g;break}f--}}o+=r.slice(u,l+1);break}case tn:case Qi:{let u=l;for(let f=l+1;f<r.length;f++)if(s=r.charCodeAt(f),s===Er)f+=1;else if(s===d){l=f;break}o+=r.slice(u,l+1);break}case Er:{let u=r.charCodeAt(l+1);o+=String.fromCharCode(d)+String.fromCharCode(u),l+=1;break}default:o+=String.fromCharCode(d)}}return o.length>0&&t.push(_e(o)),t}var Fr=/^[a-z@][a-zA-Z0-9/%._-]*$/;function Nt({designSystem:r,ast:t,resolvedConfig:i,featuresRef:e,referenceMode:o,src:s}){let l={addBase(d){if(o)return;let u=le(d);e.current|=xe(u,r);let f=z("@layer","base",u);j([f],g=>{g.src=s}),t.push(f)},addVariant(d,u){if(!Xe.test(d))throw new Error(`\`addVariant('${d}')\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`);if(typeof u=="string"){if(u.includes(":merge("))return}else if(Array.isArray(u)){if(u.some(g=>g.includes(":merge(")))return}else if(typeof u=="object"){let g=function(m,p){return Object.entries(m).some(([w,v])=>w.includes(p)||typeof v=="object"&&g(v,p))};var f=g;if(g(u,":merge("))return}typeof u=="string"||Array.isArray(u)?r.variants.static(d,g=>{g.nodes=zr(u,g.nodes)},{compounds:ye(typeof u=="string"?[u]:u)}):typeof u=="object"&&r.variants.fromAst(d,le(u),r)},matchVariant(d,u,f){function g(p,w,v){let y=u(p,{modifier:w?.value??null});return zr(y,v)}try{let p=u("a",{modifier:null});if(typeof p=="string"&&p.includes(":merge("))return;if(Array.isArray(p)&&p.some(w=>w.includes(":merge(")))return}catch{}let m=Object.keys(f?.values??{});r.variants.group(()=>{r.variants.functional(d,(p,w)=>{if(!w.value){if(f?.values&&"DEFAULT"in f.values){p.nodes=g(f.values.DEFAULT,w.modifier,p.nodes);return}return null}if(w.value.kind==="arbitrary")p.nodes=g(w.value.value,w.modifier,p.nodes);else if(w.value.kind==="named"&&f?.values){let v=f.values[w.value.value];if(typeof v!="string")return null;p.nodes=g(v,w.modifier,p.nodes)}else return null})},(p,w)=>{if(p.kind!=="functional"||w.kind!=="functional")return 0;let v=p.value?p.value.value:"DEFAULT",y=w.value?w.value.value:"DEFAULT",x=f?.values?.[v]??v,S=f?.values?.[y]??y;if(f&&typeof f.sort=="function")return f.sort({value:x,modifier:p.modifier?.value??null},{value:S,modifier:w.modifier?.value??null});let C=m.indexOf(v),b=m.indexOf(y);return C=C===-1?m.length:C,b=b===-1?m.length:b,C!==b?C-b:x<S?-1:1}),r.variants.suggest(d,()=>Object.keys(f?.values??{}).filter(p=>p!=="DEFAULT"))},addUtilities(d){d=Array.isArray(d)?d:[d];let u=d.flatMap(g=>Object.entries(g));u=u.flatMap(([g,m])=>L(g,",").map(p=>[p.trim(),m]));let f=new W(()=>[]);for(let[g,m]of u){if(g.startsWith("@keyframes ")){if(!o){let v=Y(g,le(m));j([v],y=>{y.src=s}),t.push(v)}continue}let p=it(g),w=!1;if(De(p,v=>{if(v.kind==="selector"&&v.value[0]==="."&&Fr.test(v.value.slice(1))){let y=v.value;v.value="&";let x=je(p),S=y.slice(1),C=x==="&"?le(m):[Y(x,le(m))];f.get(S).push(...C),w=!0,v.value=y;return}if(v.kind==="function"&&v.value===":not")return 1}),!w)throw new Error(`\`addUtilities({ '${g}' : \u2026 })\` defines an invalid utility selector. Utilities must be a single class name and start with a lowercase letter, eg. \`.scrollbar-none\`.`)}for(let[g,m]of f)r.theme.prefix&&j(m,p=>{if(p.kind==="rule"){let w=it(p.selector);De(w,v=>{v.kind==="selector"&&v.value[0]==="."&&(v.value=`.${r.theme.prefix}\\:${v.value.slice(1)}`)}),p.selector=je(w)}}),r.utilities.static(g,p=>{let w=structuredClone(m);return Mr(w,g,p.raw),e.current|=Ke(w,r),w})},matchUtilities(d,u){let f=u?.type?Array.isArray(u?.type)?u.type:[u.type]:["any"];for(let[m,p]of Object.entries(d)){let w=function({negative:v}){return y=>{if(y.value?.kind==="arbitrary"&&f.length>0&&!f.includes("any")&&(y.value.dataType&&!f.includes(y.value.dataType)||!y.value.dataType&&!H(y.value.value,f)))return;let x=f.includes("color"),S=null,C=!1;{let R=u?Line truncated
${ie([S])}
\`@plugin\` options must be a flat list of declarations.`);if(S.value===void 0)continue;let C=S.value,b=L(C,",").map(O=>{if(O=O.trim(),O==="null")return null;if(O==="true")return!0;if(O==="false")return!1;if(Number.isNaN(Number(O))){if(O[0]==='"'&&O[O.length-1]==='"'||O[0]==="'"&&O[O.length-1]==="'")return O.slice(1,-1);if(O[0]==="{"&&O[O.length-1]==="}")throw new Error(`Unexpected \`@plugin\` option: Value of declaration \`${ie([S]).trim()}\` is not supported.
Using an object as a plugin option is currently only supported in JavaScript configuration files.`)}else return Number(O);return O});x[S.property]=b.length===1?b[0]:b}l.push([{id:y,base:v.base,reference:!!v.reference,src:m.src},Object.keys(x).length>0?x:null]),w([]),s|=4;return}if(m.name==="@config"){if(m.nodes.length>0)throw new Error("`@config` cannot have a body.");if(p!==null)throw new Error("`@config` cannot be nested.");d.push({id:m.params.slice(1,-1),base:v.base,reference:!!v.reference,src:m.src}),w([]),s|=4;return}}}),Jr(r);let u=r.resolveThemeValue;if(r.resolveThemeValue=function(p,w){return p.startsWith("--")?u(p,w):(s|=Zr({designSystem:r,base:t,ast:i,sources:o,configs:[],pluginDetails:[]}),r.resolveThemeValue(p,w))},!l.length&&!d.length)return 0;let[f,g]=await Promise.all([Promise.all(d.map(async({id:m,base:p,reference:w,src:v})=>{let y=await e(m,p,"config");return{path:m,base:y.base,config:y.module,reference:w,src:v}})),Promise.all(l.map(async([{id:m,base:p,reference:w,src:v},y])=>{let x=await e(m,p,"plugin");return{path:m,base:x.base,plugin:x.module,options:y,reference:w,src:v}}))]);return s|=Zr({designSystem:r,base:t,ast:i,sources:o,configs:f,pluginDetails:g}),s}function Zr({designSystem:r,base:t,ast:i,sources:e,configs:o,pluginDetails:s}){let l=0,u=[...s.map(y=>{if(!y.options)return{config:{plugins:[y.plugin]},base:y.base,reference:y.reference,src:y.src};if("__isOptionsFunction"in y.plugin)return{config:{plugins:[y.plugin(y.options)]},base:y.base,reference:y.reference,src:y.src};throw new Error(`The plugin "${y.path}" does not accept options`)}),...o],{resolvedConfig:f}=Tt(r,[{config:Br(r.theme),base:t,reference:!0,src:void 0},...u,{config:{plugins:[Gr]},base:t,reference:!0,src:void 0}]),{resolvedConfig:g,replacedThemeKeys:m}=Tt(r,u),p={designSystem:r,ast:i,resolvedConfig:f,featuresRef:{set current(y){l|=y}}},w=Nt({...p,referenceMode:!1,src:void 0}),v=r.resolveThemeValue;r.resolveThemeValue=function(x,S){if(x[0]==="-"&&x[1]==="-")return v(x,S);let C=w.theme(x,void 0);if(Array.isArray(C)&&C.length===2)return C[0];if(Array.isArray(C))return C.join(", ");if(typeof C=="string")return C};for(let{handler:y,reference:x,src:S}of f.plugins){let C=Nt({...p,referenceMode:x??!1,src:S});y(C)}if($r(r,g,m),Wr(r,g,m),Yr(g,r),Hr(g,r),qr(g,r),!r.theme.prefix&&f.prefix){if(f.prefix.endsWith("-")&&(f.prefix=f.prefix.slice(0,-1),console.warn(`The prefix "${f.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only and is written as a variant before all utilities. We have fixed up the prefix for you. Remove the trailing \`-\` to silence this warning.`)),!fn.test(f.prefix))throw new Error(`The prefix "${f.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);r.theme.prefix=f.prefix}if(!r.important&&f.important===!0&&(r.important=!0),typeof f.important=="string"){let y=f.important;j(i,(x,{replaceWith:S,parent:C})=>{if(x.kind==="at-rule"&&!(x.name!=="@tailwind"||x.params!=="utilities"))return C?.kind==="rule"&&C.selector===y?2:(S(B(y,[x])),2)})}for(let y of f.blocklist)r.invalidCandidates.add(y);for(let y of f.content.files){if("raw"in y)throw new Error(`Error in the config file/plugin/preset. The \`content\` key contains a \`raw\` entry:
${JSON.stringify(y,null,2)}
This feature is not currently supported.`);let x=!1;y.pattern[0]=="!"&&(x=!0,y.pattern=y.pattern.slice(1)),e.push({...y,negated:x})}return l}function Xr(r){let t=[0];for(let o=0;o<r.length;o++)r.charCodeAt(o)===10&&t.push(o+1);function i(o){let s=0,l=t.length;for(;l>0;){let u=(l|0)>>1,f=s+u;t[f]<=o?(s=f+1,l=l-u-1):l=u}s-=1;let d=o-t[s];return{line:s+1,column:d}}function e({line:o,column:s}){o-=1,o=Math.min(Math.max(o,0),t.length-1);let l=t[o],d=t[o+1]??l;return Math.min(Math.max(l+s,0),d)}return{find:i,findOffset:e}}function ei({ast:r}){let t=new W(o=>Xr(o.code)),i=new W(o=>({url:o.file,content:o.code,ignore:!1})),e={file:null,sources:[],mappings:[]};j(r,o=>{if(!o.src||!o.dst)return;let s=i.get(o.src[0]);if(!s.content)return;let l=t.get(o.src[0]),d=t.get(o.dst[0]),u=s.content.slice(o.src[1],o.src[2]),f=0;for(let p of u.split(`
`)){if(p.trim()!==""){let w=l.find(o.src[1]+f),v=d.find(o.dst[1]);e.mappings.push({name:null,originalPosition:{source:s,...w},generatedPosition:v})}f+=p.length,f+=1}let g=l.find(o.src[2]),m=d.find(o.dst[2]);e.mappings.push({name:null,originalPosition:{source:s,...g},generatedPosition:m})});for(let o of t.keys())e.sources.push(i.get(o));return e.mappings.sort((o,s)=>o.generatedPosition.line-s.generatedPosition.line||o.generatedPosition.column-s.generatedPosition.column||(o.originalPosition?.line??0)-(s.originalPosition?.line??0)||(o.originalPosition?.column??0)-(s.originalPosition?.column??0)),e}var ti=/^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/;function nt(r){let t=r.indexOf("{");if(t===-1)return[r];let i=[],e=r.slice(0,t),o=r.slice(t),s=0,l=o.lastIndexOf("}");for(let m=0;m<o.length;m++){let p=o[m];if(p==="{")s++;else if(p==="}"&&(s--,s===0)){l=m;break}}if(l===-1)throw new Error(`The pattern \`${r}\` is not balanced.`);let d=o.slice(1,l),u=o.slice(l+1),f;cn(d)?f=pn(d):f=L(d,","),f=f.flatMap(m=>nt(m));let g=nt(u);for(let m of g)for(let p of f)i.push(e+p+m);return i}function cn(r){return ti.test(r)}function pn(r){let t=r.match(ti);if(!t)return[r];let[,i,e,o]=t,s=o?parseInt(o,10):void 0,l=[];if(/^-?\d+$/.test(i)&&/^-?\d+$/.test(e)){let d=parseInt(i,10),u=parseInt(e,10);if(s===void 0&&(s=d<=u?1:-1),s===0)throw new Error("Step cannot be zero in sequence expansion.");let f=d<u;f&&s<0&&(s=-s),!f&&s>0&&(s=-s);for(let g=d;f?g<=u:g>=u;g+=s)l.push(g.toString())}return l}function ri(r,t){let i=new Set,e=new Set,o=[];function s(l,d=[]){if(r.has(l)&&!i.has(l)){e.has(l)&&t.onCircularDependency?.(d,l),e.add(l);for(let u of r.get(l)??[])d.push(l),s(u,d),d.pop();i.add(l),e.delete(l),o.push(l)}}for(let l of r.keys())s(l);return o}var dn=/^[a-z]+$/,dt=(o=>(o[o.None=0]="None",o[o.AtProperty=1]="AtProperty",o[o.ColorMix=2]="ColorMix",o[o.All=3]="All",o))(dt||{});function mn(){throw new Error("No `loadModule` function provided to `compile`")}function gn(){throw new Error("No `loadStylesheet` function provided to `compile`")}function hn(r){let t=0,i=null;for(let e of L(r," "))e==="reference"?t|=2:e==="inline"?t|=1:e==="default"?t|=4:e==="static"?t|=8:e.startsWith("prefix(")&&e.endsWith(")")&&(i=e.slice(7,-1));return[t,i]}var Ae=(u=>(u[u.None=0]="None",u[u.AtApply=1]="AtApply",u[u.AtImport=2]="AtImport",u[u.JsPluginCompat=4]="JsPluginCompat",u[u.ThemeFunction=8]="ThemeFunction",u[u.Utilities=16]="Utilities",u[u.Variants=32]="Variants",u[u.AtTheme=64]="AtTheme",u))(Ae||{});async function ii(r,{base:t="",from:i,loadModule:e=mn,loadStylesheet:o=gn}={}){let s=0;r=[ae({base:t},r)],s|=await $t(r,t,o,0,i!==void 0);let l=null,d=new Be,u=new Map,f=new Map,g=[],m=null,p=null,w=[],v=[],y=[],x=[],S=null;j(r,(b,{parent:O,replaceWith:R,context:_})=>{if(b.kind==="at-rule"){if(b.name==="@tailwind"&&(b.params==="utilities"||b.params.startsWith("utilities"))){if(p!==null){R([]);return}if(_.reference){R([]);return}let D=L(b.params," ");for(let G of D)if(G.startsWith("source(")){let K=G.slice(7,-1);if(K==="none"){S=K;continue}if(K[0]==='"'&&K[K.length-1]!=='"'||K[0]==="'"&&K[K.length-1]!=="'"||K[0]!=="'"&&K[0]!=='"')throw new Error("`source(\u2026)` paths must be quoted.");S={base:_.sourceBase??_.base,pattern:K.slice(1,-1)}}p=b,s|=16}if(b.name==="@utility"){if(O!==null)throw new Error("`@utility` cannot be nested.");if(b.nodes.length===0)throw new Error(`\`@utility ${b.params}\` is empty. Utilities should include at least one property.`);let D=dr(b);if(D===null){if(!b.params.endsWith("-*")){if(b.params.endsWith("*"))throw new Error(`\`@utility ${b.params}\` defines an invalid utility name. A functional utility must end in \`-*\`.`);if(b.params.includes("*"))throw new Error(`\`@utility ${b.params}\` defines an invalid utility name. The dynamic portion marked by \`-*\` must appear once at the end.`)}throw new Error(`\`@utility ${b.params}\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter.`)}g.push(D)}if(b.name==="@source"){if(b.nodes.length>0)throw new Error("`@source` cannot have a body.");if(O!==null)throw new Error("`@source` cannot be nested.");let D=!1,G=!1,K=b.params;if(K[0]==="n"&&K.startsWith("not ")&&(D=!0,K=K.slice(4)),K[0]==="i"&&K.startsWith("inline(")&&(G=!0,K=K.slice(7,-1)),K[0]==='"'&&K[K.length-1]!=='"'||K[0]==="'"&&K[K.length-1]!=="'"||K[0]!=="'"&&K[0]!=='"')throw new Error("`@source` paths must be quoted.");let U=K.slice(1,-1);if(G){let q=D?x:y,M=L(U," ");for(let re of M)for(let a of nt(re))q.push(a)}else v.push({base:_.base,pattern:U,negated:D});R([]);return}if(b.name==="@variant"&&(O===null?b.nodes.length===0?b.name="@custom-variant":(j(b.nodes,D=>{if(D.kind==="at-rule"&&D.name==="@slot")return b.name="@custom-variant",2}),b.name==="@variant"&&w.push(b)):w.push(b)),b.name==="@custom-variant"){if(O!==null)throw new Error("`@custom-variant` cannot be nested.");R([]);let[D,G]=L(b.params," ");if(!Xe.test(D))throw new Error(`\`@custom-variant ${D}\` defines an invalid variant name. Variants Line truncated
`).map((q,M,re)=>`${M===0||M>=re.length-2?" ":">"} ${q}`).join(`
`);throw new Error(`\`@theme\` blocks must only contain custom properties or \`@keyframes\`.
${U}`)}),m?R([]):(m=B(":root, :host",[]),m.src=b.src,R([m])),1}}});let C=br(d);if(l&&(C.important=l),x.length>0)for(let b of x)C.invalidCandidates.add(b);s|=await Qr({designSystem:C,base:t,ast:r,loadModule:e,sources:v});for(let b of u.keys())C.variants.static(b,()=>{});for(let b of ri(f,{onCircularDependency(O,R){let _=ie(O.map((D,G)=>z("@custom-variant",D,[z("@variant",O[G+1]??R,[])]))).replaceAll(";"," { \u2026 }").replace(`@custom-variant ${R} {`,`@custom-variant ${R} { /* \u2190 */`);throw new Error(`Circular dependency detected in custom variants:
${_}`)}}))u.get(b)?.(C);for(let b of g)b(C);if(m){let b=[];for(let[R,_]of C.theme.entries()){if(_.options&2)continue;let D=n(fe(R),_.value);D.src=_.src,b.push(D)}let O=C.theme.getKeyframes();for(let R of O)r.push(ae({theme:!0},[F([R])]));m.nodes=[ae({theme:!0},b)]}if(s|=Ct(r,C),s|=xe(r,C),s|=Ke(r,C),p){let b=p;b.kind="context",b.context={}}return j(r,(b,{replaceWith:O})=>{if(b.kind==="at-rule")return b.name==="@utility"&&O([]),1}),{designSystem:C,ast:r,sources:v,root:S,utilitiesNode:p,features:s,inlineCandidates:y}}async function vn(r,t={}){let{designSystem:i,ast:e,sources:o,root:s,utilitiesNode:l,features:d,inlineCandidates:u}=await ii(r,t);e.unshift(We(`! tailwindcss v${Kt} | MIT License | https://tailwindcss.com `));function f(v){i.invalidCandidates.add(v)}let g=new Set,m=null,p=0,w=!1;for(let v of u)i.invalidCandidates.has(v)||(g.add(v),w=!0);return{sources:o,root:s,features:d,build(v){if(d===0)return r;if(!l)return m??=ve(e,i,t.polyfills),m;let y=w,x=!1;w=!1;let S=g.size;for(let b of v)if(!i.invalidCandidates.has(b))if(b[0]==="-"&&b[1]==="-"){let O=i.theme.markUsedVariable(b);y||=O,x||=O}else g.add(b),y||=g.size!==S;if(!y)return m??=ve(e,i,t.polyfills),m;let C=pe(g,i,{onInvalidCandidate:f}).astNodes;return t.from&&j(C,b=>{b.src??=l.src}),!x&&p===C.length?(m??=ve(e,i,t.polyfills),m):(p=C.length,l.nodes=C,m=ve(e,i,t.polyfills),m)}}}async function Ol(r,t={}){let i=me(r,{from:t.from}),e=await vn(i,t),o=i,s=r;return{...e,build(l){let d=e.build(l);return d===o||(s=ie(d,!!t.from),o=d),s},buildSourceMap(){return ei({ast:o})}}}async function _l(r,t={}){return(await ii(me(r),t)).designSystem}function wn(){throw new Error("It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install `@tailwindcss/postcss` and update your PostCSS configuration.")}export{dt as a,Ae as b,vn as c,Ol as d,_l as e,wn as f};
+295
View File
@@ -0,0 +1,295 @@
declare const _default: {
inherit: string;
current: string;
transparent: string;
black: string;
white: string;
slate: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
gray: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
zinc: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
neutral: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
stone: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
red: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
orange: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
amber: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
yellow: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
lime: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
green: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
emerald: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
teal: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
cyan: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
sky: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
blue: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
indigo: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
violet: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
purple: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
fuchsia: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
pink: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
rose: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
};
export { _default as _ };
+295
View File
@@ -0,0 +1,295 @@
declare const _default: {
inherit: string;
current: string;
transparent: string;
black: string;
white: string;
slate: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
gray: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
zinc: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
neutral: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
stone: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
red: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
orange: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
amber: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
yellow: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
lime: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
green: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
emerald: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
teal: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
cyan: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
sky: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
blue: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
indigo: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
violet: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
purple: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
fuchsia: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
pink: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
rose: {
'50': string;
'100': string;
'200': string;
'300': string;
'400': string;
'500': string;
'600': string;
'700': string;
'800': string;
'900': string;
'950': string;
};
};
export { _default as default };
+5
View File
@@ -0,0 +1,5 @@
import { _ as _default } from './colors-b_6i0Oi7.js';
export { _default as default };
+1
View File
@@ -0,0 +1 @@
"use strict";var l={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",9Line truncated
+1
View File
@@ -0,0 +1 @@
import{a}from"./chunk-HTB5LLOP.mjs";export{a as default};
+1147
View File
File diff suppressed because it is too large. Load diff
+1147
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -0,0 +1 @@
"use strict";var m=new Uint8Array(256);function d(e,c){let t=0,g=[],u=0,k=e.length,w=c.charCodeAt(0);for(let n=0;n<k;n++){let h=e.charCodeAt(n);if(t===0&&h===w){g.push(e.slice(u,n)),u=n+1;continue}switch(h){case 92:n+=1;break;case 39:case 34:for(;++n<k;){let x=e.charCodeAt(n);if(x===92){n+=1;continue}if(x===h)break}break;case 40:m[t]=41,t++;break;case 91:m[t]=93,t++;break;case 123:m[t]=125,t++;break;case 93:case 125:case 41:t>0&&h===m[t-1]&&t--;break}}return g.push(e.slice(u)),g}var l=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,z=new RegExp(`^${l.source}$`);var T=new RegExp(`^${l.source}%$`);var D=new RegExp(`^${l.source}s*/s*${l.source}$`);var A=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],I=new RegExp(`^${l.source}(${A.join("|")})$`);var C=["deg","rad","grad","turn"],F=new RegExp(`^${l.source}(${C.join("|")})$`);var H=new RegExp(`^${l.source} +${l.source} +${l.source}$`);function i(e){let c=Number(e);return Number.isInteger(c)&&c>=0&&String(c)===String(e)}var f={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(Line truncated
+1
View File
@@ -0,0 +1 @@
import{h as a}from"./chunk-G32FJCSR.mjs";import"./chunk-HTB5LLOP.mjs";export{a as default};
+6
View File
@@ -0,0 +1,6 @@
type Colors = {
[key: string | number]: string | Colors;
};
declare function flattenColorPalette(colors: Colors): Record<string, string>;
export { flattenColorPalette as default };
+6
View File
@@ -0,0 +1,6 @@
type Colors = {
[key: string | number]: string | Colors;
};
declare function flattenColorPalette(colors: Colors): Record<string, string>;
export { flattenColorPalette as default };
+3
View File
@@ -0,0 +1,3 @@
"use strict";function K(e){return{kind:"word",value:e}}function se(e,t){return{kind:"function",value:e,nodes:t}}function ue(e){return{kind:"separator",value:e}}function v(e,t,i=null){for(let r=0;r<e.length;r++){let n=e[r],o=!1,l=0,s=t(n,{parent:i,replaceWith(a){o||(o=!0,Array.isArray(a)?a.length===0?(e.splice(r,1),l=0):a.length===1?(e[r]=a[0],l=1):(e.splice(r,1,...a),l=a.length):e[r]=a)}})??0;if(o){s===0?r--:r+=l-1;continue}if(s===2)return 2;if(s!==1&&n.kind==="function"&&v(n.nodes,t,n)===2)return 2}}function h(e){let t="";for(let i of e)switch(i.kind){case"word":case"separator":{t+=i.value;break}case"function":t+=i.value+"("+h(i.nodes)+")"}return t}var W=92,ce=41,B=58,H=44,fe=34,q=61,G=62,Y=60,Z=10,pe=40,de=39,J=47,Q=32,X=9;function m(e){e=e.replaceAll(`\r
`,`
`);let t=[],i=[],r=null,n="",o;for(let l=0;l<e.length;l++){let s=e.charCodeAt(l);switch(s){case W:{n+=e[l]+e[l+1],l++;break}case B:case H:case q:case G:case Y:case Z:case J:case Q:case X:{if(n.length>0){let M=K(n);r?r.nodes.push(M):t.push(M),n=""}let a=l,u=l+1;for(;u<e.length&&(o=e.charCodeAt(u),!(o!==B&&o!==H&&o!==q&&o!==G&&o!==Y&&o!==Z&&o!==J&&o!==Q&&o!==X));u++);l=u-1;let j=ue(e.slice(a,u));r?r.nodes.push(j):t.push(j);break}case de:case fe:{let a=l;for(let u=l+1;u<e.length;u++)if(o=e.charCodeAt(u),o===W)u+=1;else if(o===s){l=u;break}n+=e.slice(a,l+1);break}case pe:{let a=se(n,[]);n="",r?r.nodes.push(a):t.push(a),i.push(a),r=a;break}case ce:{let a=i.pop();if(n.length>0){let u=K(n);a?.nodes.push(u),n=""}i.length>0?r=i[i.length-1]:r=null;break}default:n+=String.fromCharCode(s)}}return n.length>0&&t.push(K(n)),t}var f=class extends Map{constructor(i){super();this.factory=i}get(i){let r=super.get(i);return r===void 0&&(r=this.factory(i,this),this.set(i,r)),r}};var He=new Uint8Array(256);var T=new Uint8Array(256);function p(e,t){let i=0,r=[],n=0,o=e.length,l=t.charCodeAt(0);for(let s=0;s<o;s++){let a=e.charCodeAt(s);if(i===0&&a===l){r.push(e.slice(n,s)),n=s+1;continue}switch(a){case 92:s+=1;break;case 39:case 34:for(;++s<o;){let u=e.charCodeAt(s);if(u===92){s+=1;continue}if(u===a)break}break;case 40:T[i]=41,i++;break;case 91:T[i]=93,i++;break;case 123:T[i]=125,i++;break;case 93:case 125:case 41:i>0&&a===T[i-1]&&i--;break}}return r.push(e.slice(n)),r}var tt=new f(e=>{let t=m(e),i=new Set;return v(t,(r,{parent:n})=>{let o=n===null?t:n.nodes??[];if(r.kind==="word"&&(r.value==="+"||r.value==="-"||r.value==="*"||r.value==="/")){let l=o.indexOf(r)??-1;if(l===-1)return;let s=o[l-1];if(s?.kind!=="separator"||s.value!==" ")return;let a=o[l+1];if(a?.kind!=="separator"||a.value!==" ")return;i.add(s),i.add(a)}else r.kind==="separator"&&r.value.trim()==="/"?r.value="/":r.kind==="separator"&&r.value.length>0&&r.value.trim()===""?(o[0]===r||o[o.length-1]===r)&&i.add(r):r.kind==="separator"&&r.value.trim()===","&&(r.value=",")}),i.size>0&&v(t,(r,{replaceWith:n})=>{i.has(r)&&(i.delete(r),n([]))}),D(t),h(t)});var rt=new f(e=>{let t=m(e);return t.length===3&&t[0].kind==="word"&&t[0].value==="&"&&t[1].kind==="separator"&&t[1].value===":"&&t[2].kind==="function"&&t[2].value==="is"?h(t[2].nodes):e});function D(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=V(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=V(t.value);for(let i=0;i<t.nodes.length;i++)D([t.nodes[i]]);break}t.value=V(t.value),D(t.nodes);break}case"separator":t.value=V(t.value);break;case"word":{(t.value[0]!=="-"||t.value[1]!=="-")&&(t.value=V(t.value));break}default:me(t)}}var it=new f(e=>{let t=m(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function me(e){throw new Error(`Unexpected value: ${e}`)}function V(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var w=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,dt=new RegExp(`^${w.source}$`);var mt=new RegExp(`^${w.source}%$`);var gt=new RegExp(`^${w.source}s*/s*${w.source}$`);var ge=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],ht=new RegExp(`^${w.source}(${ge.join("|")})$`);var he=["deg","rad","grad","turn"],vt=new RegExp(`^${w.source}(${he.join("|")})$`);var wt=new RegExp(`^${w.source} +${w.source} +${w.source}$`);function d(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function N(e,t){if(t===null)return e;let i=Number(t);return Number.isNaN(i)||(t=`${i*100}%`),t==="100%"?e:`color-mix(in oklab, ${e} ${t}, transparent)`}var ke={"--alpha":ye,"--spacing":be,"--theme":xe,theme:Ae};function ye(e,t,i,...r){let[n,o]=p(i,"/").map(l=>l.trim());if(!n||!o)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${n||"var(--my-color)"} / ${o||"50%"})\``);if(r.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${n||"var(--my-color)"} / ${o||"50%"})\``);return N(n,o)}function be(e,t,i,...r){if(!i)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(r.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${r.length+1}.`);let n=e.theme.resolve(null,["--spacing"]);if(!n)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${n} * ${i})`}function xe(e,t,i,...r){if(!i.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let n=!1;i.endsWith(" inline")&&(n=!0,i=i.slice(0,-7)),t.kind==="at-rule"&&(n=!0);let o=e.resolveThemeValue(i,n);if(!o){if(r.length>0)return r.join(", ");throw new Error(`Could not resolve value f Line truncated
+1
View File
@@ -0,0 +1 @@
import"./chunk-MC3TVECV.mjs";import"./chunk-G32FJCSR.mjs";import"./chunk-HTB5LLOP.mjs";function i(r){let n={};for(let[e,t]of Object.entries(r??{}))if(e!=="__CSS_VALUES__")if(typeof t=="object"&&t!==null)for(let[o,f]of Object.entries(i(t)))n[`${e}${o==="DEFAULT"?"":`-${o}`}`]=f;else n[e]=t;if("__CSS_VALUES__"in r)for(let[e,t]of Object.entries(r.__CSS_VALUES__))(Number(t)&4)===0&&(n[e]=r[e]);return n}export{i as default};
+352
View File
@@ -0,0 +1,352 @@
import { S as SourceLocation, U as UserConfig, P as Plugin } from './types-WlZgYgM8.mjs';
import { V as Variant, C as Candidate } from './resolve-config-QUZ9b-Gn.mjs';
import './colors.mjs';
declare const enum ThemeOptions {
NONE = 0,
INLINE = 1,
REFERENCE = 2,
DEFAULT = 4,
STATIC = 8,
USED = 16
}
declare class Theme {
#private;
private values;
private keyframes;
prefix: string | null;
constructor(values?: Map<string, {
value: string;
options: ThemeOptions;
src: Declaration["src"];
}>, keyframes?: Set<AtRule>);
get size(): number;
add(key: string, value: string, options?: ThemeOptions, src?: Declaration['src']): void;
keysInNamespaces(themeKeys: Iterable<ThemeKey>): string[];
get(themeKeys: ThemeKey[]): string | null;
hasDefault(key: string): boolean;
getOptions(key: string): ThemeOptions;
entries(): IterableIterator<[string, {
value: string;
options: ThemeOptions;
src: Declaration["src"];
}]> | [string, {
value: string;
options: ThemeOptions;
src: Declaration["src"];
}][];
prefixKey(key: string): string;
clearNamespace(namespace: string, clearOptions: ThemeOptions): void;
markUsedVariable(themeKey: string): boolean;
resolve(candidateValue: string | null, themeKeys: ThemeKey[], options?: ThemeOptions): string | null;
resolveValue(candidateValue: string | null, themeKeys: ThemeKey[]): string | null;
resolveWith(candidateValue: string, themeKeys: ThemeKey[], nestedKeys?: `--${string}`[]): [string, Record<string, string>] | null;
namespace(namespace: string): Map<string | null, string>;
addKeyframes(value: AtRule): void;
getKeyframes(): AtRule[];
}
type ThemeKey = `--${string}`;
type VariantFn<T extends Variant['kind']> = (rule: Rule, variant: Extract<Variant, {
kind: T;
}>) => null | void;
type CompareFn = (a: Variant, z: Variant) => number;
declare const enum Compounds {
Never = 0,
AtRules = 1,
StyleRules = 2
}
declare class Variants {
compareFns: Map<number, CompareFn>;
variants: Map<string, {
kind: Variant["kind"];
order: number;
applyFn: VariantFn<any>;
compoundsWith: Compounds;
compounds: Compounds;
}>;
private completions;
/**
* Registering a group of variants should result in the same sort number for
* all the variants. This is to ensure that the variants are applied in the
* correct order.
*/
private groupOrder;
/**
* Keep track of the last sort order instead of using the size of the map to
* avoid unnecessarily skipping order numbers.
*/
private lastOrder;
static(name: string, applyFn: VariantFn<'static'>, { compounds, order }?: {
compounds?: Compounds;
order?: number;
}): void;
fromAst(name: string, ast: AstNode[], designSystem: DesignSystem): void;
functional(name: string, applyFn: VariantFn<'functional'>, { compounds, order }?: {
compounds?: Compounds;
order?: number;
}): void;
compound(name: string, compoundsWith: Compounds, applyFn: VariantFn<'compound'>, { compounds, order }?: {
compounds?: Compounds;
order?: number;
}): void;
group(fn: () => void, compareFn?: CompareFn): void;
has(name: string): boolean;
get(name: string): {
kind: Variant["kind"];
order: number;
applyFn: VariantFn<any>;
compoundsWith: Compounds;
compounds: Compounds;
} | undefined;
kind(name: string): "arbitrary" | "static" | "functional" | "compound";
compoundsWith(parent: string, child: string | Variant): boolean;
suggest(name: string, suggestions: () => string[]): void;
getCompletions(name: string): string[];
compare(a: Variant | null, z: Variant | null): number;
keys(): IterableIterator<string>;
entries(): IterableIterator<[string, {
kind: Variant["kind"];
order: number;
applyFn: VariantFn<any>;
compoundsWith: Compounds;
compounds: Compounds;
}]>;
private set;
private nextOrder;
}
declare function compileAstNodes(candidate: Candidate, designSystem: DesignSystem, flags: CompileAstFlags): {
node: AstNode;
propertySort: {
order: number[];
count: number;
};
}[];
interface ClassMetadata {
modifiers: string[];
}
type ClassEntry = [string, ClassMetadata];
interface SelectorOptions {
modifier?: string;
value?: string;
}
interface VariantEntry {
name: string;
isArbitrary: boolean;
values: string[];
hasDash: boolean;
selectors: (options: SelectorOptions) => string[];
}
type CompileFn<T extends Candidate['kind']> = (value: Extract<Candidate, {
kind: T;
}>) => AstNode[] | undefined | null;
interface SuggestionGroup {
supportsNegative?: boolean;
values: (string | null)[];
modifiers: string[];
}
type UtilityOptions = {
types: string[];
};
type Utility = {
kind: 'static' | 'functional';
compileFn: CompileFn<any>;
options?: UtilityOptions;
};
declare class Utilities {
private utilities;
private completions;
static(name: string, compileFn: CompileFn<'static'>): void;
functional(name: string, compileFn: CompileFn<'functional'>, options?: UtilityOptions): void;
has(name: string, kind: 'static' | 'functional'): boolean;
get(name: string): Utility[];
getCompletions(name: string): SuggestionGroup[];
suggest(name: string, groups: () => SuggestionGroup[]): void;
keys(kind: 'static' | 'functional'): string[];
}
declare const enum CompileAstFlags {
None = 0,
RespectImportant = 1
}
type DesignSystem = {
theme: Theme;
utilities: Utilities;
variants: Variants;
invalidCandidates: Set<string>;
important: boolean;
getClassOrder(classes: string[]): [string, bigint | null][];
getClassList(): ClassEntry[];
getVariants(): VariantEntry[];
parseCandidate(candidate: string): Readonly<Candidate>[];
parseVariant(variant: string): Readonly<Variant> | null;
compileAstNodes(candidate: Candidate, flags?: CompileAstFlags): ReturnType<typeof compileAstNodes>;
printCandidate(candidate: Candidate): string;
printVariant(variant: Variant): string;
getVariantOrder(): Map<Variant, number>;
resolveThemeValue(path: string, forceInline?: boolean): string | undefined;
trackUsedVariables(raw: string): void;
candidatesToCss(classes: string[]): (string | null)[];
};
type StyleRule = {
kind: 'rule';
selector: string;
nodes: AstNode[];
src?: SourceLocation;
dst?: SourceLocation;
};
type AtRule = {
kind: 'at-rule';
name: string;
params: string;
nodes: AstNode[];
src?: SourceLocation;
dst?: SourceLocation;
};
type Declaration = {
kind: 'declaration';
property: string;
value: string | undefined;
important: boolean;
src?: SourceLocation;
dst?: SourceLocation;
};
type Comment = {
kind: 'comment';
value: string;
src?: SourceLocation;
dst?: SourceLocation;
};
type Context = {
kind: 'context';
context: Record<string, string | boolean>;
nodes: AstNode[];
src?: undefined;
dst?: undefined;
};
type AtRoot = {
kind: 'at-root';
nodes: AstNode[];
src?: undefined;
dst?: undefined;
};
type Rule = StyleRule | AtRule;
type AstNode = StyleRule | AtRule | Declaration | Comment | Context | AtRoot;
/**
* Line offset tables are the key to generating our source maps. They allow us
* to store indexes with our AST nodes and later convert them into positions as
* when given the source that the indexes refer to.
*/
/**
* A position in source code
*
* https://tc39.es/ecma426/#sec-position-record-type
*/
interface Position {
/** The line number, one-based */
line: number;
/** The column/character number, one-based */
column: number;
}
interface OriginalPosition extends Position {
source: DecodedSource;
}
/**
* A "decoded" sourcemap
*
* @see https://tc39.es/ecma426/#decoded-source-map-record
*/
interface DecodedSourceMap {
file: string | null;
sources: DecodedSource[];
mappings: DecodedMapping[];
}
/**
* A "decoded" source
*
* @see https://tc39.es/ecma426/#decoded-source-record
*/
interface DecodedSource {
url: string | null;
content: string | null;
ignore: boolean;
}
/**
* A "decoded" mapping
*
* @see https://tc39.es/ecma426/#decoded-mapping-record
*/
interface DecodedMapping {
originalPosition: OriginalPosition | null;
generatedPosition: Position;
name: string | null;
}
type Config = UserConfig;
declare const enum Polyfills {
None = 0,
AtProperty = 1,
ColorMix = 2,
All = 3
}
type CompileOptions = {
base?: string;
from?: string;
polyfills?: Polyfills;
loadModule?: (id: string, base: string, resourceHint: 'plugin' | 'config') => Promise<{
path: string;
base: string;
module: Plugin | Config;
}>;
loadStylesheet?: (id: string, base: string) => Promise<{
path: string;
base: string;
content: string;
}>;
};
type Root = null | 'none' | {
base: string;
pattern: string;
};
declare const enum Features {
None = 0,
AtApply = 1,
AtImport = 2,
JsPluginCompat = 4,
ThemeFunction = 8,
Utilities = 16,
Variants = 32,
AtTheme = 64
}
declare function compileAst(input: AstNode[], opts?: CompileOptions): Promise<{
sources: {
base: string;
pattern: string;
negated: boolean;
}[];
root: Root;
features: Features;
build(candidates: string[]): AstNode[];
}>;
declare function compile(css: string, opts?: CompileOptions): Promise<{
sources: {
base: string;
pattern: string;
negated: boolean;
}[];
root: Root;
features: Features;
build(candidates: string[]): string;
buildSourceMap(): DecodedSourceMap;
}>;
declare function __unstable__loadDesignSystem(css: string, opts?: CompileOptions): Promise<DesignSystem>;
declare function postcssPluginWarning(): void;
export { type Config, type DecodedSourceMap, Features, Polyfills, __unstable__loadDesignSystem, compile, compileAst, postcssPluginWarning as default };
+3
View File
@@ -0,0 +1,3 @@
declare function postcssPluginWarning(): void;
export { postcssPluginWarning as default };
+37
View File
@@ -0,0 +1,37 @@
"use strict";var Ci=Object.defineProperty;var $i=(e,r)=>{for(var i in r)Ci(e,i,{get:r[i],enumerable:!0})};var vt={};$i(vt,{Features:()=>Ae,Polyfills:()=>tt,__unstable__loadDesignSystem:()=>po,compile:()=>fo,compileAst:()=>Ai,default:()=>We});var Wt="4.1.14";var Pe=92,Be=47,qe=42,Bt=34,qt=39,Vi=58,Ge=59,oe=10,Ye=13,Oe=32,He=9,Ht=123,kt=125,xt=40,Gt=41,Si=91,Ei=93,Yt=45,yt=64,Ti=33;function ve(e,r){let i=r?.from?{file:r.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let t=[],n=[],s=[],a=null,p=null,u="",c="",m=0,g;for(let d=0;d<e.length;d++){let w=e.charCodeAt(d);if(!(w===Ye&&(g=e.charCodeAt(d+1),g===oe)))if(w===Pe)u===""&&(m=d),u+=e.slice(d,d+2),d+=1;else if(w===Be&&e.charCodeAt(d+1)===qe){let v=d;for(let x=d+2;x<e.length;x++)if(g=e.charCodeAt(x),g===Pe)x+=1;else if(g===qe&&e.charCodeAt(x+1)===Be){d=x+1;break}let k=e.slice(v,d+1);if(k.charCodeAt(2)===Ti){let x=Ze(k.slice(2,-2));n.push(x),i&&(x.src=[i,v,d+1],x.dst=[i,v,d+1])}}else if(w===qt||w===Bt){let v=Zt(e,d,w);u+=e.slice(d,v+1),d=v}else{if((w===Oe||w===oe||w===He)&&(g=e.charCodeAt(d+1))&&(g===Oe||g===oe||g===He||g===Ye&&(g=e.charCodeAt(d+2))&&g==oe))continue;if(w===oe){if(u.length===0)continue;g=u.charCodeAt(u.length-1),g!==Oe&&g!==oe&&g!==He&&(u+=" ")}else if(w===Yt&&e.charCodeAt(d+1)===Yt&&u.length===0){let v="",k=d,x=-1;for(let C=d+2;C<e.length;C++)if(g=e.charCodeAt(C),g===Pe)C+=1;else if(g===qt||g===Bt)C=Zt(e,C,g);else if(g===Be&&e.charCodeAt(C+1)===qe){for(let b=C+2;b<e.length;b++)if(g=e.charCodeAt(b),g===Pe)b+=1;else if(g===qe&&e.charCodeAt(b+1)===Be){C=b+1;break}}else if(x===-1&&g===Vi)x=u.length+C-k;else if(g===Ge&&v.length===0){u+=e.slice(k,C),d=C;break}else if(g===xt)v+=")";else if(g===Si)v+="]";else if(g===Ht)v+="}";else if((g===kt||e.length-1===C)&&v.length===0){d=C-1,u+=e.slice(k,C);break}else(g===Gt||g===Ei||g===kt)&&v.length>0&&e[C]===v[v.length-1]&&(v=v.slice(0,-1));let S=bt(u,x);if(!S)throw new Error("Invalid custom property, expected a value");i&&(S.src=[i,k,d],S.dst=[i,k,d]),a?a.nodes.push(S):t.push(S),u=""}else if(w===Ge&&u.charCodeAt(0)===yt)p=_e(u),i&&(p.src=[i,m,d],p.dst=[i,m,d]),a?a.nodes.push(p):t.push(p),u="",p=null;else if(w===Ge&&c[c.length-1]!==")"){let v=bt(u);if(!v){if(u.length===0)continue;throw new Error(`Invalid declaration: \`${u.trim()}\``)}i&&(v.src=[i,m,d],v.dst=[i,m,d]),a?a.nodes.push(v):t.push(v),u=""}else if(w===Ht&&c[c.length-1]!==")")c+="}",p=Y(u.trim()),i&&(p.src=[i,m,d],p.dst=[i,m,d]),a&&a.nodes.push(p),s.push(a),a=p,u="",p=null;else if(w===kt&&c[c.length-1]!==")"){if(c==="")throw new Error("Missing opening {");if(c=c.slice(0,-1),u.length>0)if(u.charCodeAt(0)===yt)p=_e(u),i&&(p.src=[i,m,d],p.dst=[i,m,d]),a?a.nodes.push(p):t.push(p),u="",p=null;else{let k=u.indexOf(":");if(a){let x=bt(u,k);if(!x)throw new Error(`Invalid declaration: \`${u.trim()}\``);i&&(x.src=[i,m,d],x.dst=[i,m,d]),a.nodes.push(x)}}let v=s.pop()??null;v===null&&a&&t.push(a),a=v,u="",p=null}else if(w===xt)c+=")",u+="(";else if(w===Gt){if(c[c.length-1]!==")")throw new Error("Missing opening (");c=c.slice(0,-1),u+=")"}else{if(u.length===0&&(w===Oe||w===oe||w===He))continue;u===""&&(m=d),u+=String.fromCharCode(w)}}}if(u.charCodeAt(0)===yt){let d=_e(u);i&&(d.src=[i,m,e.length],d.dst=[i,m,e.length]),t.push(d)}if(c.length>0&&a){if(a.kind==="rule")throw new Error(`Missing closing } at ${a.selector}`);if(a.kind==="at-rule")throw new Error(`Missing closing } at ${a.name} ${a.params}`)}return n.length>0?n.concat(t):t}function _e(e,r=[]){let i=e,t="";for(let n=5;n<e.length;n++){let s=e.charCodeAt(n);if(s===Oe||s===xt){i=e.slice(0,n),t=e.slice(n);break}}return F(i.trim(),t.trim(),r)}function bt(e,r=e.indexOf(":")){if(r===-1)return null;let i=e.indexOf("!important",r+1);return o(e.slice(0,r).trim(),e.slice(r+1,i===-1?e.length:i).trim(),i!==-1)}function Zt(e,r,i){let t;for(let n=r+1;n<e.length;n++)if(t=e.charCodeAt(n),t===Pe)n+=1;else{if(t===i)return n;if(t===Ge&&(e.charCodeAt(n+1)===oe||e.charCodeAt(n+1)===Ye&&e.charCodeAt(n+2)===oe))throw new Error(`Unterminated string: ${e.slice(r,n+1)+String.fromCharCode(i)}`);if(t===oe||t===Ye&&e.charCodeAt(n+1)===oe)throw new Error(`Unterminated string: ${e.slice(r,n)+String.fromCharCode(i)}`)}return r}function de(e){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),i=r.length,t=-1,n,s="",a=r.charCodeAt(0);if(i===1&&a===45)return"\\"+r;for(;++t<i;){if(n=r.charCodeAt(t),n===0){s+="\uFFFD";continue}if(n>=1&&n<=31||n===127||t===0&&n>=48&&n<=57||t===1&&n>=48&&n<=57&&a===45){s+="\\"+n.toString(16)+" ";continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){s+=r.charAt(t);continue}s+="\\"+r.charAt(t)}return s}function we(e){return e.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,r=>r.length>2?String.fromCodePoint(Number.parseInt(r.slice(1).trim(),16)):r[1])}var Qt=new Map([["--font",["--font-weight","--font-size"]],["--inset",["--inset-shadow","--inset-ring"]],["--text",["--text-color","--text-decoration-color","--text-decoration-thickness","--Line truncated
`,`
`);let r=[],i=[],t=null,n="",s;for(let a=0;a<e.length;a++){let p=e.charCodeAt(a);switch(p){case Xt:{n+=e[a]+e[a+1],a++;break}case er:case tr:case rr:case ir:case nr:case or:case lr:case ar:case sr:{if(n.length>0){let g=Ct(n);t?t.nodes.push(g):r.push(g),n=""}let u=a,c=a+1;for(;c<e.length&&(s=e.charCodeAt(c),!(s!==er&&s!==tr&&s!==rr&&s!==ir&&s!==nr&&s!==or&&s!==lr&&s!==ar&&s!==sr));c++);a=c-1;let m=Pi(e.slice(u,c));t?t.nodes.push(m):r.push(m);break}case Ki:case _i:{let u=a;for(let c=a+1;c<e.length;c++)if(s=e.charCodeAt(c),s===Xt)c+=1;else if(s===p){a=c;break}n+=e.slice(u,a+1);break}case Di:{let u=Ri(n,[]);n="",t?t.nodes.push(u):r.push(u),i.push(u),t=u;break}case Oi:{let u=i.pop();if(n.length>0){let c=Ct(n);u?.nodes.push(c),n=""}i.length>0?t=i[i.length-1]:t=null;break}default:n+=String.fromCharCode(p)}}return n.length>0&&r.push(Ct(n)),r}function Qe(e){let r=[];return ee(G(e),i=>{if(!(i.kind!=="function"||i.value!=="var"))return ee(i.nodes,t=>{t.kind!=="word"||t.value[0]!=="-"||t.value[1]!=="-"||r.push(t.value)}),1}),r}var Li=64;function B(e,r=[]){return{kind:"rule",selector:e,nodes:r}}function F(e,r="",i=[]){return{kind:"at-rule",name:e,params:r,nodes:i}}function Y(e,r=[]){return e.charCodeAt(0)===Li?_e(e,r):B(e,r)}function o(e,r,i=!1){return{kind:"declaration",property:e,value:r,important:i}}function Ze(e){return{kind:"comment",value:e}}function se(e,r){return{kind:"context",context:e,nodes:r}}function z(e){return{kind:"at-root",nodes:e}}function L(e,r,i=[],t={}){for(let n=0;n<e.length;n++){let s=e[n],a=i[i.length-1]??null;if(s.kind==="context"){if(L(s.nodes,r,i,{...t,...s.context})===2)return 2;continue}i.push(s);let p=!1,u=0,c=r(s,{parent:a,context:t,path:i,replaceWith(m){p||(p=!0,Array.isArray(m)?m.length===0?(e.splice(n,1),u=0):m.length===1?(e[n]=m[0],u=1):(e.splice(n,1,...m),u=m.length):(e[n]=m,u=1))}})??0;if(i.pop(),p){c===0?n--:n+=u-1;continue}if(c===2)return 2;if(c!==1&&"nodes"in s){i.push(s);let m=L(s.nodes,r,i,t);if(i.pop(),m===2)return 2}}}function Xe(e,r,i=[],t={}){for(let n=0;n<e.length;n++){let s=e[n],a=i[i.length-1]??null;if(s.kind==="rule"||s.kind==="at-rule")i.push(s),Xe(s.nodes,r,i,t),i.pop();else if(s.kind==="context"){Xe(s.nodes,r,i,{...t,...s.context});continue}i.push(s),r(s,{parent:a,context:t,path:i,replaceWith(p){Array.isArray(p)?p.length===0?e.splice(n,1):p.length===1?e[n]=p[0]:e.splice(n,1,...p):e[n]=p,n+=p.length-1}}),i.pop()}}function ye(e,r,i=3){let t=[],n=new Set,s=new W(()=>new Set),a=new W(()=>new Set),p=new Set,u=new Set,c=[],m=[],g=new W(()=>new Set);function d(v,k,x={},S=0){if(v.kind==="declaration"){if(v.property==="--tw-sort"||v.value===void 0||v.value===null)return;if(x.theme&&v.property[0]==="-"&&v.property[1]==="-"){if(v.value==="initial"){v.value=void 0;return}x.keyframes||s.get(k).add(v)}if(v.value.includes("var("))if(x.theme&&v.property[0]==="-"&&v.property[1]==="-")for(let C of Qe(v.value))g.get(C).add(v.property);else r.trackUsedVariables(v.value);if(v.property==="animation")for(let C of ur(v.value))u.add(C);i&2&&v.value.includes("color-mix(")&&a.get(k).add(v),k.push(v)}else if(v.kind==="rule"){let C=[];for(let R of v.nodes)d(R,C,x,S+1);let b={},_=new Set;for(let R of C){if(R.kind!=="declaration")continue;let D=`${R.property}:${R.value}:${R.important}`;b[D]??=[],b[D].push(R)}for(let R in b)for(let D=0;D<b[R].length-1;++D)_.add(b[R][D]);if(_.size>0&&(C=C.filter(R=>!_.has(R))),C.length===0)return;v.selector==="&"?k.push(...C):k.push({...v,nodes:C})}else if(v.kind==="at-rule"&&v.name==="@property"&&S===0){if(n.has(v.params))return;if(i&1){let b=v.params,_=null,R=!1;for(let K of v.nodes)K.kind==="declaration"&&(K.property==="initial-value"?_=K.value:K.property==="inherits"&&(R=K.value==="true"));let D=o(b,_??"initial");D.src=v.src,R?c.push(D):m.push(D)}n.add(v.params);let C={...v,nodes:[]};for(let b of v.nodes)d(b,C.nodes,x,S+1);k.push(C)}else if(v.kind==="at-rule"){v.name==="@keyframes"&&(x={...x,keyframes:!0});let C={...v,nodes:[]};for(let b of v.nodes)d(b,C.nodes,x,S+1);v.name==="@keyframes"&&x.theme&&p.add(C),(C.nodes.length>0||C.name==="@layer"||C.name==="@charset"||C.name==="@custom-media"||C.name==="@namespace"||C.name==="@import")&&k.push(C)}else if(v.kind==="at-root")for(let C of v.nodes){let b=[];d(C,b,x,0);for(let _ of b)t.push(_)}else if(v.kind==="context"){if(v.context.reference)return;for(let C of v.nodes)d(C,k,{...x,...v.context},S)}else v.kind==="comment"&&k.push(v)}let w=[];for(let v of e)d(v,w,{},0);e:for(let[v,k]of s)for(let x of k){if(cr(x.property,r.theme,g)){if(x.property.startsWith(r.theme.prefixKey("--animate-")))for(let b of ur(x.value))u.add(b);continue}let C=v.indexOf(x);if(v.splice(C,1),v.length===0){let b=Ii(w,_=>_.kind==="rule"&&_.nodes===v);if(!b||b.length===0)continue e;b.unshift({kind:"at-root",nodes:w});do{let _=b.pop();if(!_)break;let R=b[b.length-1];if(!R||R.kind!=="at-root"&&R.kind!=="at-rule")break;let D=R.nodes.indexOf(_);if(D===-1)break;R.nodes.splice(D,1)}while(!0);continue e}}for(let v of p)if(!u.has(v.params)){let k=t.indexOf Line truncated
`,r){i+=c.length;let m=i;i+=a.property.length,i+=2,i+=a.value?.length??0,a.important&&(i+=11);let g=i;i+=2,a.dst=[t,m,g]}}else if(a.kind==="rule"){if(u+=`${c}${a.selector} {
`,r){i+=c.length;let m=i;i+=a.selector.length,i+=1;let g=i;a.dst=[t,m,g],i+=2}for(let m of a.nodes)u+=n(m,p+1);u+=`${c}}
`,r&&(i+=c.length,i+=2)}else if(a.kind==="at-rule"){if(a.nodes.length===0){let m=`${c}${a.name} ${a.params};
`;if(r){i+=c.length;let g=i;i+=a.name.length,i+=1,i+=a.params.length;let d=i;i+=2,a.dst=[t,g,d]}return m}if(u+=`${c}${a.name}${a.params?` ${a.params} `:" "}{
`,r){i+=c.length;let m=i;i+=a.name.length,a.params&&(i+=1,i+=a.params.length),i+=1;let g=i;a.dst=[t,m,g],i+=2}for(let m of a.nodes)u+=n(m,p+1);u+=`${c}}
`,r&&(i+=c.length,i+=2)}else if(a.kind==="comment"){if(u+=`${c}/*${a.value}*/
`,r){i+=c.length;let m=i;i+=2+a.value.length+2;let g=i;a.dst=[t,m,g],i+=1}}else if(a.kind==="context"||a.kind==="at-root")return"";return u}let s="";for(let a of e)s+=n(a,0);return t.code=s,s}function Ii(e,r){let i=[];return L(e,(t,{path:n})=>{if(r(t))return i=[...n],2}),i}function cr(e,r,i,t=new Set){if(t.has(e)||(t.add(e),r.getOptions(e)&24))return!0;{let s=i.get(e)??[];for(let a of s)if(cr(a,r,i,t))return!0}return!1}function ur(e){return e.split(/[\s,]+/)}var $t=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"];function De(e){return e.indexOf("(")!==-1&&$t.some(r=>e.includes(`${r}(`))}function fr(e){if(!$t.some(s=>e.includes(s)))return e;let r="",i=[],t=null,n=null;for(let s=0;s<e.length;s++){let a=e.charCodeAt(s);if(a>=48&&a<=57||t!==null&&(a===37||a>=97&&a<=122||a>=65&&a<=90)?t=s:(n=t,t=null),a===40){r+=e[s];let p=s;for(let c=s-1;c>=0;c--){let m=e.charCodeAt(c);if(m>=48&&m<=57)p=c;else if(m>=97&&m<=122)p=c;else break}let u=e.slice(p,s);if($t.includes(u)){i.unshift(!0);continue}else if(i[0]&&u===""){i.unshift(!0);continue}i.unshift(!1);continue}else if(a===41)r+=e[s],i.shift();else if(a===44&&i[0]){r+=", ";continue}else{if(a===32&&i[0]&&r.charCodeAt(r.length-1)===32)continue;if((a===43||a===42||a===47||a===45)&&i[0]){let p=r.trimEnd(),u=p.charCodeAt(p.length-1),c=p.charCodeAt(p.length-2),m=e.charCodeAt(s+1);if((u===101||u===69)&&c>=48&&c<=57){r+=e[s];continue}else if(u===43||u===42||u===47||u===45){r+=e[s];continue}else if(u===40||u===44){r+=e[s];continue}else e.charCodeAt(s-1)===32?r+=`${e[s]} `:u>=48&&u<=57||m>=48&&m<=57||u===41||m===40||m===43||m===42||m===47||m===45||n!==null&&n===s-1?r+=` ${e[s]} `:r+=e[s]}else r+=e[s]}}return r}function me(e){if(e.indexOf("(")===-1)return Ne(e);let r=G(e);return Nt(r),e=J(r),e=fr(e),e}function Ne(e,r=!1){let i="";for(let t=0;t<e.length;t++){let n=e[t];n==="\\"&&e[t+1]==="_"?(i+="_",t+=1):n==="_"&&!r?i+=" ":i+=n}return i}function Nt(e){for(let r of e)switch(r.kind){case"function":{if(r.value==="url"||r.value.endsWith("_url")){r.value=Ne(r.value);break}if(r.value==="var"||r.value.endsWith("_var")||r.value==="theme"||r.value.endsWith("_theme")){r.value=Ne(r.value);for(let i=0;i<r.nodes.length;i++){if(i==0&&r.nodes[i].kind==="word"){r.nodes[i].value=Ne(r.nodes[i].value,!0);continue}Nt([r.nodes[i]])}break}r.value=Ne(r.value),Nt(r.nodes);break}case"separator":case"word":{r.value=Ne(r.value);break}default:ji(r)}}function ji(e){throw new Error(`Unexpected value: ${e}`)}var Vt=new Uint8Array(256);function ce(e){let r=0,i=e.length;for(let t=0;t<i;t++){let n=e.charCodeAt(t);switch(n){case 92:t+=1;break;case 39:case 34:for(;++t<i;){let s=e.charCodeAt(t);if(s===92){t+=1;continue}if(s===n)break}break;case 40:Vt[r]=41,r++;break;case 91:Vt[r]=93,r++;break;case 123:break;case 93:case 125:case 41:if(r===0)return!1;r>0&&n===Vt[r-1]&&r--;break;case 59:if(r===0)return!1;break}}return!0}var rt=new Uint8Array(256);function U(e,r){let i=0,t=[],n=0,s=e.length,a=r.charCodeAt(0);for(let p=0;p<s;p++){let u=e.charCodeAt(p);if(i===0&&u===a){t.push(e.slice(n,p)),n=p+1;continue}switch(u){case 92:p+=1;break;case 39:case 34:for(;++p<s;){let c=e.charCodeAt(p);if(c===92){p+=1;continue}if(c===u)break}break;case 40:rt[i]=41,i++;break;case 91:rt[i]=93,i++;break;case 123:rt[i]=125,i++;break;case 93:case 125:case 41:i>0&&u===rt[i-1]&&i--;break}}return t.push(e.slice(n)),t}var zi=58,pr=45,dr=97,mr=122;function*gr(e,r){let i=U(e,":");if(r.theme.prefix){if(i.length===1||i[0]!==r.theme.prefix)return null;i.shift()}let t=i.pop(),n=[];for(let g=i.length-1;g>=0;--g){let d=r.parseVariant(i[g]);if(d===null)return;n.push(d)}let s=!1;t[t.length-1]==="!"?(s=!0,t=t.slice(0,-1)):t[0]==="!"&&(s=!0,t=t.slice(1)),r.utilities.has(t,"static")&&!t.includes("[")&&(yield{kind:"static",root:t,variants:n,important:s,raw:e});let[a,p=null,u]=U(t,"/");if(u)return;let c=p===null?null:St(p);if(p!==null&&c===null)return;if(a[0]==="["){if(a[a.length-1]!=="]")return;let g=a.charCodeAt(1);if(g!==pr&&!(g>=dr&&g<=mr))return;a=a.slice(1,-1);let d=a.indexOf(":");if(d===-1||d===0||d===a.length-1)return;let w=a.slice(0,d),v=me(a.slice(d+1));if(!ce(v))return;yield{kind:"arbitrary",property:w,value:v,modifier:c,variants:n,important:s,raw:e};return}let m;if(a[a.length-1]==="]"){let g=a.indexOf("-[");if(g===-1)return;let d=a.slice(0,g);if(!r.utilities.has(d,"functional"))return;let w=a.slice(g+1);m=[[d,w]]}else if(a[a.length-1]===")"){let g=a.indexOf("-(");if(g===-1)return;let d=a.slice(0,g);if(!r.utilities.has(d,"functional"))return;let w=a.slice(g+2,-1),v=U(w,":"),k=null;if(v.length===2&&(k=v[0],w=v[1]),w[0]!=="-"||w[1]!=="-"||!ce(w))return;m=[[d,k===null?`[var(${w})]`:`[${k}:var(${w})]`]]}else m=vr(a,g=>r.utilities.has(g,"functional"));for(let[g,d]of m){let w={kind:"functional",root:g,modifier:c,value:null,variants:n,important:s,raw:e};if(d===null){yield w;continue}{let v=d.indexOf("[");if(v!==-1){if(d[d.length-1]!=="]")return;let x=me(d.slice(v+1,-1));if(!ce(x))co Line truncated
Only valid data types are: ${_t.map(k=>`"${k}"`).join(", ")}.
`);let c=u.value,m=structuredClone(a),g="\xB6";ee(m.nodes,(k,{replaceWith:x})=>{k.kind==="word"&&k.value===c&&x({kind:"word",value:g})});let d="^".repeat(J([u]).length),w=J([m]).indexOf(g),v=["```css",J([a])," ".repeat(w)+d,"```"].join(`
`);console.warn(v)}}),n.value=J(s)}),i.utilities.functional(r.slice(0,-2),n=>{let s=structuredClone(e),a=n.value,p=n.modifier;if(a===null)return;let u=!1,c=!1,m=!1,g=!1,d=new Map,w=!1;if(L([s],(v,{parent:k,replaceWith:x})=>{if(k?.kind!=="rule"&&k?.kind!=="at-rule"||v.kind!=="declaration"||!v.value)return;let S=G(v.value);(ee(S,(b,{replaceWith:_})=>{if(b.kind==="function"){if(b.value==="--value"){u=!0;let R=$r(a,b,i);return R?(c=!0,R.ratio?w=!0:d.set(v,k),_(R.nodes),1):(u||=!1,x([]),2)}else if(b.value==="--modifier"){if(p===null)return x([]),2;m=!0;let R=$r(p,b,i);return R?(g=!0,_(R.nodes),1):(m||=!1,x([]),2)}}})??0)===0&&(v.value=J(S))}),u&&!c||m&&!g||w&&g||p&&!w&&!g)return null;if(w)for(let[v,k]of d){let x=k.nodes.indexOf(v);x!==-1&&k.nodes.splice(x,1)}return s.nodes}),i.utilities.suggest(r.slice(0,-2),()=>{let n=[],s=[];for(let[a,{literals:p,usedSpacingNumber:u,usedSpacingInteger:c,themeKeys:m}]of[[n,t["--value"]],[s,t["--modifier"]]]){for(let g of p)a.push(g);if(u)a.push(...at);else if(c)for(let g of at)T(g)&&a.push(g);for(let g of i.theme.keysInNamespaces(m))a.push(g.replace(Vr,(d,w,v)=>`${w}.${v}`))}return[{values:n,modifiers:s}]})}:bn.test(r)?i=>{i.utilities.static(r,()=>structuredClone(e.nodes))}:null}function $r(e,r,i){for(let t of r.nodes){if(e.kind==="named"&&t.kind==="word"&&(t.value[0]==="'"||t.value[0]==='"')&&t.value[t.value.length-1]===t.value[0]&&t.value.slice(1,-1)===e.value)return{nodes:G(e.value)};if(e.kind==="named"&&t.kind==="word"&&t.value[0]==="-"&&t.value[1]==="-"){let n=t.value;if(n.endsWith("-*")){n=n.slice(0,-2);let s=i.theme.resolve(e.value,[n]);if(s)return{nodes:G(s)}}else{let s=n.split("-*");if(s.length<=1)continue;let a=[s.shift()],p=i.theme.resolveWith(e.value,a,s);if(p){let[,u={}]=p;{let c=u[s.pop()];if(c)return{nodes:G(c)}}}}}else if(e.kind==="named"&&t.kind==="word"){if(!_t.includes(t.value))continue;let n=t.value==="ratio"&&"fraction"in e?e.fraction:e.value;if(!n)continue;let s=Z(n,[t.value]);if(s===null)continue;if(s==="ratio"){let[a,p]=U(n,"/");if(!T(a)||!T(p))continue}else{if(s==="number"&&!xe(n))continue;if(s==="percentage"&&!T(n.slice(0,-1)))continue}return{nodes:G(n),ratio:s==="ratio"}}else if(e.kind==="arbitrary"&&t.kind==="word"&&t.value[0]==="["&&t.value[t.value.length-1]==="]"){let n=t.value.slice(1,-1);if(n==="*")return{nodes:G(e.value)};if("dataType"in e&&e.dataType&&e.dataType!==n)continue;if("dataType"in e&&e.dataType)return{nodes:G(e.value)};if(Z(e.value,[n])!==null)return{nodes:G(e.value)}}}}function pe(e,r,i,t,n=""){let s=!1,a=Ue(r,u=>i==null?t(u):u.startsWith("current")?t(Q(u,i)):((u.startsWith("var(")||i.startsWith("var("))&&(s=!0),t(Nr(u,i))));function p(u){return n?U(u,",").map(c=>n+c).join(","):u}return s?[o(e,p(Ue(r,t))),Y("@supports (color: lab(from red l a b))",[o(e,p(a))])]:[o(e,p(a))]}function lt(e,r,i,t,n=""){let s=!1,a=U(r,",").map(p=>Ue(p,u=>i==null?t(u):u.startsWith("current")?t(Q(u,i)):((u.startsWith("var(")||i.startsWith("var("))&&(s=!0),t(Nr(u,i))))).map(p=>`drop-shadow(${p})`).join(" ");return s?[o(e,n+U(r,",").map(p=>`drop-shadow(${Ue(p,t)})`).join(" ")),Y("@supports (color: lab(from red l a b))",[o(e,n+a)])]:[o(e,n+a)]}var Dt={"--alpha":An,"--spacing":Cn,"--theme":$n,theme:Nn};function An(e,r,i,...t){let[n,s]=U(i,"/").map(a=>a.trim());if(!n||!s)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${n||"var(--my-color)"} / ${s||"50%"})\``);if(t.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${n||"var(--my-color)"} / ${s||"50%"})\``);return Q(n,s)}function Cn(e,r,i,...t){if(!i)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(t.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${t.length+1}.`);let n=e.theme.resolve(null,["--spacing"]);if(!n)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${n} * ${i})`}function $n(e,r,i,...t){if(!i.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let n=!1;i.endsWith(" inline")&&(n=!0,i=i.slice(0,-7)),r.kind==="at-rule"&&(n=!0);let s=e.resolveThemeValue(i,n);if(!s){if(t.length>0)return t.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${i})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(t.length===0)return s;let a=t.join(", ");if(a==="initial")return s;if(s==="initial")return a;if(s.startsWith("var(")||s.startsWith("theme(")||s.startsWith("--theme(")){let p=G(s);return Sn(p,a),J(p)}return s}function Nn(e,r,i,...t){i=Vn(i);let n=e.resolveThemeValue(i);if(!n&&t.length>0)return t.join(", ");if(!n)throw new Error(`Could not resolve value for theme function: \`theme(${i})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);returnLine truncated
${ne([g])}
Relies on:
${ne([w])}`)}c.add(g);for(let w of s.get(g))for(let v of a.get(w))d.push(g),m(v,d),d.pop();p.add(g),c.delete(g),u.push(g)}}for(let g of n)m(g);for(let g of u)"nodes"in g&&L(g.nodes,(d,{replaceWith:w})=>{if(d.kind!=="at-rule"||d.name!=="@apply")return;let v=d.params.split(/(\s+)/g),k={},x=0;for(let[S,C]of v.entries())S%2===0&&(k[C]=x),x+=C.length;{let S=Object.keys(k),C=ge(S,r,{respectImportant:!1,onInvalidCandidate:D=>{if(r.theme.prefix&&!D.startsWith(r.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${D}\`. Did you mean \`${r.theme.prefix}:${D}\`?`);if(r.invalidCandidates.has(D))throw new Error(`Cannot apply utility class \`${D}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let K=U(D,":");if(K.length>1){let H=K.pop();if(r.candidatesToCss([H])[0]){let O=r.candidatesToCss(K.map(q=>`${q}:[--tw-variant-check:1]`)),I=K.filter((q,M)=>O[M]===null);if(I.length>0){if(I.length===1)throw new Error(`Cannot apply utility class \`${D}\` because the ${I.map(q=>`\`${q}\``)} variant does not exist.`);{let q=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${D}\` because the ${q.format(I.map(M=>`\`${M}\``))} variants do not exist.`)}}}}throw r.theme.size===0?new Error(`Cannot apply unknown utility class \`${D}\`. Are you using CSS modules or similar and missing \`@reference\`? https://tailwindcss.com/docs/functions-and-directives#reference-directive`):new Error(`Cannot apply unknown utility class \`${D}\``)}}),b=d.src,_=C.astNodes.map(D=>{let K=C.nodeSorting.get(D)?.candidate,H=K?k[K]:void 0;if(D=structuredClone(D),!b||!K||H===void 0)return L([D],I=>{I.src=b}),D;let O=[b[0],b[1],b[2]];return O[1]+=7+H,O[2]=O[1]+K.length,L([D],I=>{I.src=O}),D}),R=[];for(let D of _)if(D.kind==="rule")for(let K of D.nodes)R.push(K);else R.push(D);w(R)}});return i}function*zr(e,r){for(let i of e.params.split(/\s+/g))for(let t of r.parseCandidate(i))switch(t.kind){case"arbitrary":break;case"static":case"functional":yield t.root;break;default:}}async function jt(e,r,i,t=0,n=!1){let s=0,a=[];return L(e,(p,{replaceWith:u})=>{if(p.kind==="at-rule"&&(p.name==="@import"||p.name==="@reference")){let c=On(G(p.params));if(c===null)return;p.name==="@reference"&&(c.media="reference"),s|=2;let{uri:m,layer:g,media:d,supports:w}=c;if(m.startsWith("data:")||m.startsWith("http://")||m.startsWith("https://"))return;let v=se({},[]);return a.push((async()=>{if(t>100)throw new Error(`Exceeded maximum recursion depth while resolving \`${m}\` in \`${r}\`)`);let k=await i(m,r),x=ve(k.content,{from:n?k.path:void 0});await jt(x,k.base,i,t+1,n),v.nodes=_n(p,[se({base:k.base},x)],g,d,w)})()),u(v),1}}),a.length>0&&await Promise.all(a),s}function On(e){let r,i=null,t=null,n=null;for(let s=0;s<e.length;s++){let a=e[s];if(a.kind!=="separator"){if(a.kind==="word"&&!r){if(!a.value||a.value[0]!=='"'&&a.value[0]!=="'")return null;r=a.value.slice(1,-1);continue}if(a.kind==="function"&&a.value.toLowerCase()==="url"||!r)return null;if((a.kind==="word"||a.kind==="function")&&a.value.toLowerCase()==="layer"){if(i)return null;if(n)throw new Error("`layer(\u2026)` in an `@import` should come before any other functions or conditions");"nodes"in a?i=J(a.nodes):i="";continue}if(a.kind==="function"&&a.value.toLowerCase()==="supports"){if(n)return null;n=J(a.nodes);continue}t=J(e.slice(s));break}}return r?{uri:r,layer:i,media:t,supports:n}:null}function _n(e,r,i,t,n){let s=r;if(i!==null){let a=F("@layer",i,s);a.src=e.src,s=[a]}if(t!==null){let a=F("@media",t,s);a.src=e.src,s=[a]}if(n!==null){let a=F("@supports",n[0]==="("?n:`(${n})`,s);a.src=e.src,s=[a]}return s}function Te(e,r=null){return Array.isArray(e)&&e.length===2&&typeof e[1]=="object"&&typeof e[1]!==null?r?e[1][r]??null:e[0]:Array.isArray(e)&&r===null?e.join(", "):typeof e=="string"&&r===null?e:null}function Fr(e,{theme:r},i){for(let t of i){let n=ct([t]);n&&e.theme.clearNamespace(`--${n}`,4)}for(let[t,n]of Dn(r)){if(typeof n!="string"&&typeof n!="number")continue;if(typeof n=="string"&&(n=n.replace(/<alpha-value>/g,"1")),t[0]==="opacity"&&(typeof n=="number"||typeof n=="string")){let a=typeof n=="string"?parseFloat(n):n;a>=0&&a<=1&&(n=a*100+"%")}let s=ct(t);s&&e.theme.add(`--${s}`,""+n,7)}if(Object.hasOwn(r,"fontFamily")){let t=5;{let n=Te(r.fontFamily.sans);n&&e.theme.hasDefault("--font-sans")&&(e.theme.add("--default-font-family",n,t),e.theme.add("--default-font-feature-settings",Te(r.fontFamily.sans,"fontFeatureSettings")??"normal",t),e.theme.add("--default-font-variation-settings",Te(r.fontFamily.sans,"fontVariationSettings")??"normal",t))}{let n=Te(r.fontFamily.mono);n&&e.theme.hasDefault("--font-mono")&&(e.theme.add("--default-mono-font-family",n,t),e.theme.add("--default-mono-font-feature-settings",Te(r.fontFamily.mono,"fontFeatureSettings")??"normal",t),e.theme.add("--default-mono-font-variation-settings",Te(r.fontFamily.mono,"fontVariationSettings")??"noLine truncated
`,`
`);let r=[],i=[],t=null,n="",s;for(let a=0;a<e.length;a++){let p=e.charCodeAt(a);switch(p){case Gr:case Yr:case Zr:case ei:case Xr:case ti:case ri:{if(n.length>0){let d=ze(n);t?t.nodes.push(d):r.push(d),n=""}let u=a,c=a+1;for(;c<e.length&&(s=e.charCodeAt(c),!(s!==Gr&&s!==Yr&&s!==Zr&&s!==ei&&s!==Xr&&s!==ti&&s!==ri));c++);a=c-1;let m=e.slice(u,c),g=m.trim()===","?Fn(m):jn(m);t?t.nodes.push(g):r.push(g);break}case Qr:{let u=zn(n,[]);if(n="",u.value!==":not"&&u.value!==":where"&&u.value!==":has"&&u.value!==":is"){let c=a+1,m=0;for(let d=a+1;d<e.length;d++){if(s=e.charCodeAt(d),s===Qr){m++;continue}if(s===Hr){if(m===0){a=d;break}m--}}let g=a;u.nodes.push(Mn(e.slice(c,g))),n="",a=g,t?t.nodes.push(u):r.push(u);break}t?t.nodes.push(u):r.push(u),i.push(u),t=u;break}case Hr:{let u=i.pop();if(n.length>0){let c=ze(n);u.nodes.push(c),n=""}i.length>0?t=i[i.length-1]:t=null;break}case Hn:case Bn:case Gn:{if(n.length>0){let u=ze(n);t?t.nodes.push(u):r.push(u)}n=String.fromCharCode(p);break}case Jr:{if(n.length>0){let m=ze(n);t?t.nodes.push(m):r.push(m)}n="";let u=a,c=0;for(let m=a+1;m<e.length;m++){if(s=e.charCodeAt(m),s===Jr){c++;continue}if(s===Wn){if(c===0){a=m;break}c--}}n+=e.slice(u,a+1);break}case Yn:case qn:{let u=a;for(let c=a+1;c<e.length;c++)if(s=e.charCodeAt(c),s===qr)c+=1;else if(s===p){a=c;break}n+=e.slice(u,a+1);break}case qr:{let u=e.charCodeAt(a+1);n+=String.fromCharCode(p)+String.fromCharCode(u),a+=1;break}default:n+=String.fromCharCode(p)}}return n.length>0&&r.push(ze(n)),r}var ii=/^[a-z@][a-zA-Z0-9/%._-]*$/;function zt({designSystem:e,ast:r,resolvedConfig:i,featuresRef:t,referenceMode:n,src:s}){let a={addBase(p){if(n)return;let u=ue(p);t.current|=Se(u,e);let c=F("@layer","base",u);L([c],m=>{m.src=s}),r.push(c)},addVariant(p,u){if(!ut.test(p))throw new Error(`\`addVariant('${p}')\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`);if(typeof u=="string"){if(u.includes(":merge("))return}else if(Array.isArray(u)){if(u.some(m=>m.includes(":merge(")))return}else if(typeof u=="object"){let m=function(g,d){return Object.entries(g).some(([w,v])=>w.includes(d)||typeof v=="object"&&m(v,d))};var c=m;if(m(u,":merge("))return}typeof u=="string"||Array.isArray(u)?e.variants.static(p,m=>{m.nodes=ni(u,m.nodes)},{compounds:Ce(typeof u=="string"?[u]:u)}):typeof u=="object"&&e.variants.fromAst(p,ue(u),e)},matchVariant(p,u,c){function m(d,w,v){let k=u(d,{modifier:w?.value??null});return ni(k,v)}try{let d=u("a",{modifier:null});if(typeof d=="string"&&d.includes(":merge("))return;if(Array.isArray(d)&&d.some(w=>w.includes(":merge(")))return}catch{}let g=Object.keys(c?.values??{});e.variants.group(()=>{e.variants.functional(p,(d,w)=>{if(!w.value){if(c?.values&&"DEFAULT"in c.values){d.nodes=m(c.values.DEFAULT,w.modifier,d.nodes);return}return null}if(w.value.kind==="arbitrary")d.nodes=m(w.value.value,w.modifier,d.nodes);else if(w.value.kind==="named"&&c?.values){let v=c.values[w.value.value];if(typeof v!="string")return null;d.nodes=m(v,w.modifier,d.nodes)}else return null})},(d,w)=>{if(d.kind!=="functional"||w.kind!=="functional")return 0;let v=d.value?d.value.value:"DEFAULT",k=w.value?w.value.value:"DEFAULT",x=c?.values?.[v]??v,S=c?.values?.[k]??k;if(c&&typeof c.sort=="function")return c.sort({value:x,modifier:d.modifier?.value??null},{value:S,modifier:w.modifier?.value??null});let C=g.indexOf(v),b=g.indexOf(k);return C=C===-1?g.length:C,b=b===-1?g.length:b,C!==b?C-b:x<S?-1:1}),e.variants.suggest(p,()=>Object.keys(c?.values??{}).filter(d=>d!=="DEFAULT"))},addUtilities(p){p=Array.isArray(p)?p:[p];let u=p.flatMap(m=>Object.entries(m));u=u.flatMap(([m,g])=>U(m,",").map(d=>[d.trim(),g]));let c=new W(()=>[]);for(let[m,g]of u){if(m.startsWith("@keyframes ")){if(!n){let v=Y(m,ue(g));L([v],k=>{k.src=s}),r.push(v)}continue}let d=dt(m),w=!1;if(Fe(d,v=>{if(v.kind==="selector"&&v.value[0]==="."&&ii.test(v.value.slice(1))){let k=v.value;v.value="&";let x=Me(d),S=k.slice(1),C=x==="&"?ue(g):[Y(x,ue(g))];c.get(S).push(...C),w=!0,v.value=k;return}if(v.kind==="function"&&v.value===":not")return 1}),!w)throw new Error(`\`addUtilities({ '${m}' : \u2026 })\` defines an invalid utility selector. Utilities must be a single class name and start with a lowercase letter, eg. \`.scrollbar-none\`.`)}for(let[m,g]of c)e.theme.prefix&&L(g,d=>{if(d.kind==="rule"){let w=dt(d.selector);Fe(w,v=>{v.kind==="selector"&&v.value[0]==="."&&(v.value=`.${e.theme.prefix}\\:${v.value.slice(1)}`)}),d.selector=Me(w)}}),e.utilities.static(m,d=>{let w=structuredClone(g);return oi(w,m,d.raw),t.current|=Ie(w,e),w})},matchUtilities(p,u){let c=u?.type?Array.isArray(u?.type)?u.type:[u.type]:["any"];for(let[g,d]of Object.entries(p)){let w=function({negative:v}){return k=>{if(k.value?.kind==="arbitrary"&&c.length>0&&!c.includes("any")&&(k.value.dataType&&!c.includes(k.value.dataType)||!k.value.dataType&&!Z(k.value.value,c)))return;let x=c.includes("color"),S=null,C=!1;{let R=u?Line truncated
${ne([S])}
\`@plugin\` options must be a flat list of declarations.`);if(S.value===void 0)continue;let C=S.value,b=U(C,",").map(_=>{if(_=_.trim(),_==="null")return null;if(_==="true")return!0;if(_==="false")return!1;if(Number.isNaN(Number(_))){if(_[0]==='"'&&_[_.length-1]==='"'||_[0]==="'"&&_[_.length-1]==="'")return _.slice(1,-1);if(_[0]==="{"&&_[_.length-1]==="}")throw new Error(`Unexpected \`@plugin\` option: Value of declaration \`${ne([S]).trim()}\` is not supported.
Using an object as a plugin option is currently only supported in JavaScript configuration files.`)}else return Number(_);return _});x[S.property]=b.length===1?b[0]:b}a.push([{id:k,base:v.base,reference:!!v.reference,src:g.src},Object.keys(x).length>0?x:null]),w([]),s|=4;return}if(g.name==="@config"){if(g.nodes.length>0)throw new Error("`@config` cannot have a body.");if(d!==null)throw new Error("`@config` cannot be nested.");p.push({id:g.params.slice(1,-1),base:v.base,reference:!!v.reference,src:g.src}),w([]),s|=4;return}}}),di(e);let u=e.resolveThemeValue;if(e.resolveThemeValue=function(d,w){return d.startsWith("--")?u(d,w):(s|=hi({designSystem:e,base:r,ast:i,sources:n,configs:[],pluginDetails:[]}),e.resolveThemeValue(d,w))},!a.length&&!p.length)return 0;let[c,m]=await Promise.all([Promise.all(p.map(async({id:g,base:d,reference:w,src:v})=>{let k=await t(g,d,"config");return{path:g,base:k.base,config:k.module,reference:w,src:v}})),Promise.all(a.map(async([{id:g,base:d,reference:w,src:v},k])=>{let x=await t(g,d,"plugin");return{path:g,base:x.base,plugin:x.module,options:k,reference:w,src:v}}))]);return s|=hi({designSystem:e,base:r,ast:i,sources:n,configs:c,pluginDetails:m}),s}function hi({designSystem:e,base:r,ast:i,sources:t,configs:n,pluginDetails:s}){let a=0,u=[...s.map(k=>{if(!k.options)return{config:{plugins:[k.plugin]},base:k.base,reference:k.reference,src:k.src};if("__isOptionsFunction"in k.plugin)return{config:{plugins:[k.plugin(k.options)]},base:k.base,reference:k.reference,src:k.src};throw new Error(`The plugin "${k.path}" does not accept options`)}),...n],{resolvedConfig:c}=Mt(e,[{config:ci(e.theme),base:r,reference:!0,src:void 0},...u,{config:{plugins:[pi]},base:r,reference:!0,src:void 0}]),{resolvedConfig:m,replacedThemeKeys:g}=Mt(e,u),d={designSystem:e,ast:i,resolvedConfig:c,featuresRef:{set current(k){a|=k}}},w=zt({...d,referenceMode:!1,src:void 0}),v=e.resolveThemeValue;e.resolveThemeValue=function(x,S){if(x[0]==="-"&&x[1]==="-")return v(x,S);let C=w.theme(x,void 0);if(Array.isArray(C)&&C.length===2)return C[0];if(Array.isArray(C))return C.join(", ");if(typeof C=="string")return C};for(let{handler:k,reference:x,src:S}of c.plugins){let C=zt({...d,referenceMode:x??!1,src:S});k(C)}if(Fr(e,m,g),li(e,m,g),gi(m,e),mi(m,e),fi(m,e),!e.theme.prefix&&c.prefix){if(c.prefix.endsWith("-")&&(c.prefix=c.prefix.slice(0,-1),console.warn(`The prefix "${c.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only and is written as a variant before all utilities. We have fixed up the prefix for you. Remove the trailing \`-\` to silence this warning.`)),!no.test(c.prefix))throw new Error(`The prefix "${c.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);e.theme.prefix=c.prefix}if(!e.important&&c.important===!0&&(e.important=!0),typeof c.important=="string"){let k=c.important;L(i,(x,{replaceWith:S,parent:C})=>{if(x.kind==="at-rule"&&!(x.name!=="@tailwind"||x.params!=="utilities"))return C?.kind==="rule"&&C.selector===k?2:(S(B(k,[x])),2)})}for(let k of c.blocklist)e.invalidCandidates.add(k);for(let k of c.content.files){if("raw"in k)throw new Error(`Error in the config file/plugin/preset. The \`content\` key contains a \`raw\` entry:
${JSON.stringify(k,null,2)}
This feature is not currently supported.`);let x=!1;k.pattern[0]=="!"&&(x=!0,k.pattern=k.pattern.slice(1)),t.push({...k,negated:x})}return a}function wi(e){let r=[0];for(let n=0;n<e.length;n++)e.charCodeAt(n)===10&&r.push(n+1);function i(n){let s=0,a=r.length;for(;a>0;){let u=(a|0)>>1,c=s+u;r[c]<=n?(s=c+1,a=a-u-1):a=u}s-=1;let p=n-r[s];return{line:s+1,column:p}}function t({line:n,column:s}){n-=1,n=Math.min(Math.max(n,0),r.length-1);let a=r[n],p=r[n+1]??a;return Math.min(Math.max(a+s,0),p)}return{find:i,findOffset:t}}function ki({ast:e}){let r=new W(n=>wi(n.code)),i=new W(n=>({url:n.file,content:n.code,ignore:!1})),t={file:null,sources:[],mappings:[]};L(e,n=>{if(!n.src||!n.dst)return;let s=i.get(n.src[0]);if(!s.content)return;let a=r.get(n.src[0]),p=r.get(n.dst[0]),u=s.content.slice(n.src[1],n.src[2]),c=0;for(let d of u.split(`
`)){if(d.trim()!==""){let w=a.find(n.src[1]+c),v=p.find(n.dst[1]);t.mappings.push({name:null,originalPosition:{source:s,...w},generatedPosition:v})}c+=d.length,c+=1}let m=a.find(n.src[2]),g=p.find(n.dst[2]);t.mappings.push({name:null,originalPosition:{source:s,...m},generatedPosition:g})});for(let n of r.keys())t.sources.push(i.get(n));return t.mappings.sort((n,s)=>n.generatedPosition.line-s.generatedPosition.line||n.generatedPosition.column-s.generatedPosition.column||(n.originalPosition?.line??0)-(s.originalPosition?.line??0)||(n.originalPosition?.column??0)-(s.originalPosition?.column??0)),t}var yi=/^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/;function ht(e){let r=e.indexOf("{");if(r===-1)return[e];let i=[],t=e.slice(0,r),n=e.slice(r),s=0,a=n.lastIndexOf("}");for(let g=0;g<n.length;g++){let d=n[g];if(d==="{")s++;else if(d==="}"&&(s--,s===0)){a=g;break}}if(a===-1)throw new Error(`The pattern \`${e}\` is not balanced.`);let p=n.slice(1,a),u=n.slice(a+1),c;oo(p)?c=lo(p):c=U(p,","),c=c.flatMap(g=>ht(g));let m=ht(u);for(let g of m)for(let d of c)i.push(t+d+g);return i}function oo(e){return yi.test(e)}function lo(e){let r=e.match(yi);if(!r)return[e];let[,i,t,n]=r,s=n?parseInt(n,10):void 0,a=[];if(/^-?\d+$/.test(i)&&/^-?\d+$/.test(t)){let p=parseInt(i,10),u=parseInt(t,10);if(s===void 0&&(s=p<=u?1:-1),s===0)throw new Error("Step cannot be zero in sequence expansion.");let c=p<u;c&&s<0&&(s=-s),!c&&s>0&&(s=-s);for(let m=p;c?m<=u:m>=u;m+=s)a.push(m.toString())}return a}function bi(e,r){let i=new Set,t=new Set,n=[];function s(a,p=[]){if(e.has(a)&&!i.has(a)){t.has(a)&&r.onCircularDependency?.(p,a),t.add(a);for(let u of e.get(a)??[])p.push(a),s(u,p),p.pop();i.add(a),t.delete(a),n.push(a)}}for(let a of e.keys())s(a);return n}var ao=/^[a-z]+$/,tt=(n=>(n[n.None=0]="None",n[n.AtProperty=1]="AtProperty",n[n.ColorMix=2]="ColorMix",n[n.All=3]="All",n))(tt||{});function so(){throw new Error("No `loadModule` function provided to `compile`")}function uo(){throw new Error("No `loadStylesheet` function provided to `compile`")}function co(e){let r=0,i=null;for(let t of U(e," "))t==="reference"?r|=2:t==="inline"?r|=1:t==="default"?r|=4:t==="static"?r|=8:t.startsWith("prefix(")&&t.endsWith(")")&&(i=t.slice(7,-1));return[r,i]}var Ae=(u=>(u[u.None=0]="None",u[u.AtApply=1]="AtApply",u[u.AtImport=2]="AtImport",u[u.JsPluginCompat=4]="JsPluginCompat",u[u.ThemeFunction=8]="ThemeFunction",u[u.Utilities=16]="Utilities",u[u.Variants=32]="Variants",u[u.AtTheme=64]="AtTheme",u))(Ae||{});async function xi(e,{base:r="",from:i,loadModule:t=so,loadStylesheet:n=uo}={}){let s=0;e=[se({base:r},e)],s|=await jt(e,r,n,0,i!==void 0);let a=null,p=new Je,u=new Map,c=new Map,m=[],g=null,d=null,w=[],v=[],k=[],x=[],S=null;L(e,(b,{parent:_,replaceWith:R,context:D})=>{if(b.kind==="at-rule"){if(b.name==="@tailwind"&&(b.params==="utilities"||b.params.startsWith("utilities"))){if(d!==null){R([]);return}if(D.reference){R([]);return}let K=U(b.params," ");for(let H of K)if(H.startsWith("source(")){let O=H.slice(7,-1);if(O==="none"){S=O;continue}if(O[0]==='"'&&O[O.length-1]!=='"'||O[0]==="'"&&O[O.length-1]!=="'"||O[0]!=="'"&&O[0]!=='"')throw new Error("`source(\u2026)` paths must be quoted.");S={base:D.sourceBase??D.base,pattern:O.slice(1,-1)}}d=b,s|=16}if(b.name==="@utility"){if(_!==null)throw new Error("`@utility` cannot be nested.");if(b.nodes.length===0)throw new Error(`\`@utility ${b.params}\` is empty. Utilities should include at least one property.`);let K=Er(b);if(K===null){if(!b.params.endsWith("-*")){if(b.params.endsWith("*"))throw new Error(`\`@utility ${b.params}\` defines an invalid utility name. A functional utility must end in \`-*\`.`);if(b.params.includes("*"))throw new Error(`\`@utility ${b.params}\` defines an invalid utility name. The dynamic portion marked by \`-*\` must appear once at the end.`)}throw new Error(`\`@utility ${b.params}\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter.`)}m.push(K)}if(b.name==="@source"){if(b.nodes.length>0)throw new Error("`@source` cannot have a body.");if(_!==null)throw new Error("`@source` cannot be nested.");let K=!1,H=!1,O=b.params;if(O[0]==="n"&&O.startsWith("not ")&&(K=!0,O=O.slice(4)),O[0]==="i"&&O.startsWith("inline(")&&(H=!0,O=O.slice(7,-1)),O[0]==='"'&&O[O.length-1]!=='"'||O[0]==="'"&&O[O.length-1]!=="'"||O[0]!=="'"&&O[0]!=='"')throw new Error("`@source` paths must be quoted.");let I=O.slice(1,-1);if(H){let q=K?x:k,M=U(I," ");for(let ie of M)for(let l of ht(ie))q.push(l)}else v.push({base:D.base,pattern:I,negated:K});R([]);return}if(b.name==="@variant"&&(_===null?b.nodes.length===0?b.name="@custom-variant":(L(b.nodes,K=>{if(K.kind==="at-rule"&&K.name==="@slot")return b.name="@custom-variant",2}),b.name==="@variant"&&w.push(b)):w.push(b)),b.name==="@custom-variant"){if(_!==null)throw new Error("`@custom-variant` cannot be nested.");R([]);let[K,H]=U(b.params," ");if(!ut.test(K))throw new Error(`\`@custom-variant ${K}\` defines an invalid variant name. Variants Line truncated
`).map((q,M,ie)=>`${M===0||M>=ie.length-2?" ":">"} ${q}`).join(`
`);throw new Error(`\`@theme\` blocks must only contain custom properties or \`@keyframes\`.
${I}`)}),g?R([]):(g=B(":root, :host",[]),g.src=b.src,R([g])),1}}});let C=Ur(p);if(a&&(C.important=a),x.length>0)for(let b of x)C.invalidCandidates.add(b);s|=await vi({designSystem:C,base:r,ast:e,loadModule:t,sources:v});for(let b of u.keys())C.variants.static(b,()=>{});for(let b of bi(c,{onCircularDependency(_,R){let D=ne(_.map((K,H)=>F("@custom-variant",K,[F("@variant",_[H+1]??R,[])]))).replaceAll(";"," { \u2026 }").replace(`@custom-variant ${R} {`,`@custom-variant ${R} { /* \u2190 */`);throw new Error(`Circular dependency detected in custom variants:
${D}`)}}))u.get(b)?.(C);for(let b of m)b(C);if(g){let b=[];for(let[R,D]of C.theme.entries()){if(D.options&2)continue;let K=o(de(R),D.value);K.src=D.src,b.push(K)}let _=C.theme.getKeyframes();for(let R of _)e.push(se({theme:!0},[z([R])]));g.nodes=[se({theme:!0},b)]}if(s|=Lt(e,C),s|=Se(e,C),s|=Ie(e,C),d){let b=d;b.kind="context",b.context={}}return L(e,(b,{replaceWith:_})=>{if(b.kind==="at-rule")return b.name==="@utility"&&_([]),1}),{designSystem:C,ast:e,sources:v,root:S,utilitiesNode:d,features:s,inlineCandidates:k}}async function Ai(e,r={}){let{designSystem:i,ast:t,sources:n,root:s,utilitiesNode:a,features:p,inlineCandidates:u}=await xi(e,r);t.unshift(Ze(`! tailwindcss v${Wt} | MIT License | https://tailwindcss.com `));function c(v){i.invalidCandidates.add(v)}let m=new Set,g=null,d=0,w=!1;for(let v of u)i.invalidCandidates.has(v)||(m.add(v),w=!0);return{sources:n,root:s,features:p,build(v){if(p===0)return e;if(!a)return g??=ye(t,i,r.polyfills),g;let k=w,x=!1;w=!1;let S=m.size;for(let b of v)if(!i.invalidCandidates.has(b))if(b[0]==="-"&&b[1]==="-"){let _=i.theme.markUsedVariable(b);k||=_,x||=_}else m.add(b),k||=m.size!==S;if(!k)return g??=ye(t,i,r.polyfills),g;let C=ge(m,i,{onInvalidCandidate:c}).astNodes;return r.from&&L(C,b=>{b.src??=a.src}),!x&&d===C.length?(g??=ye(t,i,r.polyfills),g):(d=C.length,a.nodes=C,g=ye(t,i,r.polyfills),g)}}}async function fo(e,r={}){let i=ve(e,{from:r.from}),t=await Ai(i,r),n=i,s=e;return{...t,build(a){let p=t.build(a);return p===n||(s=ne(p,!!r.from),n=p),s},buildSourceMap(){return ki({ast:n})}}}async function po(e,r={}){return(await xi(ve(e),r)).designSystem}function We(){throw new Error("It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install `@tailwindcss/postcss` and update your PostCSS configuration.")}for(let e in vt)e!=="default"&&(We[e]=vt[e]);module.exports=We;
+1
View File
@@ -0,0 +1 @@
import{a,b,c,d,e,f}from"./chunk-MC3TVECV.mjs";import"./chunk-G32FJCSR.mjs";import"./chunk-HTB5LLOP.mjs";export{b as Features,a as Polyfills,e as __unstable__loadDesignSystem,d as compile,c as compileAst,f as default};
+11
View File
@@ -0,0 +1,11 @@
export { P as PluginUtils } from './resolve-config-QUZ9b-Gn.mjs';
import { a as PluginFn, C as Config, b as PluginWithConfig, c as PluginWithOptions } from './types-WlZgYgM8.mjs';
export { d as PluginAPI, P as PluginsConfig, T as ThemeConfig } from './types-WlZgYgM8.mjs';
import './colors.mjs';
declare function createPlugin(handler: PluginFn, config?: Partial<Config>): PluginWithConfig;
declare namespace createPlugin {
var withOptions: <T>(pluginFunction: (options?: T) => PluginFn, configFunction?: (options?: T) => Partial<Config>) => PluginWithOptions<T>;
}
export { Config, PluginFn as PluginCreator, createPlugin as default };
+131
View File
@@ -0,0 +1,131 @@
import { N as NamedUtilityValue, P as PluginUtils } from './resolve-config-BIFUA2FY.js';
import './colors-b_6i0Oi7.js';
/**
* The source code for one or more nodes in the AST
*
* This generally corresponds to a stylesheet
*/
interface Source {
/**
* The path to the file that contains the referenced source code
*
* If this references the *output* source code, this is `null`.
*/
file: string | null;
/**
* The referenced source code
*/
code: string;
}
/**
* The file and offsets within it that this node covers
*
* This can represent either:
* - A location in the original CSS which caused this node to be created
* - A location in the output CSS where this node resides
*/
type SourceLocation = [source: Source, start: number, end: number];
type Config = UserConfig;
type PluginFn = (api: PluginAPI) => void;
type PluginWithConfig = {
handler: PluginFn;
config?: UserConfig;
/** @internal */
reference?: boolean;
src?: SourceLocation | undefined;
};
type PluginWithOptions<T> = {
(options?: T): PluginWithConfig;
__isOptionsFunction: true;
};
type Plugin = PluginFn | PluginWithConfig | PluginWithOptions<any>;
type PluginAPI = {
addBase(base: CssInJs): void;
addVariant(name: string, variant: string | string[] | CssInJs): void;
matchVariant<T = string>(name: string, cb: (value: T | string, extra: {
modifier: string | null;
}) => string | string[], options?: {
values?: Record<string, T>;
sort?(a: {
value: T | string;
modifier: string | null;
}, b: {
value: T | string;
modifier: string | null;
}): number;
}): void;
addUtilities(utilities: Record<string, CssInJs | CssInJs[]> | Record<string, CssInJs | CssInJs[]>[], options?: {}): void;
matchUtilities(utilities: Record<string, (value: string, extra: {
modifier: string | null;
}) => CssInJs | CssInJs[]>, options?: Partial<{
type: string | string[];
supportsNegativeValues: boolean;
values: Record<string, string> & {
__BARE_VALUE__?: (value: NamedUtilityValue) => string | undefined;
};
modifiers: 'any' | Record<string, string>;
}>): void;
addComponents(utilities: Record<string, CssInJs> | Record<string, CssInJs>[], options?: {}): void;
matchComponents(utilities: Record<string, (value: string, extra: {
modifier: string | null;
}) => CssInJs>, options?: Partial<{
type: string | string[];
supportsNegativeValues: boolean;
values: Record<string, string> & {
__BARE_VALUE__?: (value: NamedUtilityValue) => string | undefined;
};
modifiers: 'any' | Record<string, string>;
}>): void;
theme(path: string, defaultValue?: any): any;
config(path?: string, defaultValue?: any): any;
prefix(className: string): string;
};
type CssInJs = {
[key: string]: string | string[] | CssInJs | CssInJs[];
};
type ResolvableTo<T> = T | ((utils: PluginUtils) => T);
type ThemeValue = ResolvableTo<Record<string, unknown>> | null | undefined;
type ThemeConfig = Record<string, ThemeValue> & {
extend?: Record<string, ThemeValue>;
};
type ContentFile = string | {
raw: string;
extension?: string;
};
type DarkModeStrategy = false | 'media' | 'class' | ['class', string] | 'selector' | ['selector', string] | ['variant', string | string[]];
interface UserConfig {
presets?: UserConfig[];
theme?: ThemeConfig;
plugins?: Plugin[];
}
interface UserConfig {
content?: ContentFile[] | {
relative?: boolean;
files: ContentFile[];
};
}
interface UserConfig {
darkMode?: DarkModeStrategy;
}
interface UserConfig {
prefix?: string;
}
interface UserConfig {
blocklist?: string[];
}
interface UserConfig {
important?: boolean | string;
}
interface UserConfig {
future?: 'all' | Record<string, boolean>;
}
declare function createPlugin(handler: PluginFn, config?: Partial<Config>): PluginWithConfig;
declare namespace createPlugin {
var withOptions: <T>(pluginFunction: (options?: T) => PluginFn, configFunction?: (options?: T) => Partial<Config>) => PluginWithOptions<T>;
}
export { createPlugin as default };
+1
View File
@@ -0,0 +1 @@
"use strict";function g(i,n){return{handler:i,config:n}}g.withOptions=function(i,n=()=>({})){function t(o){return{handler:i(o),config:n(o)}}return t.__isOptionsFunction=!0,t};var u=g;module.exports=u;
+1
View File
@@ -0,0 +1 @@
function g(i,n){return{handler:i,config:n}}g.withOptions=function(i,n=()=>({})){function t(o){return{handler:i(o),config:n(o)}}return t.__isOptionsFunction=!0,t};var u=g;export{u as default};
+29
View File
@@ -0,0 +1,29 @@
import { _ as _default } from './colors-b_6i0Oi7.js';
type NamedUtilityValue = {
kind: 'named';
/**
* ```
* bg-red-500
* ^^^^^^^
*
* w-1/2
* ^
* ```
*/
value: string;
/**
* ```
* w-1/2
* ^^^
* ```
*/
fraction: string | null;
};
type PluginUtils = {
theme: (keypath: string, defaultValue?: any) => any;
colors: typeof _default;
};
export type { NamedUtilityValue as N, PluginUtils as P };
+190
View File
@@ -0,0 +1,190 @@
import _default from './colors.mjs';
type ArbitraryUtilityValue = {
kind: 'arbitrary';
/**
* ```
* bg-[color:var(--my-color)]
* ^^^^^
*
* bg-(color:--my-color)
* ^^^^^
* ```
*/
dataType: string | null;
/**
* ```
* bg-[#0088cc]
* ^^^^^^^
*
* bg-[var(--my_variable)]
* ^^^^^^^^^^^^^^^^^^
*
* bg-(--my_variable)
* ^^^^^^^^^^^^^^
* ```
*/
value: string;
};
type NamedUtilityValue = {
kind: 'named';
/**
* ```
* bg-red-500
* ^^^^^^^
*
* w-1/2
* ^
* ```
*/
value: string;
/**
* ```
* w-1/2
* ^^^
* ```
*/
fraction: string | null;
};
type ArbitraryModifier = {
kind: 'arbitrary';
/**
* ```
* bg-red-500/[50%]
* ^^^
* ```
*/
value: string;
};
type NamedModifier = {
kind: 'named';
/**
* ```
* bg-red-500/50
* ^^
* ```
*/
value: string;
};
type ArbitraryVariantValue = {
kind: 'arbitrary';
value: string;
};
type NamedVariantValue = {
kind: 'named';
value: string;
};
type Variant =
/**
* Arbitrary variants are variants that take a selector and generate a variant
* on the fly.
*
* E.g.: `[&_p]`
*/
{
kind: 'arbitrary';
selector: string;
relative: boolean;
}
/**
* Static variants are variants that don't take any arguments.
*
* E.g.: `hover`
*/
| {
kind: 'static';
root: string;
}
/**
* Functional variants are variants that can take an argument. The argument is
* either a named variant value or an arbitrary variant value.
*
* E.g.:
*
* - `aria-disabled`
* - `aria-[disabled]`
* - `@container-size` -> @container, with named value `size`
* - `@container-[inline-size]` -> @container, with arbitrary variant value `inline-size`
* - `@container` -> @container, with no value
*/
| {
kind: 'functional';
root: string;
value: ArbitraryVariantValue | NamedVariantValue | null;
modifier: ArbitraryModifier | NamedModifier | null;
}
/**
* Compound variants are variants that take another variant as an argument.
*
* E.g.:
*
* - `has-[&_p]`
* - `group-*`
* - `peer-*`
*/
| {
kind: 'compound';
root: string;
modifier: ArbitraryModifier | NamedModifier | null;
variant: Variant;
};
type Candidate =
/**
* Arbitrary candidates are candidates that register utilities on the fly with
* a property and a value.
*
* E.g.:
*
* - `[color:red]`
* - `[color:red]/50`
* - `[color:red]/50!`
*/
{
kind: 'arbitrary';
property: string;
value: string;
modifier: ArbitraryModifier | NamedModifier | null;
variants: Variant[];
important: boolean;
raw: string;
}
/**
* Static candidates are candidates that don't take any arguments.
*
* E.g.:
*
* - `underline`
* - `box-border`
*/
| {
kind: 'static';
root: string;
variants: Variant[];
important: boolean;
raw: string;
}
/**
* Functional candidates are candidates that can take an argument.
*
* E.g.:
*
* - `bg-red-500`
* - `bg-[#0088cc]`
* - `w-1/2`
*/
| {
kind: 'functional';
root: string;
value: ArbitraryUtilityValue | NamedUtilityValue | null;
modifier: ArbitraryModifier | NamedModifier | null;
variants: Variant[];
important: boolean;
raw: string;
};
type PluginUtils = {
theme: (keypath: string, defaultValue?: any) => any;
colors: typeof _default;
};
export type { Candidate as C, NamedUtilityValue as N, PluginUtils as P, Variant as V };
+125
View File
@@ -0,0 +1,125 @@
import { N as NamedUtilityValue, P as PluginUtils } from './resolve-config-QUZ9b-Gn.mjs';
/**
* The source code for one or more nodes in the AST
*
* This generally corresponds to a stylesheet
*/
interface Source {
/**
* The path to the file that contains the referenced source code
*
* If this references the *output* source code, this is `null`.
*/
file: string | null;
/**
* The referenced source code
*/
code: string;
}
/**
* The file and offsets within it that this node covers
*
* This can represent either:
* - A location in the original CSS which caused this node to be created
* - A location in the output CSS where this node resides
*/
type SourceLocation = [source: Source, start: number, end: number];
type Config = UserConfig;
type PluginFn = (api: PluginAPI) => void;
type PluginWithConfig = {
handler: PluginFn;
config?: UserConfig;
/** @internal */
reference?: boolean;
src?: SourceLocation | undefined;
};
type PluginWithOptions<T> = {
(options?: T): PluginWithConfig;
__isOptionsFunction: true;
};
type Plugin = PluginFn | PluginWithConfig | PluginWithOptions<any>;
type PluginAPI = {
addBase(base: CssInJs): void;
addVariant(name: string, variant: string | string[] | CssInJs): void;
matchVariant<T = string>(name: string, cb: (value: T | string, extra: {
modifier: string | null;
}) => string | string[], options?: {
values?: Record<string, T>;
sort?(a: {
value: T | string;
modifier: string | null;
}, b: {
value: T | string;
modifier: string | null;
}): number;
}): void;
addUtilities(utilities: Record<string, CssInJs | CssInJs[]> | Record<string, CssInJs | CssInJs[]>[], options?: {}): void;
matchUtilities(utilities: Record<string, (value: string, extra: {
modifier: string | null;
}) => CssInJs | CssInJs[]>, options?: Partial<{
type: string | string[];
supportsNegativeValues: boolean;
values: Record<string, string> & {
__BARE_VALUE__?: (value: NamedUtilityValue) => string | undefined;
};
modifiers: 'any' | Record<string, string>;
}>): void;
addComponents(utilities: Record<string, CssInJs> | Record<string, CssInJs>[], options?: {}): void;
matchComponents(utilities: Record<string, (value: string, extra: {
modifier: string | null;
}) => CssInJs>, options?: Partial<{
type: string | string[];
supportsNegativeValues: boolean;
values: Record<string, string> & {
__BARE_VALUE__?: (value: NamedUtilityValue) => string | undefined;
};
modifiers: 'any' | Record<string, string>;
}>): void;
theme(path: string, defaultValue?: any): any;
config(path?: string, defaultValue?: any): any;
prefix(className: string): string;
};
type CssInJs = {
[key: string]: string | string[] | CssInJs | CssInJs[];
};
type ResolvableTo<T> = T | ((utils: PluginUtils) => T);
type ThemeValue = ResolvableTo<Record<string, unknown>> | null | undefined;
type ThemeConfig = Record<string, ThemeValue> & {
extend?: Record<string, ThemeValue>;
};
type ContentFile = string | {
raw: string;
extension?: string;
};
type DarkModeStrategy = false | 'media' | 'class' | ['class', string] | 'selector' | ['selector', string] | ['variant', string | string[]];
interface UserConfig {
presets?: UserConfig[];
theme?: ThemeConfig;
plugins?: Plugin[];
}
interface UserConfig {
content?: ContentFile[] | {
relative?: boolean;
files: ContentFile[];
};
}
interface UserConfig {
darkMode?: DarkModeStrategy;
}
interface UserConfig {
prefix?: string;
}
interface UserConfig {
blocklist?: string[];
}
interface UserConfig {
important?: boolean | string;
}
interface UserConfig {
future?: 'all' | Record<string, boolean>;
}
export type { Config as C, Plugin as P, SourceLocation as S, ThemeConfig as T, UserConfig as U, PluginFn as a, PluginWithConfig as b, PluginWithOptions as c, PluginAPI as d };
+896
View File
@@ -0,0 +1,896 @@
@layer theme, base, components, utilities;
@layer theme {
@theme default {
--font-sans:
ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
--font-mono:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
--color-red-50: oklch(97.1% 0.013 17.38);
--color-red-100: oklch(93.6% 0.032 17.717);
--color-red-200: oklch(88.5% 0.062 18.334);
--color-red-300: oklch(80.8% 0.114 19.571);
--color-red-400: oklch(70.4% 0.191 22.216);
--color-red-500: oklch(63.7% 0.237 25.331);
--color-red-600: oklch(57.7% 0.245 27.325);
--color-red-700: oklch(50.5% 0.213 27.518);
--color-red-800: oklch(44.4% 0.177 26.899);
--color-red-900: oklch(39.6% 0.141 25.723);
--color-red-950: oklch(25.8% 0.092 26.042);
--color-orange-50: oklch(98% 0.016 73.684);
--color-orange-100: oklch(95.4% 0.038 75.164);
--color-orange-200: oklch(90.1% 0.076 70.697);
--color-orange-300: oklch(83.7% 0.128 66.29);
--color-orange-400: oklch(75% 0.183 55.934);
--color-orange-500: oklch(70.5% 0.213 47.604);
--color-orange-600: oklch(64.6% 0.222 41.116);
--color-orange-700: oklch(55.3% 0.195 38.402);
--color-orange-800: oklch(47% 0.157 37.304);
--color-orange-900: oklch(40.8% 0.123 38.172);
--color-orange-950: oklch(26.6% 0.079 36.259);
--color-amber-50: oklch(98.7% 0.022 95.277);
--color-amber-100: oklch(96.2% 0.059 95.617);
--color-amber-200: oklch(92.4% 0.12 95.746);
--color-amber-300: oklch(87.9% 0.169 91.605);
--color-amber-400: oklch(82.8% 0.189 84.429);
--color-amber-500: oklch(76.9% 0.188 70.08);
--color-amber-600: oklch(66.6% 0.179 58.318);
--color-amber-700: oklch(55.5% 0.163 48.998);
--color-amber-800: oklch(47.3% 0.137 46.201);
--color-amber-900: oklch(41.4% 0.112 45.904);
--color-amber-950: oklch(27.9% 0.077 45.635);
--color-yellow-50: oklch(98.7% 0.026 102.212);
--color-yellow-100: oklch(97.3% 0.071 103.193);
--color-yellow-200: oklch(94.5% 0.129 101.54);
--color-yellow-300: oklch(90.5% 0.182 98.111);
--color-yellow-400: oklch(85.2% 0.199 91.936);
--color-yellow-500: oklch(79.5% 0.184 86.047);
--color-yellow-600: oklch(68.1% 0.162 75.834);
--color-yellow-700: oklch(55.4% 0.135 66.442);
--color-yellow-800: oklch(47.6% 0.114 61.907);
--color-yellow-900: oklch(42.1% 0.095 57.708);
--color-yellow-950: oklch(28.6% 0.066 53.813);
--color-lime-50: oklch(98.6% 0.031 120.757);
--color-lime-100: oklch(96.7% 0.067 122.328);
--color-lime-200: oklch(93.8% 0.127 124.321);
--color-lime-300: oklch(89.7% 0.196 126.665);
--color-lime-400: oklch(84.1% 0.238 128.85);
--color-lime-500: oklch(76.8% 0.233 130.85);
--color-lime-600: oklch(64.8% 0.2 131.684);
--color-lime-700: oklch(53.2% 0.157 131.589);
--color-lime-800: oklch(45.3% 0.124 130.933);
--color-lime-900: oklch(40.5% 0.101 131.063);
--color-lime-950: oklch(27.4% 0.072 132.109);
--color-green-50: oklch(98.2% 0.018 155.826);
--color-green-100: oklch(96.2% 0.044 156.743);
--color-green-200: oklch(92.5% 0.084 155.995);
--color-green-300: oklch(87.1% 0.15 154.449);
--color-green-400: oklch(79.2% 0.209 151.711);
--color-green-500: oklch(72.3% 0.219 149.579);
--color-green-600: oklch(62.7% 0.194 149.214);
--color-green-700: oklch(52.7% 0.154 150.069);
--color-green-800: oklch(44.8% 0.119 151.328);
--color-green-900: oklch(39.3% 0.095 152.535);
--color-green-950: oklch(26.6% 0.065 152.934);
--color-emerald-50: oklch(97.9% 0.021 166.113);
--color-emerald-100: oklch(95% 0.052 163.051);
--color-emerald-200: oklch(90.5% 0.093 164.15);
--color-emerald-300: oklch(84.5% 0.143 164.978);
--color-emerald-400: oklch(76.5% 0.177 163.223);
--color-emerald-500: oklch(69.6% 0.17 162.48);
--color-emerald-600: oklch(59.6% 0.145 163.225);
--color-emerald-700: oklch(50.8% 0.118 165.612);
--color-emerald-800: oklch(43.2% 0.095 166.913);
--color-emerald-900: oklch(37.8% 0.077 168.94);
--color-emerald-950: oklch(26.2% 0.051 172.552);
--color-teal-50: oklch(98.4% 0.014 180.72);
--color-teal-100: oklch(95.3% 0.051 180.801);
--color-teal-200: oklch(91% 0.096 180.426);
--color-teal-300: oklch(85.5% 0.138 181.071);
--color-teal-400: oklch(77.7% 0.152 181.912);
--color-teal-500: oklch(70.4% 0.14 182.503);
--color-teal-600: oklch(60% 0.118 184.704);
--color-teal-700: oklch(51.1% 0.096 186.391);
--color-teal-800: oklch(43.7% 0.078 188.216);
--color-teal-900: oklch(38.6% 0.063 188.416);
--color-teal-950: oklch(27.7% 0.046 192.524);
--color-cyan-50: oklch(98.4% 0.019 200.873);
--color-cyan-100: oklch(95.6% 0.045 203.388);
--color-cyan-200: oklch(91.7% 0.08 205.041);
--color-cyan-300: oklch(86.5% 0.127 207.078);
--color-cyan-400: oklch(78.9% 0.154 211.53);
--color-cyan-500: oklch(71.5% 0.143 215.221);
--color-cyan-600: oklch(60.9% 0.126 221.723);
--color-cyan-700: oklch(52% 0.105 223.128);
--color-cyan-800: oklch(45% 0.085 224.283);
--color-cyan-900: oklch(39.8% 0.07 227.392);
--color-cyan-950: oklch(30.2% 0.056 229.695);
--color-sky-50: oklch(97.7% 0.013 236.62);
--color-sky-100: oklch(95.1% 0.026 236.824);
--color-sky-200: oklch(90.1% 0.058 230.902);
--color-sky-300: oklch(82.8% 0.111 230.318);
--color-sky-400: oklch(74.6% 0.16 232.661);
--color-sky-500: oklch(68.5% 0.169 237.323);
--color-sky-600: oklch(58.8% 0.158 241.966);
--color-sky-700: oklch(50% 0.134 242.749);
--color-sky-800: oklch(44.3% 0.11 240.79);
--color-sky-900: oklch(39.1% 0.09 240.876);
--color-sky-950: oklch(29.3% 0.066 243.157);
--color-blue-50: oklch(97% 0.014 254.604);
--color-blue-100: oklch(93.2% 0.032 255.585);
--color-blue-200: oklch(88.2% 0.059 254.128);
--color-blue-300: oklch(80.9% 0.105 251.813);
--color-blue-400: oklch(70.7% 0.165 254.624);
--color-blue-500: oklch(62.3% 0.214 259.815);
--color-blue-600: oklch(54.6% 0.245 262.881);
--color-blue-700: oklch(48.8% 0.243 264.376);
--color-blue-800: oklch(42.4% 0.199 265.638);
--color-blue-900: oklch(37.9% 0.146 265.522);
--color-blue-950: oklch(28.2% 0.091 267.935);
--color-indigo-50: oklch(96.2% 0.018 272.314);
--color-indigo-100: oklch(93% 0.034 272.788);
--color-indigo-200: oklch(87% 0.065 274.039);
--color-indigo-300: oklch(78.5% 0.115 274.713);
--color-indigo-400: oklch(67.3% 0.182 276.935);
--color-indigo-500: oklch(58.5% 0.233 277.117);
--color-indigo-600: oklch(51.1% 0.262 276.966);
--color-indigo-700: oklch(45.7% 0.24 277.023);
--color-indigo-800: oklch(39.8% 0.195 277.366);
--color-indigo-900: oklch(35.9% 0.144 278.697);
--color-indigo-950: oklch(25.7% 0.09 281.288);
--color-violet-50: oklch(96.9% 0.016 293.756);
--color-violet-100: oklch(94.3% 0.029 294.588);
--color-violet-200: oklch(89.4% 0.057 293.283);
--color-violet-300: oklch(81.1% 0.111 293.571);
--color-violet-400: oklch(70.2% 0.183 293.541);
--color-violet-500: oklch(60.6% 0.25 292.717);
--color-violet-600: oklch(54.1% 0.281 293.009);
--color-violet-700: oklch(49.1% 0.27 292.581);
--color-violet-800: oklch(43.2% 0.232 292.759);
--color-violet-900: oklch(38% 0.189 293.745);
--color-violet-950: oklch(28.3% 0.141 291.089);
--color-purple-50: oklch(97.7% 0.014 308.299);
--color-purple-100: oklch(94.6% 0.033 307.174);
--color-purple-200: oklch(90.2% 0.063 306.703);
--color-purple-300: oklch(82.7% 0.119 306.383);
--color-purple-400: oklch(71.4% 0.203 305.504);
--color-purple-500: oklch(62.7% 0.265 303.9);
--color-purple-600: oklch(55.8% 0.288 302.321);
--color-purple-700: oklch(49.6% 0.265 301.924);
--color-purple-800: oklch(43.8% 0.218 303.724);
--color-purple-900: oklch(38.1% 0.176 304.987);
--color-purple-950: oklch(29.1% 0.149 302.717);
--color-fuchsia-50: oklch(97.7% 0.017 320.058);
--color-fuchsia-100: oklch(95.2% 0.037 318.852);
--color-fuchsia-200: oklch(90.3% 0.076 319.62);
--color-fuchsia-300: oklch(83.3% 0.145 321.434);
--color-fuchsia-400: oklch(74% 0.238 322.16);
--color-fuchsia-500: oklch(66.7% 0.295 322.15);
--color-fuchsia-600: oklch(59.1% 0.293 322.896);
--color-fuchsia-700: oklch(51.8% 0.253 323.949);
--color-fuchsia-800: oklch(45.2% 0.211 324.591);
--color-fuchsia-900: oklch(40.1% 0.17 325.612);
--color-fuchsia-950: oklch(29.3% 0.136 325.661);
--color-pink-50: oklch(97.1% 0.014 343.198);
--color-pink-100: oklch(94.8% 0.028 342.258);
--color-pink-200: oklch(89.9% 0.061 343.231);
--color-pink-300: oklch(82.3% 0.12 346.018);
--color-pink-400: oklch(71.8% 0.202 349.761);
--color-pink-500: oklch(65.6% 0.241 354.308);
--color-pink-600: oklch(59.2% 0.249 0.584);
--color-pink-700: oklch(52.5% 0.223 3.958);
--color-pink-800: oklch(45.9% 0.187 3.815);
--color-pink-900: oklch(40.8% 0.153 2.432);
--color-pink-950: oklch(28.4% 0.109 3.907);
--color-rose-50: oklch(96.9% 0.015 12.422);
--color-rose-100: oklch(94.1% 0.03 12.58);
--color-rose-200: oklch(89.2% 0.058 10.001);
--color-rose-300: oklch(81% 0.117 11.638);
--color-rose-400: oklch(71.2% 0.194 13.428);
--color-rose-500: oklch(64.5% 0.246 16.439);
--color-rose-600: oklch(58.6% 0.253 17.585);
--color-rose-700: oklch(51.4% 0.222 16.935);
--color-rose-800: oklch(45.5% 0.188 13.697);
--color-rose-900: oklch(41% 0.159 10.272);
--color-rose-950: oklch(27.1% 0.105 12.094);
--color-slate-50: oklch(98.4% 0.003 247.858);
--color-slate-100: oklch(96.8% 0.007 247.896);
--color-slate-200: oklch(92.9% 0.013 255.508);
--color-slate-300: oklch(86.9% 0.022 252.894);
--color-slate-400: oklch(70.4% 0.04 256.788);
--color-slate-500: oklch(55.4% 0.046 257.417);
--color-slate-600: oklch(44.6% 0.043 257.281);
--color-slate-700: oklch(37.2% 0.044 257.287);
--color-slate-800: oklch(27.9% 0.041 260.031);
--color-slate-900: oklch(20.8% 0.042 265.755);
--color-slate-950: oklch(12.9% 0.042 264.695);
--color-gray-50: oklch(98.5% 0.002 247.839);
--color-gray-100: oklch(96.7% 0.003 264.542);
--color-gray-200: oklch(92.8% 0.006 264.531);
--color-gray-300: oklch(87.2% 0.01 258.338);
--color-gray-400: oklch(70.7% 0.022 261.325);
--color-gray-500: oklch(55.1% 0.027 264.364);
--color-gray-600: oklch(44.6% 0.03 256.802);
--color-gray-700: oklch(37.3% 0.034 259.733);
--color-gray-800: oklch(27.8% 0.033 256.848);
--color-gray-900: oklch(21% 0.034 264.665);
--color-gray-950: oklch(13% 0.028 261.692);
--color-zinc-50: oklch(98.5% 0 0);
--color-zinc-100: oklch(96.7% 0.001 286.375);
--color-zinc-200: oklch(92% 0.004 286.32);
--color-zinc-300: oklch(87.1% 0.006 286.286);
--color-zinc-400: oklch(70.5% 0.015 286.067);
--color-zinc-500: oklch(55.2% 0.016 285.938);
--color-zinc-600: oklch(44.2% 0.017 285.786);
--color-zinc-700: oklch(37% 0.013 285.805);
--color-zinc-800: oklch(27.4% 0.006 286.033);
--color-zinc-900: oklch(21% 0.006 285.885);
--color-zinc-950: oklch(14.1% 0.005 285.823);
--color-neutral-50: oklch(98.5% 0 0);
--color-neutral-100: oklch(97% 0 0);
--color-neutral-200: oklch(92.2% 0 0);
--color-neutral-300: oklch(87% 0 0);
--color-neutral-400: oklch(70.8% 0 0);
--color-neutral-500: oklch(55.6% 0 0);
--color-neutral-600: oklch(43.9% 0 0);
--color-neutral-700: oklch(37.1% 0 0);
--color-neutral-800: oklch(26.9% 0 0);
--color-neutral-900: oklch(20.5% 0 0);
--color-neutral-950: oklch(14.5% 0 0);
--color-stone-50: oklch(98.5% 0.001 106.423);
--color-stone-100: oklch(97% 0.001 106.424);
--color-stone-200: oklch(92.3% 0.003 48.717);
--color-stone-300: oklch(86.9% 0.005 56.366);
--color-stone-400: oklch(70.9% 0.01 56.259);
--color-stone-500: oklch(55.3% 0.013 58.071);
--color-stone-600: oklch(44.4% 0.011 73.639);
--color-stone-700: oklch(37.4% 0.01 67.558);
--color-stone-800: oklch(26.8% 0.007 34.298);
--color-stone-900: oklch(21.6% 0.006 56.043);
--color-stone-950: oklch(14.7% 0.004 49.25);
--color-black: #000;
--color-white: #fff;
--spacing: 0.25rem;
--breakpoint-sm: 40rem;
--breakpoint-md: 48rem;
--breakpoint-lg: 64rem;
--breakpoint-xl: 80rem;
--breakpoint-2xl: 96rem;
--container-3xs: 16rem;
--container-2xs: 18rem;
--container-xs: 20rem;
--container-sm: 24rem;
--container-md: 28rem;
--container-lg: 32rem;
--container-xl: 36rem;
--container-2xl: 42rem;
--container-3xl: 48rem;
--container-4xl: 56rem;
--container-5xl: 64rem;
--container-6xl: 72rem;
--container-7xl: 80rem;
--text-xs: 0.75rem;
--text-xs--line-height: calc(1 / 0.75);
--text-sm: 0.875rem;
--text-sm--line-height: calc(1.25 / 0.875);
--text-base: 1rem;
--text-base--line-height: calc(1.5 / 1);
--text-lg: 1.125rem;
--text-lg--line-height: calc(1.75 / 1.125);
--text-xl: 1.25rem;
--text-xl--line-height: calc(1.75 / 1.25);
--text-2xl: 1.5rem;
--text-2xl--line-height: calc(2 / 1.5);
--text-3xl: 1.875rem;
--text-3xl--line-height: calc(2.25 / 1.875);
--text-4xl: 2.25rem;
--text-4xl--line-height: calc(2.5 / 2.25);
--text-5xl: 3rem;
--text-5xl--line-height: 1;
--text-6xl: 3.75rem;
--text-6xl--line-height: 1;
--text-7xl: 4.5rem;
--text-7xl--line-height: 1;
--text-8xl: 6rem;
--text-8xl--line-height: 1;
--text-9xl: 8rem;
--text-9xl--line-height: 1;
--font-weight-thin: 100;
--font-weight-extralight: 200;
--font-weight-light: 300;
--font-weight-normal: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--font-weight-bold: 700;
--font-weight-extrabold: 800;
--font-weight-black: 900;
--tracking-tighter: -0.05em;
--tracking-tight: -0.025em;
--tracking-normal: 0em;
--tracking-wide: 0.025em;
--tracking-wider: 0.05em;
--tracking-widest: 0.1em;
--leading-tight: 1.25;
--leading-snug: 1.375;
--leading-normal: 1.5;
--leading-relaxed: 1.625;
--leading-loose: 2;
--radius-xs: 0.125rem;
--radius-sm: 0.25rem;
--radius-md: 0.375rem;
--radius-lg: 0.5rem;
--radius-xl: 0.75rem;
--radius-2xl: 1rem;
--radius-3xl: 1.5rem;
--radius-4xl: 2rem;
--shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--shadow-md:
0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--shadow-lg:
0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--shadow-xl:
0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
--inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
--drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
--drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
--text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);
--text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);
--text-shadow-sm:
0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075),
0px 2px 2px rgb(0 0 0 / 0.075);
--text-shadow-md:
0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1),
0px 2px 4px rgb(0 0 0 / 0.1);
--text-shadow-lg:
0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1),
0px 4px 8px rgb(0 0 0 / 0.1);
--ease-in: cubic-bezier(0.4, 0, 1, 1);
--ease-out: cubic-bezier(0, 0, 0.2, 1);
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
--animate-spin: spin 1s linear infinite;
--animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
--animate-bounce: bounce 1s infinite;
@keyframes spin {
to {
transform: rotate(360deg);
}
}
@keyframes ping {
75%,
100% {
transform: scale(2);
opacity: 0;
}
}
@keyframes pulse {
50% {
opacity: 0.5;
}
}
@keyframes bounce {
0%,
100% {
transform: translateY(-25%);
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
}
50% {
transform: none;
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
}
--blur-xs: 4px;
--blur-sm: 8px;
--blur-md: 12px;
--blur-lg: 16px;
--blur-xl: 24px;
--blur-2xl: 40px;
--blur-3xl: 64px;
--perspective-dramatic: 100px;
--perspective-near: 300px;
--perspective-normal: 500px;
--perspective-midrange: 800px;
--perspective-distant: 1200px;
--aspect-video: 16 / 9;
--default-transition-duration: 150ms;
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
--default-font-family: --theme(--font-sans, initial);
--default-font-feature-settings: --theme(
--font-sans--font-feature-settings,
initial
);
--default-font-variation-settings: --theme(
--font-sans--font-variation-settings,
initial
);
--default-mono-font-family: --theme(--font-mono, initial);
--default-mono-font-feature-settings: --theme(
--font-mono--font-feature-settings,
initial
);
--default-mono-font-variation-settings: --theme(
--font-mono--font-variation-settings,
initial
);
}
/* Deprecated */
@theme default inline reference {
--blur: 8px;
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
--drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);
--radius: 0.25rem;
--max-width-prose: 65ch;
}
}
@layer base {
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Remove default margins and padding
3. Reset all borders.
*/
*,
::after,
::before,
::backdrop,
::file-selector-button {
box-sizing: border-box; /* 1 */
margin: 0; /* 2 */
padding: 0; /* 2 */
border: 0 solid; /* 3 */
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS.
*/
html,
:host {
line-height: 1.5; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
tab-size: 4; /* 3 */
font-family: --theme(
--default-font-family,
ui-sans-serif,
system-ui,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji"
); /* 4 */
font-feature-settings: --theme(
--default-font-feature-settings,
normal
); /* 5 */
font-variation-settings: --theme(
--default-font-variation-settings,
normal
); /* 6 */
-webkit-tap-highlight-color: transparent; /* 7 */
}
/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Reset the default border style to a 1px solid border.
*/
hr {
height: 0; /* 1 */
color: inherit; /* 2 */
border-top-width: 1px; /* 3 */
}
/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
/*
Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: inherit;
font-weight: inherit;
}
/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
color: inherit;
-webkit-text-decoration: inherit;
text-decoration: inherit;
}
/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
font-weight: bolder;
}
/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
font-family: --theme(
--default-mono-font-family,
ui-monospace,
SFMono-Regular,
Menlo,
Monaco,
Consolas,
"Liberation Mono",
"Courier New",
monospace
); /* 1 */
font-feature-settings: --theme(
--default-mono-font-feature-settings,
normal
); /* 2 */
font-variation-settings: --theme(
--default-mono-font-variation-settings,
normal
); /* 3 */
font-size: 1em; /* 4 */
}
/*
Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
text-indent: 0; /* 1 */
border-color: inherit; /* 2 */
border-collapse: collapse; /* 3 */
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
outline: auto;
}
/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
vertical-align: baseline;
}
/*
Add the correct display in Chrome and Safari.
*/
summary {
display: list-item;
}
/*
Make lists unstyled by default.
*/
ol,
ul,
menu {
list-style: none;
}
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
display: block; /* 1 */
vertical-align: middle; /* 2 */
}
/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
max-width: 100%;
height: auto;
}
/*
1. Inherit font styles in all browsers.
2. Remove border radius in all browsers.
3. Remove background color in all browsers.
4. Ensure consistent opacity for disabled states in all browsers.
*/
button,
input,
select,
optgroup,
textarea,
::file-selector-button {
font: inherit; /* 1 */
font-feature-settings: inherit; /* 1 */
font-variation-settings: inherit; /* 1 */
letter-spacing: inherit; /* 1 */
color: inherit; /* 1 */
border-radius: 0; /* 2 */
background-color: transparent; /* 3 */
opacity: 1; /* 4 */
}
/*
Restore default font weight.
*/
:where(select:is([multiple], [size])) optgroup {
font-weight: bolder;
}
/*
Restore indentation.
*/
:where(select:is([multiple], [size])) optgroup option {
padding-inline-start: 20px;
}
/*
Restore space after button.
*/
::file-selector-button {
margin-inline-end: 4px;
}
/*
Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
*/
::placeholder {
opacity: 1;
}
/*
Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
*/
@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
(contain-intrinsic-size: 1px) /* Safari 17+ */ {
::placeholder {
color: color-mix(in oklab, currentcolor 50%, transparent);
}
}
/*
Prevent resizing textareas horizontally by default.
*/
textarea {
resize: vertical;
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
-webkit-appearance: none;
}
/*
1. Ensure date/time inputs have the same height when empty in iOS Safari.
2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
*/
::-webkit-date-and-time-value {
min-height: 1lh; /* 1 */
text-align: inherit; /* 2 */
}
/*
Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.
*/
::-webkit-datetime-edit {
display: inline-flex;
}
/*
Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
*/
::-webkit-datetime-edit-fields-wrapper {
padding: 0;
}
::-webkit-datetime-edit,
::-webkit-datetime-edit-year-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-minute-field,
::-webkit-datetime-edit-second-field,
::-webkit-datetime-edit-millisecond-field,
::-webkit-datetime-edit-meridiem-field {
padding-block: 0;
}
/*
Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
*/
::-webkit-calendar-picker-indicator {
line-height: 1;
}
/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
box-shadow: none;
}
/*
Correct the inability to style the border radius in iOS Safari.
*/
button,
input:where([type="button"], [type="reset"], [type="submit"]),
::file-selector-button {
appearance: button;
}
/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
height: auto;
}
/*
Make elements with the HTML hidden attribute stay hidden by default.
*/
[hidden]:where(:not([hidden="until-found"])) {
display: none !important;
}
}
@layer utilities {
@tailwind utilities;
}
+89
View File
@@ -0,0 +1,89 @@
{
"name": "tailwindcss",
"version": "4.1.14",
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/tailwindlabs/tailwindcss.git",
"directory": "packages/tailwindcss"
},
"bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
"homepage": "https://tailwindcss.com",
"exports": {
".": {
"types": "./dist/lib.d.mts",
"style": "./index.css",
"require": "./dist/lib.js",
"import": "./dist/lib.mjs"
},
"./plugin": {
"require": "./dist/plugin.js",
"import": "./dist/plugin.mjs"
},
"./plugin.js": {
"require": "./dist/plugin.js",
"import": "./dist/plugin.mjs"
},
"./defaultTheme": {
"require": "./dist/default-theme.js",
"import": "./dist/default-theme.mjs"
},
"./defaultTheme.js": {
"require": "./dist/default-theme.js",
"import": "./dist/default-theme.mjs"
},
"./colors": {
"require": "./dist/colors.js",
"import": "./dist/colors.mjs"
},
"./colors.js": {
"require": "./dist/colors.js",
"import": "./dist/colors.mjs"
},
"./lib/util/flattenColorPalette": {
"require": "./dist/flatten-color-palette.js",
"import": "./dist/flatten-color-palette.mjs"
},
"./lib/util/flattenColorPalette.js": {
"require": "./dist/flatten-color-palette.js",
"import": "./dist/flatten-color-palette.mjs"
},
"./package.json": "./package.json",
"./index.css": "./index.css",
"./index": "./index.css",
"./preflight.css": "./preflight.css",
"./preflight": "./preflight.css",
"./theme.css": "./theme.css",
"./theme": "./theme.css",
"./utilities.css": "./utilities.css",
"./utilities": "./utilities.css"
},
"publishConfig": {
"provenance": true,
"access": "public"
},
"style": "index.css",
"files": [
"dist",
"index.css",
"preflight.css",
"theme.css",
"utilities.css"
],
"devDependencies": {
"@jridgewell/remapping": "^2.3.4",
"@types/node": "^20.19.0",
"dedent": "1.7.0",
"lightningcss": "1.30.1",
"magic-string": "^0.30.19",
"source-map-js": "^1.2.1",
"@tailwindcss/oxide": "^4.1.14"
},
"scripts": {
"lint": "tsc --noEmit",
"build": "tsup-node --env.NODE_ENV production",
"dev": "tsup-node --env.NODE_ENV development --watch",
"test:ui": "playwright test"
}
}
+393
View File
@@ -0,0 +1,393 @@
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Remove default margins and padding
3. Reset all borders.
*/
*,
::after,
::before,
::backdrop,
::file-selector-button {
box-sizing: border-box; /* 1 */
margin: 0; /* 2 */
padding: 0; /* 2 */
border: 0 solid; /* 3 */
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS.
*/
html,
:host {
line-height: 1.5; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
tab-size: 4; /* 3 */
font-family: --theme(
--default-font-family,
ui-sans-serif,
system-ui,
sans-serif,
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji'
); /* 4 */
font-feature-settings: --theme(--default-font-feature-settings, normal); /* 5 */
font-variation-settings: --theme(--default-font-variation-settings, normal); /* 6 */
-webkit-tap-highlight-color: transparent; /* 7 */
}
/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Reset the default border style to a 1px solid border.
*/
hr {
height: 0; /* 1 */
color: inherit; /* 2 */
border-top-width: 1px; /* 3 */
}
/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
/*
Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: inherit;
font-weight: inherit;
}
/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
color: inherit;
-webkit-text-decoration: inherit;
text-decoration: inherit;
}
/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
font-weight: bolder;
}
/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
font-family: --theme(
--default-mono-font-family,
ui-monospace,
SFMono-Regular,
Menlo,
Monaco,
Consolas,
'Liberation Mono',
'Courier New',
monospace
); /* 1 */
font-feature-settings: --theme(--default-mono-font-feature-settings, normal); /* 2 */
font-variation-settings: --theme(--default-mono-font-variation-settings, normal); /* 3 */
font-size: 1em; /* 4 */
}
/*
Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
text-indent: 0; /* 1 */
border-color: inherit; /* 2 */
border-collapse: collapse; /* 3 */
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
outline: auto;
}
/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
vertical-align: baseline;
}
/*
Add the correct display in Chrome and Safari.
*/
summary {
display: list-item;
}
/*
Make lists unstyled by default.
*/
ol,
ul,
menu {
list-style: none;
}
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
display: block; /* 1 */
vertical-align: middle; /* 2 */
}
/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
max-width: 100%;
height: auto;
}
/*
1. Inherit font styles in all browsers.
2. Remove border radius in all browsers.
3. Remove background color in all browsers.
4. Ensure consistent opacity for disabled states in all browsers.
*/
button,
input,
select,
optgroup,
textarea,
::file-selector-button {
font: inherit; /* 1 */
font-feature-settings: inherit; /* 1 */
font-variation-settings: inherit; /* 1 */
letter-spacing: inherit; /* 1 */
color: inherit; /* 1 */
border-radius: 0; /* 2 */
background-color: transparent; /* 3 */
opacity: 1; /* 4 */
}
/*
Restore default font weight.
*/
:where(select:is([multiple], [size])) optgroup {
font-weight: bolder;
}
/*
Restore indentation.
*/
:where(select:is([multiple], [size])) optgroup option {
padding-inline-start: 20px;
}
/*
Restore space after button.
*/
::file-selector-button {
margin-inline-end: 4px;
}
/*
Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
*/
::placeholder {
opacity: 1;
}
/*
Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
*/
@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
(contain-intrinsic-size: 1px) /* Safari 17+ */ {
::placeholder {
color: color-mix(in oklab, currentcolor 50%, transparent);
}
}
/*
Prevent resizing textareas horizontally by default.
*/
textarea {
resize: vertical;
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
-webkit-appearance: none;
}
/*
1. Ensure date/time inputs have the same height when empty in iOS Safari.
2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
*/
::-webkit-date-and-time-value {
min-height: 1lh; /* 1 */
text-align: inherit; /* 2 */
}
/*
Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.
*/
::-webkit-datetime-edit {
display: inline-flex;
}
/*
Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
*/
::-webkit-datetime-edit-fields-wrapper {
padding: 0;
}
::-webkit-datetime-edit,
::-webkit-datetime-edit-year-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-minute-field,
::-webkit-datetime-edit-second-field,
::-webkit-datetime-edit-millisecond-field,
::-webkit-datetime-edit-meridiem-field {
padding-block: 0;
}
/*
Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
*/
::-webkit-calendar-picker-indicator {
line-height: 1;
}
/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
box-shadow: none;
}
/*
Correct the inability to style the border radius in iOS Safari.
*/
button,
input:where([type='button'], [type='reset'], [type='submit']),
::file-selector-button {
appearance: button;
}
/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
height: auto;
}
/*
Make elements with the HTML hidden attribute stay hidden by default.
*/
[hidden]:where(:not([hidden='until-found'])) {
display: none !important;
}
+462
View File
@@ -0,0 +1,462 @@
@theme default {
--font-sans:
ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji';
--font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
--font-mono:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
monospace;
--color-red-50: oklch(97.1% 0.013 17.38);
--color-red-100: oklch(93.6% 0.032 17.717);
--color-red-200: oklch(88.5% 0.062 18.334);
--color-red-300: oklch(80.8% 0.114 19.571);
--color-red-400: oklch(70.4% 0.191 22.216);
--color-red-500: oklch(63.7% 0.237 25.331);
--color-red-600: oklch(57.7% 0.245 27.325);
--color-red-700: oklch(50.5% 0.213 27.518);
--color-red-800: oklch(44.4% 0.177 26.899);
--color-red-900: oklch(39.6% 0.141 25.723);
--color-red-950: oklch(25.8% 0.092 26.042);
--color-orange-50: oklch(98% 0.016 73.684);
--color-orange-100: oklch(95.4% 0.038 75.164);
--color-orange-200: oklch(90.1% 0.076 70.697);
--color-orange-300: oklch(83.7% 0.128 66.29);
--color-orange-400: oklch(75% 0.183 55.934);
--color-orange-500: oklch(70.5% 0.213 47.604);
--color-orange-600: oklch(64.6% 0.222 41.116);
--color-orange-700: oklch(55.3% 0.195 38.402);
--color-orange-800: oklch(47% 0.157 37.304);
--color-orange-900: oklch(40.8% 0.123 38.172);
--color-orange-950: oklch(26.6% 0.079 36.259);
--color-amber-50: oklch(98.7% 0.022 95.277);
--color-amber-100: oklch(96.2% 0.059 95.617);
--color-amber-200: oklch(92.4% 0.12 95.746);
--color-amber-300: oklch(87.9% 0.169 91.605);
--color-amber-400: oklch(82.8% 0.189 84.429);
--color-amber-500: oklch(76.9% 0.188 70.08);
--color-amber-600: oklch(66.6% 0.179 58.318);
--color-amber-700: oklch(55.5% 0.163 48.998);
--color-amber-800: oklch(47.3% 0.137 46.201);
--color-amber-900: oklch(41.4% 0.112 45.904);
--color-amber-950: oklch(27.9% 0.077 45.635);
--color-yellow-50: oklch(98.7% 0.026 102.212);
--color-yellow-100: oklch(97.3% 0.071 103.193);
--color-yellow-200: oklch(94.5% 0.129 101.54);
--color-yellow-300: oklch(90.5% 0.182 98.111);
--color-yellow-400: oklch(85.2% 0.199 91.936);
--color-yellow-500: oklch(79.5% 0.184 86.047);
--color-yellow-600: oklch(68.1% 0.162 75.834);
--color-yellow-700: oklch(55.4% 0.135 66.442);
--color-yellow-800: oklch(47.6% 0.114 61.907);
--color-yellow-900: oklch(42.1% 0.095 57.708);
--color-yellow-950: oklch(28.6% 0.066 53.813);
--color-lime-50: oklch(98.6% 0.031 120.757);
--color-lime-100: oklch(96.7% 0.067 122.328);
--color-lime-200: oklch(93.8% 0.127 124.321);
--color-lime-300: oklch(89.7% 0.196 126.665);
--color-lime-400: oklch(84.1% 0.238 128.85);
--color-lime-500: oklch(76.8% 0.233 130.85);
--color-lime-600: oklch(64.8% 0.2 131.684);
--color-lime-700: oklch(53.2% 0.157 131.589);
--color-lime-800: oklch(45.3% 0.124 130.933);
--color-lime-900: oklch(40.5% 0.101 131.063);
--color-lime-950: oklch(27.4% 0.072 132.109);
--color-green-50: oklch(98.2% 0.018 155.826);
--color-green-100: oklch(96.2% 0.044 156.743);
--color-green-200: oklch(92.5% 0.084 155.995);
--color-green-300: oklch(87.1% 0.15 154.449);
--color-green-400: oklch(79.2% 0.209 151.711);
--color-green-500: oklch(72.3% 0.219 149.579);
--color-green-600: oklch(62.7% 0.194 149.214);
--color-green-700: oklch(52.7% 0.154 150.069);
--color-green-800: oklch(44.8% 0.119 151.328);
--color-green-900: oklch(39.3% 0.095 152.535);
--color-green-950: oklch(26.6% 0.065 152.934);
--color-emerald-50: oklch(97.9% 0.021 166.113);
--color-emerald-100: oklch(95% 0.052 163.051);
--color-emerald-200: oklch(90.5% 0.093 164.15);
--color-emerald-300: oklch(84.5% 0.143 164.978);
--color-emerald-400: oklch(76.5% 0.177 163.223);
--color-emerald-500: oklch(69.6% 0.17 162.48);
--color-emerald-600: oklch(59.6% 0.145 163.225);
--color-emerald-700: oklch(50.8% 0.118 165.612);
--color-emerald-800: oklch(43.2% 0.095 166.913);
--color-emerald-900: oklch(37.8% 0.077 168.94);
--color-emerald-950: oklch(26.2% 0.051 172.552);
--color-teal-50: oklch(98.4% 0.014 180.72);
--color-teal-100: oklch(95.3% 0.051 180.801);
--color-teal-200: oklch(91% 0.096 180.426);
--color-teal-300: oklch(85.5% 0.138 181.071);
--color-teal-400: oklch(77.7% 0.152 181.912);
--color-teal-500: oklch(70.4% 0.14 182.503);
--color-teal-600: oklch(60% 0.118 184.704);
--color-teal-700: oklch(51.1% 0.096 186.391);
--color-teal-800: oklch(43.7% 0.078 188.216);
--color-teal-900: oklch(38.6% 0.063 188.416);
--color-teal-950: oklch(27.7% 0.046 192.524);
--color-cyan-50: oklch(98.4% 0.019 200.873);
--color-cyan-100: oklch(95.6% 0.045 203.388);
--color-cyan-200: oklch(91.7% 0.08 205.041);
--color-cyan-300: oklch(86.5% 0.127 207.078);
--color-cyan-400: oklch(78.9% 0.154 211.53);
--color-cyan-500: oklch(71.5% 0.143 215.221);
--color-cyan-600: oklch(60.9% 0.126 221.723);
--color-cyan-700: oklch(52% 0.105 223.128);
--color-cyan-800: oklch(45% 0.085 224.283);
--color-cyan-900: oklch(39.8% 0.07 227.392);
--color-cyan-950: oklch(30.2% 0.056 229.695);
--color-sky-50: oklch(97.7% 0.013 236.62);
--color-sky-100: oklch(95.1% 0.026 236.824);
--color-sky-200: oklch(90.1% 0.058 230.902);
--color-sky-300: oklch(82.8% 0.111 230.318);
--color-sky-400: oklch(74.6% 0.16 232.661);
--color-sky-500: oklch(68.5% 0.169 237.323);
--color-sky-600: oklch(58.8% 0.158 241.966);
--color-sky-700: oklch(50% 0.134 242.749);
--color-sky-800: oklch(44.3% 0.11 240.79);
--color-sky-900: oklch(39.1% 0.09 240.876);
--color-sky-950: oklch(29.3% 0.066 243.157);
--color-blue-50: oklch(97% 0.014 254.604);
--color-blue-100: oklch(93.2% 0.032 255.585);
--color-blue-200: oklch(88.2% 0.059 254.128);
--color-blue-300: oklch(80.9% 0.105 251.813);
--color-blue-400: oklch(70.7% 0.165 254.624);
--color-blue-500: oklch(62.3% 0.214 259.815);
--color-blue-600: oklch(54.6% 0.245 262.881);
--color-blue-700: oklch(48.8% 0.243 264.376);
--color-blue-800: oklch(42.4% 0.199 265.638);
--color-blue-900: oklch(37.9% 0.146 265.522);
--color-blue-950: oklch(28.2% 0.091 267.935);
--color-indigo-50: oklch(96.2% 0.018 272.314);
--color-indigo-100: oklch(93% 0.034 272.788);
--color-indigo-200: oklch(87% 0.065 274.039);
--color-indigo-300: oklch(78.5% 0.115 274.713);
--color-indigo-400: oklch(67.3% 0.182 276.935);
--color-indigo-500: oklch(58.5% 0.233 277.117);
--color-indigo-600: oklch(51.1% 0.262 276.966);
--color-indigo-700: oklch(45.7% 0.24 277.023);
--color-indigo-800: oklch(39.8% 0.195 277.366);
--color-indigo-900: oklch(35.9% 0.144 278.697);
--color-indigo-950: oklch(25.7% 0.09 281.288);
--color-violet-50: oklch(96.9% 0.016 293.756);
--color-violet-100: oklch(94.3% 0.029 294.588);
--color-violet-200: oklch(89.4% 0.057 293.283);
--color-violet-300: oklch(81.1% 0.111 293.571);
--color-violet-400: oklch(70.2% 0.183 293.541);
--color-violet-500: oklch(60.6% 0.25 292.717);
--color-violet-600: oklch(54.1% 0.281 293.009);
--color-violet-700: oklch(49.1% 0.27 292.581);
--color-violet-800: oklch(43.2% 0.232 292.759);
--color-violet-900: oklch(38% 0.189 293.745);
--color-violet-950: oklch(28.3% 0.141 291.089);
--color-purple-50: oklch(97.7% 0.014 308.299);
--color-purple-100: oklch(94.6% 0.033 307.174);
--color-purple-200: oklch(90.2% 0.063 306.703);
--color-purple-300: oklch(82.7% 0.119 306.383);
--color-purple-400: oklch(71.4% 0.203 305.504);
--color-purple-500: oklch(62.7% 0.265 303.9);
--color-purple-600: oklch(55.8% 0.288 302.321);
--color-purple-700: oklch(49.6% 0.265 301.924);
--color-purple-800: oklch(43.8% 0.218 303.724);
--color-purple-900: oklch(38.1% 0.176 304.987);
--color-purple-950: oklch(29.1% 0.149 302.717);
--color-fuchsia-50: oklch(97.7% 0.017 320.058);
--color-fuchsia-100: oklch(95.2% 0.037 318.852);
--color-fuchsia-200: oklch(90.3% 0.076 319.62);
--color-fuchsia-300: oklch(83.3% 0.145 321.434);
--color-fuchsia-400: oklch(74% 0.238 322.16);
--color-fuchsia-500: oklch(66.7% 0.295 322.15);
--color-fuchsia-600: oklch(59.1% 0.293 322.896);
--color-fuchsia-700: oklch(51.8% 0.253 323.949);
--color-fuchsia-800: oklch(45.2% 0.211 324.591);
--color-fuchsia-900: oklch(40.1% 0.17 325.612);
--color-fuchsia-950: oklch(29.3% 0.136 325.661);
--color-pink-50: oklch(97.1% 0.014 343.198);
--color-pink-100: oklch(94.8% 0.028 342.258);
--color-pink-200: oklch(89.9% 0.061 343.231);
--color-pink-300: oklch(82.3% 0.12 346.018);
--color-pink-400: oklch(71.8% 0.202 349.761);
--color-pink-500: oklch(65.6% 0.241 354.308);
--color-pink-600: oklch(59.2% 0.249 0.584);
--color-pink-700: oklch(52.5% 0.223 3.958);
--color-pink-800: oklch(45.9% 0.187 3.815);
--color-pink-900: oklch(40.8% 0.153 2.432);
--color-pink-950: oklch(28.4% 0.109 3.907);
--color-rose-50: oklch(96.9% 0.015 12.422);
--color-rose-100: oklch(94.1% 0.03 12.58);
--color-rose-200: oklch(89.2% 0.058 10.001);
--color-rose-300: oklch(81% 0.117 11.638);
--color-rose-400: oklch(71.2% 0.194 13.428);
--color-rose-500: oklch(64.5% 0.246 16.439);
--color-rose-600: oklch(58.6% 0.253 17.585);
--color-rose-700: oklch(51.4% 0.222 16.935);
--color-rose-800: oklch(45.5% 0.188 13.697);
--color-rose-900: oklch(41% 0.159 10.272);
--color-rose-950: oklch(27.1% 0.105 12.094);
--color-slate-50: oklch(98.4% 0.003 247.858);
--color-slate-100: oklch(96.8% 0.007 247.896);
--color-slate-200: oklch(92.9% 0.013 255.508);
--color-slate-300: oklch(86.9% 0.022 252.894);
--color-slate-400: oklch(70.4% 0.04 256.788);
--color-slate-500: oklch(55.4% 0.046 257.417);
--color-slate-600: oklch(44.6% 0.043 257.281);
--color-slate-700: oklch(37.2% 0.044 257.287);
--color-slate-800: oklch(27.9% 0.041 260.031);
--color-slate-900: oklch(20.8% 0.042 265.755);
--color-slate-950: oklch(12.9% 0.042 264.695);
--color-gray-50: oklch(98.5% 0.002 247.839);
--color-gray-100: oklch(96.7% 0.003 264.542);
--color-gray-200: oklch(92.8% 0.006 264.531);
--color-gray-300: oklch(87.2% 0.01 258.338);
--color-gray-400: oklch(70.7% 0.022 261.325);
--color-gray-500: oklch(55.1% 0.027 264.364);
--color-gray-600: oklch(44.6% 0.03 256.802);
--color-gray-700: oklch(37.3% 0.034 259.733);
--color-gray-800: oklch(27.8% 0.033 256.848);
--color-gray-900: oklch(21% 0.034 264.665);
--color-gray-950: oklch(13% 0.028 261.692);
--color-zinc-50: oklch(98.5% 0 0);
--color-zinc-100: oklch(96.7% 0.001 286.375);
--color-zinc-200: oklch(92% 0.004 286.32);
--color-zinc-300: oklch(87.1% 0.006 286.286);
--color-zinc-400: oklch(70.5% 0.015 286.067);
--color-zinc-500: oklch(55.2% 0.016 285.938);
--color-zinc-600: oklch(44.2% 0.017 285.786);
--color-zinc-700: oklch(37% 0.013 285.805);
--color-zinc-800: oklch(27.4% 0.006 286.033);
--color-zinc-900: oklch(21% 0.006 285.885);
--color-zinc-950: oklch(14.1% 0.005 285.823);
--color-neutral-50: oklch(98.5% 0 0);
--color-neutral-100: oklch(97% 0 0);
--color-neutral-200: oklch(92.2% 0 0);
--color-neutral-300: oklch(87% 0 0);
--color-neutral-400: oklch(70.8% 0 0);
--color-neutral-500: oklch(55.6% 0 0);
--color-neutral-600: oklch(43.9% 0 0);
--color-neutral-700: oklch(37.1% 0 0);
--color-neutral-800: oklch(26.9% 0 0);
--color-neutral-900: oklch(20.5% 0 0);
--color-neutral-950: oklch(14.5% 0 0);
--color-stone-50: oklch(98.5% 0.001 106.423);
--color-stone-100: oklch(97% 0.001 106.424);
--color-stone-200: oklch(92.3% 0.003 48.717);
--color-stone-300: oklch(86.9% 0.005 56.366);
--color-stone-400: oklch(70.9% 0.01 56.259);
--color-stone-500: oklch(55.3% 0.013 58.071);
--color-stone-600: oklch(44.4% 0.011 73.639);
--color-stone-700: oklch(37.4% 0.01 67.558);
--color-stone-800: oklch(26.8% 0.007 34.298);
--color-stone-900: oklch(21.6% 0.006 56.043);
--color-stone-950: oklch(14.7% 0.004 49.25);
--color-black: #000;
--color-white: #fff;
--spacing: 0.25rem;
--breakpoint-sm: 40rem;
--breakpoint-md: 48rem;
--breakpoint-lg: 64rem;
--breakpoint-xl: 80rem;
--breakpoint-2xl: 96rem;
--container-3xs: 16rem;
--container-2xs: 18rem;
--container-xs: 20rem;
--container-sm: 24rem;
--container-md: 28rem;
--container-lg: 32rem;
--container-xl: 36rem;
--container-2xl: 42rem;
--container-3xl: 48rem;
--container-4xl: 56rem;
--container-5xl: 64rem;
--container-6xl: 72rem;
--container-7xl: 80rem;
--text-xs: 0.75rem;
--text-xs--line-height: calc(1 / 0.75);
--text-sm: 0.875rem;
--text-sm--line-height: calc(1.25 / 0.875);
--text-base: 1rem;
--text-base--line-height: calc(1.5 / 1);
--text-lg: 1.125rem;
--text-lg--line-height: calc(1.75 / 1.125);
--text-xl: 1.25rem;
--text-xl--line-height: calc(1.75 / 1.25);
--text-2xl: 1.5rem;
--text-2xl--line-height: calc(2 / 1.5);
--text-3xl: 1.875rem;
--text-3xl--line-height: calc(2.25 / 1.875);
--text-4xl: 2.25rem;
--text-4xl--line-height: calc(2.5 / 2.25);
--text-5xl: 3rem;
--text-5xl--line-height: 1;
--text-6xl: 3.75rem;
--text-6xl--line-height: 1;
--text-7xl: 4.5rem;
--text-7xl--line-height: 1;
--text-8xl: 6rem;
--text-8xl--line-height: 1;
--text-9xl: 8rem;
--text-9xl--line-height: 1;
--font-weight-thin: 100;
--font-weight-extralight: 200;
--font-weight-light: 300;
--font-weight-normal: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--font-weight-bold: 700;
--font-weight-extrabold: 800;
--font-weight-black: 900;
--tracking-tighter: -0.05em;
--tracking-tight: -0.025em;
--tracking-normal: 0em;
--tracking-wide: 0.025em;
--tracking-wider: 0.05em;
--tracking-widest: 0.1em;
--leading-tight: 1.25;
--leading-snug: 1.375;
--leading-normal: 1.5;
--leading-relaxed: 1.625;
--leading-loose: 2;
--radius-xs: 0.125rem;
--radius-sm: 0.25rem;
--radius-md: 0.375rem;
--radius-lg: 0.5rem;
--radius-xl: 0.75rem;
--radius-2xl: 1rem;
--radius-3xl: 1.5rem;
--radius-4xl: 2rem;
--shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
--inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
--drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
--drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
--text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);
--text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);
--text-shadow-sm:
0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075), 0px 2px 2px rgb(0 0 0 / 0.075);
--text-shadow-md:
0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1), 0px 2px 4px rgb(0 0 0 / 0.1);
--text-shadow-lg:
0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1), 0px 4px 8px rgb(0 0 0 / 0.1);
--ease-in: cubic-bezier(0.4, 0, 1, 1);
--ease-out: cubic-bezier(0, 0, 0.2, 1);
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
--animate-spin: spin 1s linear infinite;
--animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
--animate-bounce: bounce 1s infinite;
@keyframes spin {
to {
transform: rotate(360deg);
}
}
@keyframes ping {
75%,
100% {
transform: scale(2);
opacity: 0;
}
}
@keyframes pulse {
50% {
opacity: 0.5;
}
}
@keyframes bounce {
0%,
100% {
transform: translateY(-25%);
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
}
50% {
transform: none;
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
}
--blur-xs: 4px;
--blur-sm: 8px;
--blur-md: 12px;
--blur-lg: 16px;
--blur-xl: 24px;
--blur-2xl: 40px;
--blur-3xl: 64px;
--perspective-dramatic: 100px;
--perspective-near: 300px;
--perspective-normal: 500px;
--perspective-midrange: 800px;
--perspective-distant: 1200px;
--aspect-video: 16 / 9;
--default-transition-duration: 150ms;
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
--default-font-family: --theme(--font-sans, initial);
--default-font-feature-settings: --theme(--font-sans--font-feature-settings, initial);
--default-font-variation-settings: --theme(--font-sans--font-variation-settings, initial);
--default-mono-font-family: --theme(--font-mono, initial);
--default-mono-font-feature-settings: --theme(--font-mono--font-feature-settings, initial);
--default-mono-font-variation-settings: --theme(--font-mono--font-variation-settings, initial);
}
/* Deprecated */
@theme default inline reference {
--blur: 8px;
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
--drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);
--radius: 0.25rem;
--max-width-prose: 65ch;
}
+1
View File
@@ -0,0 +1 @@
@tailwind utilities;