@live-codes/browser-compilers 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catppuccin/codemirror/codemirror-theme-catppuccin.js +1 -0
- package/dist/catppuccin/monaco/frappe.json +52 -0
- package/dist/catppuccin/monaco/latte.json +52 -0
- package/dist/catppuccin/monaco/macchiato.json +52 -0
- package/dist/catppuccin/monaco/mocha.json +52 -0
- package/dist/catppuccin/prism/frappe.css +135 -0
- package/dist/catppuccin/prism/latte.css +134 -0
- package/dist/catppuccin/prism/macchiato.css +135 -0
- package/dist/catppuccin/prism/mocha.css +135 -0
- package/package.json +2 -1
- package/scripts/vendors.js +47 -0
- package/vendor-licenses.md +4 -0
- package/vendor_modules/imports/codemirror-theme-catppuccin.js +8 -0
- package/vendor_modules/src/catppuccin/monaco/frappe.json +52 -0
- package/vendor_modules/src/catppuccin/monaco/latte.json +52 -0
- package/vendor_modules/src/catppuccin/monaco/macchiato.json +52 -0
- package/vendor_modules/src/catppuccin/monaco/mocha.json +52 -0
- package/vendor_modules/src/catppuccin/monaco/readme.md +3 -0
- package/vendor_modules/src/catppuccin/prism/frappe.css +135 -0
- package/vendor_modules/src/catppuccin/prism/latte.css +134 -0
- package/vendor_modules/src/catppuccin/prism/macchiato.css +135 -0
- package/vendor_modules/src/catppuccin/prism/mocha.css +135 -0
- package/vendor_modules/src/catppuccin/prism/readme.md +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var c={rosewater:{hex:"#dc8a78",rgb:"rgb(220, 138, 120)",hsl:"hsl(11, 59%, 67%)",raw:"220, 138, 120"},flamingo:{hex:"#dd7878",rgb:"rgb(221, 120, 120)",hsl:"hsl(0, 60%, 67%)",raw:"221, 120, 120"},pink:{hex:"#ea76cb",rgb:"rgb(234, 118, 203)",hsl:"hsl(316, 73%, 69%)",raw:"234, 118, 203"},mauve:{hex:"#8839ef",rgb:"rgb(136, 57, 239)",hsl:"hsl(266, 85%, 58%)",raw:"136, 57, 239"},red:{hex:"#d20f39",rgb:"rgb(210, 15, 57)",hsl:"hsl(347, 87%, 44%)",raw:"210, 15, 57"},maroon:{hex:"#e64553",rgb:"rgb(230, 69, 83)",hsl:"hsl(355, 76%, 59%)",raw:"230, 69, 83"},peach:{hex:"#fe640b",rgb:"rgb(254, 100, 11)",hsl:"hsl(22, 99%, 52%)",raw:"254, 100, 11"},yellow:{hex:"#df8e1d",rgb:"rgb(223, 142, 29)",hsl:"hsl(35, 77%, 49%)",raw:"223, 142, 29"},green:{hex:"#40a02b",rgb:"rgb(64, 160, 43)",hsl:"hsl(109, 58%, 40%)",raw:"64, 160, 43"},teal:{hex:"#179299",rgb:"rgb(23, 146, 153)",hsl:"hsl(183, 74%, 35%)",raw:"23, 146, 153"},sky:{hex:"#04a5e5",rgb:"rgb(4, 165, 229)",hsl:"hsl(197, 97%, 46%)",raw:"4, 165, 229"},sapphire:{hex:"#209fb5",rgb:"rgb(32, 159, 181)",hsl:"hsl(189, 70%, 42%)",raw:"32, 159, 181"},blue:{hex:"#1e66f5",rgb:"rgb(30, 102, 245)",hsl:"hsl(220, 91%, 54%)",raw:"30, 102, 245"},lavender:{hex:"#7287fd",rgb:"rgb(114, 135, 253)",hsl:"hsl(231, 97%, 72%)",raw:"114, 135, 253"},text:{hex:"#4c4f69",rgb:"rgb(76, 79, 105)",hsl:"hsl(234, 16%, 35%)",raw:"76, 79, 105"},subtext1:{hex:"#5c5f77",rgb:"rgb(92, 95, 119)",hsl:"hsl(233, 13%, 41%)",raw:"92, 95, 119"},subtext0:{hex:"#6c6f85",rgb:"rgb(108, 111, 133)",hsl:"hsl(233, 10%, 47%)",raw:"108, 111, 133"},overlay2:{hex:"#7c7f93",rgb:"rgb(124, 127, 147)",hsl:"hsl(232, 10%, 53%)",raw:"124, 127, 147"},overlay1:{hex:"#8c8fa1",rgb:"rgb(140, 143, 161)",hsl:"hsl(231, 10%, 59%)",raw:"140, 143, 161"},overlay0:{hex:"#9ca0b0",rgb:"rgb(156, 160, 176)",hsl:"hsl(228, 11%, 65%)",raw:"156, 160, 176"},surface2:{hex:"#acb0be",rgb:"rgb(172, 176, 190)",hsl:"hsl(227, 12%, 71%)",raw:"172, 176, 190"},surface1:{hex:"#bcc0cc",rgb:"rgb(188, 192, 204)",hsl:"hsl(225, 14%, 77%)",raw:"188, 192, 204"},surface0:{hex:"#ccd0da",rgb:"rgb(204, 208, 218)",hsl:"hsl(223, 16%, 83%)",raw:"204, 208, 218"},base:{hex:"#eff1f5",rgb:"rgb(239, 241, 245)",hsl:"hsl(220, 23%, 95%)",raw:"239, 241, 245"},mantle:{hex:"#e6e9ef",rgb:"rgb(230, 233, 239)",hsl:"hsl(220, 22%, 92%)",raw:"230, 233, 239"},crust:{hex:"#dce0e8",rgb:"rgb(220, 224, 232)",hsl:"hsl(220, 21%, 89%)",raw:"220, 224, 232"}},i={rosewater:{hex:"#f2d5cf",rgb:"rgb(242, 213, 207)",hsl:"hsl(10, 57%, 88%)",raw:"242, 213, 207"},flamingo:{hex:"#eebebe",rgb:"rgb(238, 190, 190)",hsl:"hsl(0, 59%, 84%)",raw:"238, 190, 190"},pink:{hex:"#f4b8e4",rgb:"rgb(244, 184, 228)",hsl:"hsl(316, 73%, 84%)",raw:"244, 184, 228"},mauve:{hex:"#ca9ee6",rgb:"rgb(202, 158, 230)",hsl:"hsl(277, 59%, 76%)",raw:"202, 158, 230"},red:{hex:"#e78284",rgb:"rgb(231, 130, 132)",hsl:"hsl(359, 68%, 71%)",raw:"231, 130, 132"},maroon:{hex:"#ea999c",rgb:"rgb(234, 153, 156)",hsl:"hsl(358, 66%, 76%)",raw:"234, 153, 156"},peach:{hex:"#ef9f76",rgb:"rgb(239, 159, 118)",hsl:"hsl(20, 79%, 70%)",raw:"239, 159, 118"},yellow:{hex:"#e5c890",rgb:"rgb(229, 200, 144)",hsl:"hsl(40, 62%, 73%)",raw:"229, 200, 144"},green:{hex:"#a6d189",rgb:"rgb(166, 209, 137)",hsl:"hsl(96, 44%, 68%)",raw:"166, 209, 137"},teal:{hex:"#81c8be",rgb:"rgb(129, 200, 190)",hsl:"hsl(172, 39%, 65%)",raw:"129, 200, 190"},sky:{hex:"#99d1db",rgb:"rgb(153, 209, 219)",hsl:"hsl(189, 48%, 73%)",raw:"153, 209, 219"},sapphire:{hex:"#85c1dc",rgb:"rgb(133, 193, 220)",hsl:"hsl(199, 55%, 69%)",raw:"133, 193, 220"},blue:{hex:"#8caaee",rgb:"rgb(140, 170, 238)",hsl:"hsl(222, 74%, 74%)",raw:"140, 170, 238"},lavender:{hex:"#babbf1",rgb:"rgb(186, 187, 241)",hsl:"hsl(239, 66%, 84%)",raw:"186, 187, 241"},text:{hex:"#c6d0f5",rgb:"rgb(198, 208, 245)",hsl:"hsl(227, 70%, 87%)",raw:"198, 208, 245"},subtext1:{hex:"#b5bfe2",rgb:"rgb(181, 191, 226)",hsl:"hsl(227, 44%, 80%)",raw:"181, 191, 226"},subtext0:{hex:"#a5adce",rgb:"rgb(165, 173, 206)",hsl:"hsl(228, 29%, 73%)",raw:"165, 173, 206"},overlay2:{hex:"#949cbb",rgb:"rgb(148, 156, 187)",hsl:"hsl(228, 22%, 66%)",raw:"148, 156, 187"},overlay1:{hex:"#838ba7",rgb:"rgb(131, 139, 167)",hsl:"hsl(227, 17%, 58%)",raw:"131, 139, 167"},overlay0:{hex:"#737994",rgb:"rgb(115, 121, 148)",hsl:"hsl(229, 13%, 52%)",raw:"115, 121, 148"},surface2:{hex:"#626880",rgb:"rgb(98, 104, 128)",hsl:"hsl(228, 13%, 44%)",raw:"98, 104, 128"},surface1:{hex:"#51576d",rgb:"rgb(81, 87, 109)",hsl:"hsl(227, 15%, 37%)",raw:"81, 87, 109"},surface0:{hex:"#414559",rgb:"rgb(65, 69, 89)",hsl:"hsl(230, 16%, 30%)",raw:"65, 69, 89"},base:{hex:"#303446",rgb:"rgb(48, 52, 70)",hsl:"hsl(229, 19%, 23%)",raw:"48, 52, 70"},mantle:{hex:"#292c3c",rgb:"rgb(41, 44, 60)",hsl:"hsl(231, 19%, 20%)",raw:"41, 44, 60"},crust:{hex:"#232634",rgb:"rgb(35, 38, 52)",hsl:"hsl(229, 20%, 17%)",raw:"35, 38, 52"}},g={rosewater:{hex:"#f4dbd6",rgb:"rgb(244, 219, 214)",hsl:"hsl(10, 58%, 90%)",raw:"244, 219, 214"},flamingo:{hex:"#f0c6c6",rgb:"rgb(240, 198, 198)",hsl:"hsl(0, 58%, 86%)",raw:"240, 198, 198"},pink:{hex:"#f5bde6",rgb:"rgb(245, 189, 230)",hsl:"hsl(316, 74%, 85%)",raw:"245, 189, 230"},mauve:{hex:"#c6a0f6",rgb:"rgb(198, 160, 246)",hsl:"hsl(267, 83%, 80%)",raw:"198, 160, 246"},red:{hex:"#ed8796",rgb:"rgb(237, 135, 150)",hsl:"hsl(351, 74%, 73%)",raw:"237, 135, 150"},maroon:{hex:"#ee99a0",rgb:"rgb(238, 153, 160)",hsl:"hsl(355, 71%, 77%)",raw:"238, 153, 160"},peach:{hex:"#f5a97f",rgb:"rgb(245, 169, 127)",hsl:"hsl(21, 86%, 73%)",raw:"245, 169, 127"},yellow:{hex:"#eed49f",rgb:"rgb(238, 212, 159)",hsl:"hsl(40, 70%, 78%)",raw:"238, 212, 159"},green:{hex:"#a6da95",rgb:"rgb(166, 218, 149)",hsl:"hsl(105, 48%, 72%)",raw:"166, 218, 149"},teal:{hex:"#8bd5ca",rgb:"rgb(139, 213, 202)",hsl:"hsl(171, 47%, 69%)",raw:"139, 213, 202"},sky:{hex:"#91d7e3",rgb:"rgb(145, 215, 227)",hsl:"hsl(189, 59%, 73%)",raw:"145, 215, 227"},sapphire:{hex:"#7dc4e4",rgb:"rgb(125, 196, 228)",hsl:"hsl(199, 66%, 69%)",raw:"125, 196, 228"},blue:{hex:"#8aadf4",rgb:"rgb(138, 173, 244)",hsl:"hsl(220, 83%, 75%)",raw:"138, 173, 244"},lavender:{hex:"#b7bdf8",rgb:"rgb(183, 189, 248)",hsl:"hsl(234, 82%, 85%)",raw:"183, 189, 248"},text:{hex:"#cad3f5",rgb:"rgb(202, 211, 245)",hsl:"hsl(227, 68%, 88%)",raw:"202, 211, 245"},subtext1:{hex:"#b8c0e0",rgb:"rgb(184, 192, 224)",hsl:"hsl(228, 39%, 80%)",raw:"184, 192, 224"},subtext0:{hex:"#a5adcb",rgb:"rgb(165, 173, 203)",hsl:"hsl(227, 27%, 72%)",raw:"165, 173, 203"},overlay2:{hex:"#939ab7",rgb:"rgb(147, 154, 183)",hsl:"hsl(228, 20%, 65%)",raw:"147, 154, 183"},overlay1:{hex:"#8087a2",rgb:"rgb(128, 135, 162)",hsl:"hsl(228, 15%, 57%)",raw:"128, 135, 162"},overlay0:{hex:"#6e738d",rgb:"rgb(110, 115, 141)",hsl:"hsl(230, 12%, 49%)",raw:"110, 115, 141"},surface2:{hex:"#5b6078",rgb:"rgb(91, 96, 120)",hsl:"hsl(230, 14%, 41%)",raw:"91, 96, 120"},surface1:{hex:"#494d64",rgb:"rgb(73, 77, 100)",hsl:"hsl(231, 16%, 34%)",raw:"73, 77, 100"},surface0:{hex:"#363a4f",rgb:"rgb(54, 58, 79)",hsl:"hsl(230, 19%, 26%)",raw:"54, 58, 79"},base:{hex:"#24273a",rgb:"rgb(36, 39, 58)",hsl:"hsl(232, 23%, 18%)",raw:"36, 39, 58"},mantle:{hex:"#1e2030",rgb:"rgb(30, 32, 48)",hsl:"hsl(233, 23%, 15%)",raw:"30, 32, 48"},crust:{hex:"#181926",rgb:"rgb(24, 25, 38)",hsl:"hsl(236, 23%, 12%)",raw:"24, 25, 38"}},b={rosewater:{hex:"#f5e0dc",rgb:"rgb(245, 224, 220)",hsl:"hsl(10, 56%, 91%)",raw:"245, 224, 220"},flamingo:{hex:"#f2cdcd",rgb:"rgb(242, 205, 205)",hsl:"hsl(0, 59%, 88%)",raw:"242, 205, 205"},pink:{hex:"#f5c2e7",rgb:"rgb(245, 194, 231)",hsl:"hsl(316, 72%, 86%)",raw:"245, 194, 231"},mauve:{hex:"#cba6f7",rgb:"rgb(203, 166, 247)",hsl:"hsl(267, 84%, 81%)",raw:"203, 166, 247"},red:{hex:"#f38ba8",rgb:"rgb(243, 139, 168)",hsl:"hsl(343, 81%, 75%)",raw:"243, 139, 168"},maroon:{hex:"#eba0ac",rgb:"rgb(235, 160, 172)",hsl:"hsl(350, 65%, 77%)",raw:"235, 160, 172"},peach:{hex:"#fab387",rgb:"rgb(250, 179, 135)",hsl:"hsl(23, 92%, 75%)",raw:"250, 179, 135"},yellow:{hex:"#f9e2af",rgb:"rgb(249, 226, 175)",hsl:"hsl(41, 86%, 83%)",raw:"249, 226, 175"},green:{hex:"#a6e3a1",rgb:"rgb(166, 227, 161)",hsl:"hsl(115, 54%, 76%)",raw:"166, 227, 161"},teal:{hex:"#94e2d5",rgb:"rgb(148, 226, 213)",hsl:"hsl(170, 57%, 73%)",raw:"148, 226, 213"},sky:{hex:"#89dceb",rgb:"rgb(137, 220, 235)",hsl:"hsl(189, 71%, 73%)",raw:"137, 220, 235"},sapphire:{hex:"#74c7ec",rgb:"rgb(116, 199, 236)",hsl:"hsl(199, 76%, 69%)",raw:"116, 199, 236"},blue:{hex:"#89b4fa",rgb:"rgb(137, 180, 250)",hsl:"hsl(217, 92%, 76%)",raw:"137, 180, 250"},lavender:{hex:"#b4befe",rgb:"rgb(180, 190, 254)",hsl:"hsl(232, 97%, 85%)",raw:"180, 190, 254"},text:{hex:"#cdd6f4",rgb:"rgb(205, 214, 244)",hsl:"hsl(226, 64%, 88%)",raw:"205, 214, 244"},subtext1:{hex:"#bac2de",rgb:"rgb(186, 194, 222)",hsl:"hsl(227, 35%, 80%)",raw:"186, 194, 222"},subtext0:{hex:"#a6adc8",rgb:"rgb(166, 173, 200)",hsl:"hsl(228, 24%, 72%)",raw:"166, 173, 200"},overlay2:{hex:"#9399b2",rgb:"rgb(147, 153, 178)",hsl:"hsl(228, 17%, 64%)",raw:"147, 153, 178"},overlay1:{hex:"#7f849c",rgb:"rgb(127, 132, 156)",hsl:"hsl(230, 13%, 55%)",raw:"127, 132, 156"},overlay0:{hex:"#6c7086",rgb:"rgb(108, 112, 134)",hsl:"hsl(231, 11%, 47%)",raw:"108, 112, 134"},surface2:{hex:"#585b70",rgb:"rgb(88, 91, 112)",hsl:"hsl(233, 12%, 39%)",raw:"88, 91, 112"},surface1:{hex:"#45475a",rgb:"rgb(69, 71, 90)",hsl:"hsl(234, 13%, 31%)",raw:"69, 71, 90"},surface0:{hex:"#313244",rgb:"rgb(49, 50, 68)",hsl:"hsl(237, 16%, 23%)",raw:"49, 50, 68"},base:{hex:"#1e1e2e",rgb:"rgb(30, 30, 46)",hsl:"hsl(240, 21%, 15%)",raw:"30, 30, 46"},mantle:{hex:"#181825",rgb:"rgb(24, 24, 37)",hsl:"hsl(240, 21%, 12%)",raw:"24, 24, 37"},crust:{hex:"#11111b",rgb:"rgb(17, 17, 27)",hsl:"hsl(240, 23%, 9%)",raw:"17, 17, 27"}},he={variants:{latte:c,frappe:i,macchiato:g,mocha:b},labels:{rosewater:{latte:c.rosewater,frappe:i.rosewater,macchiato:g.rosewater,mocha:b.rosewater},flamingo:{latte:c.flamingo,frappe:i.flamingo,macchiato:g.flamingo,mocha:b.flamingo},pink:{latte:c.pink,frappe:i.pink,macchiato:g.pink,mocha:b.pink},mauve:{latte:c.mauve,frappe:i.mauve,macchiato:g.mauve,mocha:b.mauve},red:{latte:c.red,frappe:i.red,macchiato:g.red,mocha:b.red},maroon:{latte:c.maroon,frappe:i.maroon,macchiato:g.maroon,mocha:b.maroon},peach:{latte:c.peach,frappe:i.peach,macchiato:g.peach,mocha:b.peach},yellow:{latte:c.yellow,frappe:i.yellow,macchiato:g.yellow,mocha:b.yellow},green:{latte:c.green,frappe:i.green,macchiato:g.green,mocha:b.green},teal:{latte:c.teal,frappe:i.teal,macchiato:g.teal,mocha:b.teal},sky:{latte:c.sky,frappe:i.sky,macchiato:g.sky,mocha:b.sky},sapphire:{latte:c.sapphire,frappe:i.sapphire,macchiato:g.sapphire,mocha:b.sapphire},blue:{latte:c.blue,frappe:i.blue,macchiato:g.blue,mocha:b.blue},lavender:{latte:c.lavender,frappe:i.lavender,macchiato:g.lavender,mocha:b.lavender},text:{latte:c.text,frappe:i.text,macchiato:g.text,mocha:b.text},subtext1:{latte:c.subtext1,frappe:i.subtext1,macchiato:g.subtext1,mocha:b.subtext1},subtext0:{latte:c.subtext0,frappe:i.subtext0,macchiato:g.subtext0,mocha:b.subtext0},overlay2:{latte:c.overlay2,frappe:i.overlay2,macchiato:g.overlay2,mocha:b.overlay2},overlay1:{latte:c.overlay1,frappe:i.overlay1,macchiato:g.overlay1,mocha:b.overlay1},overlay0:{latte:c.overlay0,frappe:i.overlay0,macchiato:g.overlay0,mocha:b.overlay0},surface2:{latte:c.surface2,frappe:i.surface2,macchiato:g.surface2,mocha:b.surface2},surface1:{latte:c.surface1,frappe:i.surface1,macchiato:g.surface1,mocha:b.surface1},surface0:{latte:c.surface0,frappe:i.surface0,macchiato:g.surface0,mocha:b.surface0},base:{latte:c.base,frappe:i.base,macchiato:g.base,mocha:b.base},mantle:{latte:c.mantle,frappe:i.mantle,macchiato:g.mantle,mocha:b.mantle},crust:{latte:c.crust,frappe:i.crust,macchiato:g.crust,mocha:b.crust}}},{variants:O,labels:pe}=he;import{EditorView as be}from"@codemirror/view";import{HighlightStyle as fe,syntaxHighlighting as ue}from"@codemirror/language";import{tags as o}from"@lezer/highlight";function f(r,e){se(r)&&(r="100%");let t=ne(r);return r=e===360?r:Math.min(e,Math.max(0,parseFloat(r))),t&&(r=parseInt(String(r*e),10)/100),Math.abs(r-e)<1e-6?1:(e===360?r=(r<0?r%e+e:r%e)/parseFloat(String(e)):r=r%e/parseFloat(String(e)),r)}function A(r){return Math.min(1,Math.max(0,r))}function se(r){return typeof r=="string"&&r.indexOf(".")!==-1&&parseFloat(r)===1}function ne(r){return typeof r=="string"&&r.indexOf("%")!==-1}function $(r){return r=parseFloat(r),(isNaN(r)||r<0||r>1)&&(r=1),r}function C(r){return Number(r)<=1?`${Number(r)*100}%`:r}function w(r){return r.length===1?"0"+r:String(r)}function G(r,e,t){return{r:f(r,255)*255,g:f(e,255)*255,b:f(t,255)*255}}function E(r,e,t){r=f(r,255),e=f(e,255),t=f(t,255);let a=Math.max(r,e,t),h=Math.min(r,e,t),s=0,n=0,l=(a+h)/2;if(a===h)n=0,s=0;else{let u=a-h;switch(n=l>.5?u/(2-a-h):u/(a+h),a){case r:s=(e-t)/u+(e<t?6:0);break;case e:s=(t-r)/u+2;break;case t:s=(r-e)/u+4;break;default:break}s/=6}return{h:s,s:n,l}}function I(r,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?r+(e-r)*(6*t):t<1/2?e:t<2/3?r+(e-r)*(2/3-t)*6:r}function L(r,e,t){let a,h,s;if(r=f(r,360),e=f(e,100),t=f(t,100),e===0)h=t,s=t,a=t;else{let n=t<.5?t*(1+e):t+e-t*e,l=2*t-n;a=I(l,n,r+1/3),h=I(l,n,r),s=I(l,n,r-1/3)}return{r:a*255,g:h*255,b:s*255}}function W(r,e,t){r=f(r,255),e=f(e,255),t=f(t,255);let a=Math.max(r,e,t),h=Math.min(r,e,t),s=0,n=a,l=a-h,u=a===0?0:l/a;if(a===h)s=0;else{switch(a){case r:s=(e-t)/l+(e<t?6:0);break;case e:s=(t-r)/l+2;break;case t:s=(r-e)/l+4;break;default:break}s/=6}return{h:s,s:u,v:n}}function V(r,e,t){r=f(r,360)*6,e=f(e,100),t=f(t,100);let a=Math.floor(r),h=r-a,s=t*(1-e),n=t*(1-h*e),l=t*(1-(1-h)*e),u=a%6,S=[t,n,s,s,l,t][u],H=[l,t,t,n,s,s][u],N=[s,s,l,t,t,n][u];return{r:S*255,g:H*255,b:N*255}}function P(r,e,t,a){let h=[w(Math.round(r).toString(16)),w(Math.round(e).toString(16)),w(Math.round(t).toString(16))];return a&&h[0].startsWith(h[0].charAt(1))&&h[1].startsWith(h[1].charAt(1))&&h[2].startsWith(h[2].charAt(1))?h[0].charAt(0)+h[1].charAt(0)+h[2].charAt(0):h.join("")}function U(r,e,t,a,h){let s=[w(Math.round(r).toString(16)),w(Math.round(e).toString(16)),w(Math.round(t).toString(16)),w(le(a))];return h&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}function K(r,e,t,a){let h=r/100,s=e/100,n=t/100,l=a/100,u=255*(1-h)*(1-l),S=255*(1-s)*(1-l),H=255*(1-n)*(1-l);return{r:u,g:S,b:H}}function q(r,e,t){let a=1-r/255,h=1-e/255,s=1-t/255,n=Math.min(a,h,s);return n===1?(a=0,h=0,s=0):(a=(a-n)/(1-n)*100,h=(h-n)/(1-n)*100,s=(s-n)/(1-n)*100),n*=100,{c:Math.round(a),m:Math.round(h),y:Math.round(s),k:Math.round(n)}}function le(r){return Math.round(parseFloat(r)*255).toString(16)}function j(r){return d(r)/255}function d(r){return parseInt(r,16)}function z(r){return{r:r>>16,g:(r&65280)>>8,b:r&255}}var R={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Z(r){let e={r:0,g:0,b:0},t=1,a=null,h=null,s=null,n=!1,l=!1;return typeof r=="string"&&(r=ge(r)),typeof r=="object"&&(x(r.r)&&x(r.g)&&x(r.b)?(e=G(r.r,r.g,r.b),n=!0,l=String(r.r).substr(-1)==="%"?"prgb":"rgb"):x(r.h)&&x(r.s)&&x(r.v)?(a=C(r.s),h=C(r.v),e=V(r.h,a,h),n=!0,l="hsv"):x(r.h)&&x(r.s)&&x(r.l)?(a=C(r.s),s=C(r.l),e=L(r.h,a,s),n=!0,l="hsl"):x(r.c)&&x(r.m)&&x(r.y)&&x(r.k)&&(e=K(r.c,r.m,r.y,r.k),n=!0,l="cmyk"),Object.prototype.hasOwnProperty.call(r,"a")&&(t=r.a)),t=$(t),{ok:n,format:r.format||l,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:t}}var ce="[-\\+]?\\d+%?",ie="[-\\+]?\\d*\\.\\d+%?",y="(?:"+ie+")|(?:"+ce+")",D="[\\s|\\(]+("+y+")[,|\\s]+("+y+")[,|\\s]+("+y+")\\s*\\)?",B="[\\s|\\(]+("+y+")[,|\\s]+("+y+")[,|\\s]+("+y+")[,|\\s]+("+y+")\\s*\\)?",m={CSS_UNIT:new RegExp(y),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+B),cmyk:new RegExp("cmyk"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function ge(r){if(r=r.trim().toLowerCase(),r.length===0)return!1;let e=!1;if(R[r])r=R[r],e=!0;else if(r==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let t=m.rgb.exec(r);return t?{r:t[1],g:t[2],b:t[3]}:(t=m.rgba.exec(r),t?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=m.hsl.exec(r),t?{h:t[1],s:t[2],l:t[3]}:(t=m.hsla.exec(r),t?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=m.hsv.exec(r),t?{h:t[1],s:t[2],v:t[3]}:(t=m.hsva.exec(r),t?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=m.cmyk.exec(r),t?{c:t[1],m:t[2],y:t[3],k:t[4]}:(t=m.hex8.exec(r),t?{r:d(t[1]),g:d(t[2]),b:d(t[3]),a:j(t[4]),format:e?"name":"hex8"}:(t=m.hex6.exec(r),t?{r:d(t[1]),g:d(t[2]),b:d(t[3]),format:e?"name":"hex"}:(t=m.hex4.exec(r),t?{r:d(t[1]+t[1]),g:d(t[2]+t[2]),b:d(t[3]+t[3]),a:j(t[4]+t[4]),format:e?"name":"hex8"}:(t=m.hex3.exec(r),t?{r:d(t[1]+t[1]),g:d(t[2]+t[2]),b:d(t[3]+t[3]),format:e?"name":"hex"}:!1))))))))))}function x(r){return typeof r=="number"?!Number.isNaN(r):m.CSS_UNIT.test(r)}var p=class r{constructor(e="",t={}){if(e instanceof r)return e;typeof e=="number"&&(e=z(e)),this.originalInput=e;let a=Z(e);this.originalInput=e,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=t.format??a.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){let e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3}getLuminance(){let e=this.toRgb(),t,a,h,s=e.r/255,n=e.g/255,l=e.b/255;return s<=.03928?t=s/12.92:t=Math.pow((s+.055)/1.055,2.4),n<=.03928?a=n/12.92:a=Math.pow((n+.055)/1.055,2.4),l<=.03928?h=l/12.92:h=Math.pow((l+.055)/1.055,2.4),.2126*t+.7152*a+.0722*h}getAlpha(){return this.a}setAlpha(e){return this.a=$(e),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){let{s:e}=this.toHsl();return e===0}toHsv(){let e=W(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}}toHsvString(){let e=W(this.r,this.g,this.b),t=Math.round(e.h*360),a=Math.round(e.s*100),h=Math.round(e.v*100);return this.a===1?`hsv(${t}, ${a}%, ${h}%)`:`hsva(${t}, ${a}%, ${h}%, ${this.roundA})`}toHsl(){let e=E(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}}toHslString(){let e=E(this.r,this.g,this.b),t=Math.round(e.h*360),a=Math.round(e.s*100),h=Math.round(e.l*100);return this.a===1?`hsl(${t}, ${a}%, ${h}%)`:`hsla(${t}, ${a}%, ${h}%, ${this.roundA})`}toHex(e=!1){return P(this.r,this.g,this.b,e)}toHexString(e=!1){return"#"+this.toHex(e)}toHex8(e=!1){return U(this.r,this.g,this.b,this.a,e)}toHex8String(e=!1){return"#"+this.toHex8(e)}toHexShortString(e=!1){return this.a===1?this.toHexString(e):this.toHex8String(e)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){let e=Math.round(this.r),t=Math.round(this.g),a=Math.round(this.b);return this.a===1?`rgb(${e}, ${t}, ${a})`:`rgba(${e}, ${t}, ${a}, ${this.roundA})`}toPercentageRgb(){let e=t=>`${Math.round(f(t,255)*100)}%`;return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}}toPercentageRgbString(){let e=t=>Math.round(f(t,255)*100);return this.a===1?`rgb(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%)`:`rgba(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%, ${this.roundA})`}toCmyk(){return{...q(this.r,this.g,this.b)}}toCmykString(){let{c:e,m:t,y:a,k:h}=q(this.r,this.g,this.b);return`cmyk(${e}, ${t}, ${a}, ${h})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;let e="#"+P(this.r,this.g,this.b,!1);for(let[t,a]of Object.entries(R))if(e===a)return t;return!1}toString(e){let t=!!e;e=e??this.format;let a=!1,h=this.a<1&&this.a>=0;return!t&&h&&(e.startsWith("hex")||e==="name")?e==="name"&&this.a===0?this.toName():this.toRgbString():(e==="rgb"&&(a=this.toRgbString()),e==="prgb"&&(a=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(a=this.toHexString()),e==="hex3"&&(a=this.toHexString(!0)),e==="hex4"&&(a=this.toHex8String(!0)),e==="hex8"&&(a=this.toHex8String()),e==="name"&&(a=this.toName()),e==="hsl"&&(a=this.toHslString()),e==="hsv"&&(a=this.toHsvString()),e==="cmyk"&&(a=this.toCmykString()),a||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new r(this.toString())}lighten(e=10){let t=this.toHsl();return t.l+=e/100,t.l=A(t.l),new r(t)}brighten(e=10){let t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(255*-(e/100)))),t.g=Math.max(0,Math.min(255,t.g-Math.round(255*-(e/100)))),t.b=Math.max(0,Math.min(255,t.b-Math.round(255*-(e/100)))),new r(t)}darken(e=10){let t=this.toHsl();return t.l-=e/100,t.l=A(t.l),new r(t)}tint(e=10){return this.mix("white",e)}shade(e=10){return this.mix("black",e)}desaturate(e=10){let t=this.toHsl();return t.s-=e/100,t.s=A(t.s),new r(t)}saturate(e=10){let t=this.toHsl();return t.s+=e/100,t.s=A(t.s),new r(t)}greyscale(){return this.desaturate(100)}spin(e){let t=this.toHsl(),a=(t.h+e)%360;return t.h=a<0?360+a:a,new r(t)}mix(e,t=50){let a=this.toRgb(),h=new r(e).toRgb(),s=t/100,n={r:(h.r-a.r)*s+a.r,g:(h.g-a.g)*s+a.g,b:(h.b-a.b)*s+a.b,a:(h.a-a.a)*s+a.a};return new r(n)}analogous(e=6,t=30){let a=this.toHsl(),h=360/t,s=[this];for(a.h=(a.h-(h*e>>1)+720)%360;--e;)a.h=(a.h+h)%360,s.push(new r(a));return s}complement(){let e=this.toHsl();return e.h=(e.h+180)%360,new r(e)}monochromatic(e=6){let t=this.toHsv(),{h:a}=t,{s:h}=t,{v:s}=t,n=[],l=1/e;for(;e--;)n.push(new r({h:a,s:h,v:s})),s=(s+l)%1;return n}splitcomplement(){let e=this.toHsl(),{h:t}=e;return[this,new r({h:(t+72)%360,s:e.s,l:e.l}),new r({h:(t+216)%360,s:e.s,l:e.l})]}onBackground(e){let t=this.toRgb(),a=new r(e).toRgb(),h=t.a+a.a*(1-t.a);return new r({r:(t.r*t.a+a.r*a.a*(1-t.a))/h,g:(t.g*t.a+a.g*a.a*(1-t.a))/h,b:(t.b*t.a+a.b*a.a*(1-t.a))/h,a:h})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(e){let t=this.toHsl(),{h:a}=t,h=[this],s=360/e;for(let n=1;n<e;n++)h.push(new r({h:(a+n*s)%360,s:t.s,l:t.l}));return h}equals(e){let t=new r(e);return this.format==="cmyk"||t.format==="cmyk"?this.toCmykString()===t.toCmykString():this.toRgbString()===t.toRgbString()}};var de={latte:!1,frappe:!0,macchiato:!0,mocha:!0};function xe(r){let e=O[r],t=e.base.hex,a=e.text.hex,h=e.rosewater.hex,s=e.surface2.hex,n=new p(e.text.hex).setAlpha(.2).toHex8String(),l=e.red.hex,u=new p(e.sky.hex).darken(30).setAlpha(.2).toHex8String(),S="none",H=new p(e.surface0.hex).setAlpha(.2).toHex8String(),N=e.crust.hex,J=e.text.hex,Q=e.surface1.hex,X=e.text.hex,Y="none",_=e.surface1.hex,ee=e.mantle.hex,te=e.blue.hex,F=new p(e.mantle.hex).setAlpha(.75).toHex8String(),re=e.mantle.hex,ae=e.surface1.hex,oe=new p(e.sapphire.hex).setAlpha(.5).toHex8String();return be.theme({"&":{color:a,backgroundColor:t},".cm-content":{caretColor:h},".cm-cursor, .cm-dropCursor":{borderLeftColor:h},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:s},".cm-selectionMatch":{backgroundColor:n},".cm-panels":{backgroundColor:_,color:ee},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:l,outline:S},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:u},".cm-activeLine":{backgroundColor:H},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:oe},".cm-gutters":{color:J,backgroundColor:N,border:Y},".cm-activeLineGutter":{color:Q,backgroundColor:X},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:te},".cm-tooltip":{border:"none",backgroundColor:F},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:F,borderBottomColor:F},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:ae,color:re}}},{dark:de[r]})}function me(r){let e=O[r];return fe.define([{tag:o.comment,color:e.overlay0.hex},{tag:o.lineComment,color:e.overlay0.hex},{tag:o.blockComment,color:e.overlay0.hex},{tag:o.docComment,color:e.overlay0.hex},{tag:o.name,color:e.flamingo.hex},{tag:o.variableName,color:e.flamingo.hex},{tag:o.typeName,color:e.yellow.hex},{tag:o.tagName,color:e.lavender.hex},{tag:o.propertyName,color:e.teal.hex},{tag:o.attributeName,color:e.teal.hex},{tag:o.className,color:e.yellow.hex},{tag:o.labelName,color:e.sapphire.hex},{tag:o.namespace,color:e.yellow.hex},{tag:o.macroName,color:e.mauve.hex},{tag:o.literal,color:e.peach.hex},{tag:o.string,color:e.green.hex},{tag:o.docString,color:e.green.hex},{tag:o.character,color:e.teal.hex},{tag:o.attributeValue,color:e.teal.hex},{tag:o.number,color:e.peach.hex},{tag:o.integer,color:e.peach.hex},{tag:o.float,color:e.peach.hex},{tag:o.bool,color:e.peach.hex},{tag:o.regexp,color:e.pink.hex},{tag:o.escape,color:e.pink.hex},{tag:o.color,color:e.peach.hex},{tag:o.url,color:e.blue.hex,textDecoration:"underline"},{tag:o.keyword,color:e.mauve.hex},{tag:o.self,color:e.red.hex},{tag:o.null,color:e.mauve.hex},{tag:o.atom,color:e.mauve.hex},{tag:o.unit,color:e.mauve.hex},{tag:o.modifier,color:e.mauve.hex},{tag:o.operatorKeyword,color:e.sky.hex},{tag:o.controlKeyword,color:e.mauve.hex},{tag:o.definitionKeyword,color:e.mauve.hex},{tag:o.moduleKeyword,color:e.mauve.hex},{tag:o.operator,color:e.sky.hex},{tag:o.derefOperator,color:e.sky.hex},{tag:o.arithmeticOperator,color:e.sky.hex},{tag:o.logicOperator,color:e.sky.hex},{tag:o.bitwiseOperator,color:e.sky.hex},{tag:o.compareOperator,color:e.sky.hex},{tag:o.updateOperator,color:e.sky.hex},{tag:o.definitionOperator,color:e.sky.hex},{tag:o.typeOperator,color:e.sky.hex},{tag:o.controlOperator,color:e.sky.hex},{tag:o.punctuation,color:e.overlay2.hex},{tag:o.separator,color:e.overlay2.hex},{tag:o.bracket,color:e.overlay2.hex},{tag:o.angleBracket,color:e.overlay2.hex},{tag:o.squareBracket,color:e.overlay2.hex},{tag:o.paren,color:e.overlay2.hex},{tag:o.brace,color:e.overlay2.hex},{tag:o.content,color:e.text.hex},{tag:o.heading,color:e.mauve.hex,fontWeight:"bold"},{tag:o.heading1,color:e.red.hex,fontWeight:"bold"},{tag:o.heading2,color:e.peach.hex,fontWeight:"bold"},{tag:o.heading3,color:e.yellow.hex,fontWeight:"bold"},{tag:o.heading4,color:e.green.hex,fontWeight:"bold"},{tag:o.heading5,color:e.blue.hex,fontWeight:"bold"},{tag:o.heading6,color:e.mauve.hex,fontWeight:"bold"},{tag:o.contentSeparator,color:e.teal.hex},{tag:o.list,color:e.teal.hex},{tag:o.quote,color:e.pink.hex,fontStyle:"italic"},{tag:o.emphasis,fontStyle:"italic"},{tag:o.strong,fontWeight:"bold"},{tag:o.link,color:e.lavender.hex,textDecoration:"underline"},{tag:o.strikethrough,textDecoration:"line-through"},{tag:o.inserted,backgroundColor:new p(e.green.hex).setAlpha(.15).toHex8String()},{tag:o.deleted,backgroundColor:new p(e.red.hex).setAlpha(.15).toHex8String()},{tag:o.changed,backgroundColor:new p(e.blue.hex).setAlpha(.15).toHex8String()},{tag:o.invalid,color:e.red.hex},{tag:o.meta,color:e.yellow.hex},{tag:o.documentMeta,color:e.yellow.hex},{tag:o.annotation,color:e.yellow.hex},{tag:o.processingInstruction,color:e.yellow.hex},{tag:o.definition(o.name),color:e.maroon.hex},{tag:o.definition(o.variableName),color:e.maroon.hex},{tag:o.definition(o.propertyName),color:e.lavender.hex},{tag:o.constant(o.name),color:e.peach.hex},{tag:o.function(o.variableName),color:e.blue.hex},{tag:o.function(o.propertyName),color:e.blue.hex},{tag:o.function(o.punctuation),color:e.sapphire.hex},{tag:o.standard(o.name),color:e.mauve.hex},{tag:o.local(o.name),color:e.maroon.hex},{tag:o.local(o.variableName),color:e.maroon.hex},{tag:o.local(o.propertyName),color:e.lavender.hex},{tag:o.special(o.string),color:e.pink.hex},{tag:o.special(o.variableName),color:e.pink.hex},{tag:o.special(o.propertyName),color:e.pink.hex}])}function T(r){return[xe(r),ue(me(r))]}var nt=T("latte"),lt=T("frappe"),ct=T("macchiato"),it=T("mocha");export{T as catppuccin,lt as catppuccinFrappe,nt as catppuccinLatte,ct as catppuccinMacchiato,it as catppuccinMocha};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"base": "vs-dark",
|
|
3
|
+
"inherit": true,
|
|
4
|
+
"rules": [
|
|
5
|
+
{ "token": "", "foreground": "#c6d0f5" },
|
|
6
|
+
{ "token": "keyword", "foreground": "#ca9ee6" },
|
|
7
|
+
{ "token": "string", "foreground": "#a6d189" },
|
|
8
|
+
{ "token": "number", "foreground": "#ef9f76" },
|
|
9
|
+
{ "token": "comment", "foreground": "#737994" },
|
|
10
|
+
{ "token": "type", "foreground": "#8caaee" },
|
|
11
|
+
{ "token": "function", "foreground": "#99d1db" },
|
|
12
|
+
{ "token": "variable", "foreground": "#c6d0f5" },
|
|
13
|
+
{ "token": "constant", "foreground": "#ef9f76" },
|
|
14
|
+
{ "token": "parameter", "foreground": "#f4b8e4" },
|
|
15
|
+
{ "token": "class", "foreground": "#e5c890" },
|
|
16
|
+
{ "token": "operator", "foreground": "#99d1db" }
|
|
17
|
+
],
|
|
18
|
+
"colors": {
|
|
19
|
+
"editor.background": "#303446",
|
|
20
|
+
"editor.foreground": "#c6d0f5",
|
|
21
|
+
"editor.lineHighlightBackground": "#414559",
|
|
22
|
+
"editor.selectionBackground": "#51576d",
|
|
23
|
+
"editor.inactiveSelectionBackground": "#414559",
|
|
24
|
+
|
|
25
|
+
"editorWidget.background": "#292c3c",
|
|
26
|
+
"editorWidget.border": "#414559",
|
|
27
|
+
|
|
28
|
+
"sideBar.background": "#292c3c",
|
|
29
|
+
"sideBar.foreground": "#c6d0f5",
|
|
30
|
+
|
|
31
|
+
"editorBracketHighlight.foreground1": "#f2d5cf",
|
|
32
|
+
"editorBracketHighlight.foreground2": "#babbf1",
|
|
33
|
+
"editorBracketHighlight.foreground3": "#ca9ee6",
|
|
34
|
+
"editorBracketHighlight.foreground4": "#e5c890",
|
|
35
|
+
"editorBracketHighlight.foreground5": "#f4b8e4",
|
|
36
|
+
"editorBracketHighlight.foreground6": "#81c8be",
|
|
37
|
+
"editorBracketHighlight.unexpectedBracket.foreground": "#e78284",
|
|
38
|
+
|
|
39
|
+
"editorGutter.background": "#303446",
|
|
40
|
+
"editorGutter.modifiedBackground": "#8caaee",
|
|
41
|
+
"editorGutter.addedBackground": "#a6d189",
|
|
42
|
+
"editorGutter.deletedBackground": "#e78284",
|
|
43
|
+
|
|
44
|
+
"editorLineNumber.foreground": "#737994",
|
|
45
|
+
"editorLineNumber.activeForeground": "#c6d0f5",
|
|
46
|
+
|
|
47
|
+
"editorCursor.foreground": "#f2d5cf",
|
|
48
|
+
|
|
49
|
+
"diffEditor.insertedTextBackground": "#a6d18933",
|
|
50
|
+
"diffEditor.removedTextBackground": "#e7828433"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"base": "vs",
|
|
3
|
+
"inherit": true,
|
|
4
|
+
"rules": [
|
|
5
|
+
{ "token": "", "foreground": "#4c4f69" },
|
|
6
|
+
{ "token": "keyword", "foreground": "#8839ef" },
|
|
7
|
+
{ "token": "string", "foreground": "#40a02b" },
|
|
8
|
+
{ "token": "number", "foreground": "#fe640b" },
|
|
9
|
+
{ "token": "comment", "foreground": "#9ca0b0" },
|
|
10
|
+
{ "token": "type", "foreground": "#1e66f5" },
|
|
11
|
+
{ "token": "function", "foreground": "#04a5e5" },
|
|
12
|
+
{ "token": "variable", "foreground": "#4c4f69" },
|
|
13
|
+
{ "token": "constant", "foreground": "#fe640b" },
|
|
14
|
+
{ "token": "parameter", "foreground": "#ea76cb" },
|
|
15
|
+
{ "token": "class", "foreground": "#df8e1d" },
|
|
16
|
+
{ "token": "operator", "foreground": "#04a5e5" }
|
|
17
|
+
],
|
|
18
|
+
"colors": {
|
|
19
|
+
"editor.background": "#eff1f5",
|
|
20
|
+
"editor.foreground": "#4c4f69",
|
|
21
|
+
"editor.lineHighlightBackground": "#ccd0da",
|
|
22
|
+
"editor.selectionBackground": "#acb0be",
|
|
23
|
+
"editor.inactiveSelectionBackground": "#ccd0da",
|
|
24
|
+
|
|
25
|
+
"editorWidget.background": "#dce0e8",
|
|
26
|
+
"editorWidget.border": "#ccd0da",
|
|
27
|
+
|
|
28
|
+
"sideBar.background": "#dce0e8",
|
|
29
|
+
"sideBar.foreground": "#4c4f69",
|
|
30
|
+
|
|
31
|
+
"editorBracketHighlight.foreground1": "#dc8a78",
|
|
32
|
+
"editorBracketHighlight.foreground2": "#7287fd",
|
|
33
|
+
"editorBracketHighlight.foreground3": "#8839ef",
|
|
34
|
+
"editorBracketHighlight.foreground4": "#df8e1d",
|
|
35
|
+
"editorBracketHighlight.foreground5": "#ea76cb",
|
|
36
|
+
"editorBracketHighlight.foreground6": "#179299",
|
|
37
|
+
"editorBracketHighlight.unexpectedBracket.foreground": "#d20f39",
|
|
38
|
+
|
|
39
|
+
"editorGutter.background": "#eff1f5",
|
|
40
|
+
"editorGutter.modifiedBackground": "#1e66f5",
|
|
41
|
+
"editorGutter.addedBackground": "#40a02b",
|
|
42
|
+
"editorGutter.deletedBackground": "#d20f39",
|
|
43
|
+
|
|
44
|
+
"editorLineNumber.foreground": "#9ca0b0",
|
|
45
|
+
"editorLineNumber.activeForeground": "#4c4f69",
|
|
46
|
+
|
|
47
|
+
"editorCursor.foreground": "#dc8a78",
|
|
48
|
+
|
|
49
|
+
"diffEditor.insertedTextBackground": "#40a02b33",
|
|
50
|
+
"diffEditor.removedTextBackground": "#d20f3933"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"base": "vs-dark",
|
|
3
|
+
"inherit": true,
|
|
4
|
+
"rules": [
|
|
5
|
+
{ "token": "", "foreground": "#cad3f5" },
|
|
6
|
+
{ "token": "keyword", "foreground": "#c6a0f6" },
|
|
7
|
+
{ "token": "string", "foreground": "#a6da95" },
|
|
8
|
+
{ "token": "number", "foreground": "#f5a97f" },
|
|
9
|
+
{ "token": "comment", "foreground": "#6e738d" },
|
|
10
|
+
{ "token": "type", "foreground": "#8aadf4" },
|
|
11
|
+
{ "token": "function", "foreground": "#91d7e3" },
|
|
12
|
+
{ "token": "variable", "foreground": "#cad3f5" },
|
|
13
|
+
{ "token": "constant", "foreground": "#f5a97f" },
|
|
14
|
+
{ "token": "parameter", "foreground": "#f5bde6" },
|
|
15
|
+
{ "token": "class", "foreground": "#eed49f" },
|
|
16
|
+
{ "token": "operator", "foreground": "#91d7e3" }
|
|
17
|
+
],
|
|
18
|
+
"colors": {
|
|
19
|
+
"editor.background": "#24273a",
|
|
20
|
+
"editor.foreground": "#cad3f5",
|
|
21
|
+
"editor.lineHighlightBackground": "#363a4f",
|
|
22
|
+
"editor.selectionBackground": "#494d64",
|
|
23
|
+
"editor.inactiveSelectionBackground": "#363a4f",
|
|
24
|
+
|
|
25
|
+
"editorWidget.background": "#181926",
|
|
26
|
+
"editorWidget.border": "#363a4f",
|
|
27
|
+
|
|
28
|
+
"sideBar.background": "#181926",
|
|
29
|
+
"sideBar.foreground": "#cad3f5",
|
|
30
|
+
|
|
31
|
+
"editorBracketHighlight.foreground1": "#f4dbd6",
|
|
32
|
+
"editorBracketHighlight.foreground2": "#b7bdf8",
|
|
33
|
+
"editorBracketHighlight.foreground3": "#c6a0f6",
|
|
34
|
+
"editorBracketHighlight.foreground4": "#eed49f",
|
|
35
|
+
"editorBracketHighlight.foreground5": "#f5bde6",
|
|
36
|
+
"editorBracketHighlight.foreground6": "#8bd5ca",
|
|
37
|
+
"editorBracketHighlight.unexpectedBracket.foreground": "#ed8796",
|
|
38
|
+
|
|
39
|
+
"editorGutter.background": "#24273a",
|
|
40
|
+
"editorGutter.modifiedBackground": "#8aadf4",
|
|
41
|
+
"editorGutter.addedBackground": "#a6da95",
|
|
42
|
+
"editorGutter.deletedBackground": "#ed8796",
|
|
43
|
+
|
|
44
|
+
"editorLineNumber.foreground": "#6e738d",
|
|
45
|
+
"editorLineNumber.activeForeground": "#cad3f5",
|
|
46
|
+
|
|
47
|
+
"editorCursor.foreground": "#f4dbd6",
|
|
48
|
+
|
|
49
|
+
"diffEditor.insertedTextBackground": "#a6da9533",
|
|
50
|
+
"diffEditor.removedTextBackground": "#ed879633"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"base": "vs-dark",
|
|
3
|
+
"inherit": true,
|
|
4
|
+
"rules": [
|
|
5
|
+
{ "token": "", "foreground": "#cdd6f4" },
|
|
6
|
+
{ "token": "keyword", "foreground": "#cba6f7" },
|
|
7
|
+
{ "token": "string", "foreground": "#a6e3a1" },
|
|
8
|
+
{ "token": "number", "foreground": "#fab387" },
|
|
9
|
+
{ "token": "comment", "foreground": "#6c7086" },
|
|
10
|
+
{ "token": "type", "foreground": "#89b4fa" },
|
|
11
|
+
{ "token": "function", "foreground": "#89dceb" },
|
|
12
|
+
{ "token": "variable", "foreground": "#cdd6f4" },
|
|
13
|
+
{ "token": "constant", "foreground": "#fab387" },
|
|
14
|
+
{ "token": "parameter", "foreground": "#f5c2e7" },
|
|
15
|
+
{ "token": "class", "foreground": "#f9e2af" },
|
|
16
|
+
{ "token": "operator", "foreground": "#89dceb" }
|
|
17
|
+
],
|
|
18
|
+
"colors": {
|
|
19
|
+
"editor.background": "#1e1e2e",
|
|
20
|
+
"editor.foreground": "#cdd6f4",
|
|
21
|
+
"editor.lineHighlightBackground": "#313244",
|
|
22
|
+
"editor.selectionBackground": "#45475a",
|
|
23
|
+
"editor.inactiveSelectionBackground": "#313244",
|
|
24
|
+
|
|
25
|
+
"editorWidget.background": "#181825",
|
|
26
|
+
"editorWidget.border": "#313244",
|
|
27
|
+
|
|
28
|
+
"sideBar.background": "#181825",
|
|
29
|
+
"sideBar.foreground": "#cdd6f4",
|
|
30
|
+
|
|
31
|
+
"editorBracketHighlight.foreground1": "#f5e0dc",
|
|
32
|
+
"editorBracketHighlight.foreground2": "#b4befe",
|
|
33
|
+
"editorBracketHighlight.foreground3": "#cba6f7",
|
|
34
|
+
"editorBracketHighlight.foreground4": "#f9e2af",
|
|
35
|
+
"editorBracketHighlight.foreground5": "#f5c2e7",
|
|
36
|
+
"editorBracketHighlight.foreground6": "#94e2d5",
|
|
37
|
+
"editorBracketHighlight.unexpectedBracket.foreground": "#f38ba8",
|
|
38
|
+
|
|
39
|
+
"editorGutter.background": "#1e1e2e",
|
|
40
|
+
"editorGutter.modifiedBackground": "#89b4fa",
|
|
41
|
+
"editorGutter.addedBackground": "#a6e3a1",
|
|
42
|
+
"editorGutter.deletedBackground": "#f38ba8",
|
|
43
|
+
|
|
44
|
+
"editorLineNumber.foreground": "#6c7086",
|
|
45
|
+
"editorLineNumber.activeForeground": "#cdd6f4",
|
|
46
|
+
|
|
47
|
+
"editorCursor.foreground": "#f5e0dc",
|
|
48
|
+
|
|
49
|
+
"diffEditor.insertedTextBackground": "#a6e3a133",
|
|
50
|
+
"diffEditor.removedTextBackground": "#f38ba833"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
code[class*="language-"],
|
|
2
|
+
pre[class*="language-"] {
|
|
3
|
+
color: #c6d0f5;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
:not(pre) > code[class*="language-"],
|
|
7
|
+
pre[class*="language-"] {
|
|
8
|
+
background: #292c3c;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* https://prismjs.com/tokens.html */
|
|
12
|
+
|
|
13
|
+
.token.keyword {
|
|
14
|
+
color: #ca9ee6;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.token.builtin {
|
|
18
|
+
color: #e78284;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.token.class-name {
|
|
22
|
+
color: #e5c890;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.token.function {
|
|
26
|
+
color: #8caaee;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.token.boolean,
|
|
30
|
+
.token.number {
|
|
31
|
+
color: #ef9f76;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.token.string,
|
|
35
|
+
.token.char {
|
|
36
|
+
color: #a6d189;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.token.symbol {
|
|
40
|
+
color: #e5c890;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.token.regex {
|
|
44
|
+
color: #f4b8e4;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.token.url {
|
|
48
|
+
color: #a6d189;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.token.operator {
|
|
52
|
+
color: #99d1db;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.token.variable {
|
|
56
|
+
color: #c6d0f5;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.token.constant {
|
|
60
|
+
color: #ef9f76;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.token.property {
|
|
64
|
+
color: #8caaee;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.token.punctuation {
|
|
68
|
+
color: #949cbb;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.token.important {
|
|
72
|
+
color: #ca9ee6;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.token.comment {
|
|
76
|
+
color: #949cbb;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.token.tag {
|
|
80
|
+
color: #8caaee;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.token.attr-name {
|
|
84
|
+
color: #e5c890;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.token.attr-value {
|
|
88
|
+
color: #a6d189;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.token.namespace {
|
|
92
|
+
color: #e5c890;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.token.prolog,
|
|
96
|
+
.token.doctype {
|
|
97
|
+
color: #ca9ee6;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.token.cdata {
|
|
101
|
+
color: #81c8be;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.token.entity {
|
|
105
|
+
color: #e78284;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.token.atrule {
|
|
109
|
+
color: #ca9ee6;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.token.selector {
|
|
113
|
+
color: #8caaee;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Diff */
|
|
117
|
+
|
|
118
|
+
.token.deleted {
|
|
119
|
+
color: #e78284;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.token.inserted {
|
|
123
|
+
color: #a6d189
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Other */
|
|
127
|
+
|
|
128
|
+
.token.important,
|
|
129
|
+
.token.bold {
|
|
130
|
+
font-weight: bold;
|
|
131
|
+
}
|
|
132
|
+
.token.italic {
|
|
133
|
+
font-style: italic;
|
|
134
|
+
}
|
|
135
|
+
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
code[class*='language-'],
|
|
2
|
+
pre[class*='language-'] {
|
|
3
|
+
color: #4c4f69;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
:not(pre) > code[class*='language-'],
|
|
7
|
+
pre[class*='language-'] {
|
|
8
|
+
background: #e6e9ef;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* https://prismjs.com/tokens.html */
|
|
12
|
+
|
|
13
|
+
.token.keyword {
|
|
14
|
+
color: #8839ef;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.token.builtin {
|
|
18
|
+
color: #d20f39;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.token.class-name {
|
|
22
|
+
color: #df8e1d;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.token.function {
|
|
26
|
+
color: #1e66f5;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.token.boolean,
|
|
30
|
+
.token.number {
|
|
31
|
+
color: #fe640b;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.token.string,
|
|
35
|
+
.token.char {
|
|
36
|
+
color: #40a02b;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.token.symbol {
|
|
40
|
+
color: #df8e1d;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.token.regex {
|
|
44
|
+
color: #ea76cb;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.token.url {
|
|
48
|
+
color: #40a02b;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.token.operator {
|
|
52
|
+
color: #04a5e5;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.token.variable {
|
|
56
|
+
color: #4c4f69;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.token.constant {
|
|
60
|
+
color: #fe640b;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.token.property {
|
|
64
|
+
color: #1e66f5;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.token.punctuation {
|
|
68
|
+
color: #7c7f93;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.token.important {
|
|
72
|
+
color: #8839ef;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.token.comment {
|
|
76
|
+
color: #7c7f93;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.token.tag {
|
|
80
|
+
color: #1e66f5;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.token.attr-name {
|
|
84
|
+
color: #df8e1d;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.token.attr-value {
|
|
88
|
+
color: #40a02b;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.token.namespace {
|
|
92
|
+
color: #df8e1d;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.token.prolog,
|
|
96
|
+
.token.doctype {
|
|
97
|
+
color: #8839ef;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.token.cdata {
|
|
101
|
+
color: #179299;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.token.entity {
|
|
105
|
+
color: #d20f39;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.token.atrule {
|
|
109
|
+
color: #8839ef;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.token.selector {
|
|
113
|
+
color: #1e66f5;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Diff */
|
|
117
|
+
|
|
118
|
+
.token.deleted {
|
|
119
|
+
color: #d20f39;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.token.inserted {
|
|
123
|
+
color: #40a02b;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Other */
|
|
127
|
+
|
|
128
|
+
.token.important,
|
|
129
|
+
.token.bold {
|
|
130
|
+
font-weight: bold;
|
|
131
|
+
}
|
|
132
|
+
.token.italic {
|
|
133
|
+
font-style: italic;
|
|
134
|
+
}
|