@pstdio/ui 0.39.0 → 0.41.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/{MermaidComponent-81jr28u4.js → MermaidComponent-BCiI63_G.js} +3 -3
- package/dist/{MermaidComponent-81jr28u4.js.map → MermaidComponent-BCiI63_G.js.map} +1 -1
- package/dist/chat-question-bubble-w2vMbFsS.js +68 -0
- package/dist/chat-question-bubble-w2vMbFsS.js.map +1 -0
- package/dist/chat-ui.d.ts +94 -17
- package/dist/chat-ui.js +2240 -1476
- package/dist/chat-ui.js.map +1 -1
- package/dist/{data-table-stats-row-CpRe_xK2.js → data-table-stats-row-EiTEONdY.js} +2 -2
- package/dist/{data-table-stats-row-CpRe_xK2.js.map → data-table-stats-row-EiTEONdY.js.map} +1 -1
- package/dist/data-table.d.ts +27 -7
- package/dist/data-table.js +1035 -872
- package/dist/data-table.js.map +1 -1
- package/dist/diff-bubble-DewUd_2w.js +61 -0
- package/dist/diff-bubble-DewUd_2w.js.map +1 -0
- package/dist/{diff-drawer-45rpk3aq.js → diff-drawer-BwZBOObe.js} +106 -85
- package/dist/diff-drawer-BwZBOObe.js.map +1 -0
- package/dist/diff-viewer-kOOd7C7h.js +574 -0
- package/dist/diff-viewer-kOOd7C7h.js.map +1 -0
- package/dist/diff.d.ts +11 -0
- package/dist/diff.js +107 -98
- package/dist/diff.js.map +1 -1
- package/dist/display-sort-control-DPxc0e5z.js +587 -0
- package/dist/display-sort-control-DPxc0e5z.js.map +1 -0
- package/dist/{workspace-badge-Brm3Xr3m.d.ts → host-storage-DP0RLj4i.d.ts} +15 -1
- package/dist/{index-BfFLdci8.d.ts → index-C9mywhyX.d.ts} +49 -13
- package/dist/index-D3UJyWWh.d.ts +501 -0
- package/dist/index.d.ts +38 -13
- package/dist/index.js +941 -908
- package/dist/index.js.map +1 -1
- package/dist/kanban-renderer.d.ts +2 -326
- package/dist/kanban-renderer.js +991 -610
- package/dist/kanban-renderer.js.map +1 -1
- package/dist/list-row-DM0DiIrN.js +1167 -0
- package/dist/list-row-DM0DiIrN.js.map +1 -0
- package/dist/{mermaid-renderer-DImi0fDp.js → mermaid-renderer-0PmNkOXI.js} +29 -29
- package/dist/mermaid-renderer-0PmNkOXI.js.map +1 -0
- package/dist/mermaid.js +1 -1
- package/dist/param-editor.js +2 -3
- package/dist/prism-JVIsQMoJ.js +1029 -0
- package/dist/prism-JVIsQMoJ.js.map +1 -0
- package/dist/{resource-badge-95WPVlZf.d.ts → resource-badge-nOWPqxFU.d.ts} +1 -0
- package/dist/rich-text-DM24VNQZ.js +10447 -0
- package/dist/rich-text-DM24VNQZ.js.map +1 -0
- package/dist/rich-text.d.ts +2 -2
- package/dist/rich-text.js +2 -2
- package/dist/style.css +1 -1
- package/dist/terminal.d.ts +5 -63
- package/dist/terminal.js +102 -122
- package/dist/terminal.js.map +1 -1
- package/dist/{theme-BsOWAIi2.js → theme-at0rtSnX.js} +441 -246
- package/dist/theme-at0rtSnX.js.map +1 -0
- package/dist/theme-kKuLN2jb.js +80 -0
- package/dist/theme-kKuLN2jb.js.map +1 -0
- package/dist/theme-preference-BV4cbJNB.js +115 -0
- package/dist/theme-preference-BV4cbJNB.js.map +1 -0
- package/dist/theme.js +3 -2
- package/dist/{tree-list-WhISG-cz.js → tree-list-Cqgl8mnN.js} +400 -377
- package/dist/tree-list-Cqgl8mnN.js.map +1 -0
- package/package.json +4 -4
- package/dist/diff-bubble-DZsarmSG.js +0 -61
- package/dist/diff-bubble-DZsarmSG.js.map +0 -1
- package/dist/diff-drawer-45rpk3aq.js.map +0 -1
- package/dist/diff-viewer-DJ1B5hxL.js +0 -558
- package/dist/diff-viewer-DJ1B5hxL.js.map +0 -1
- package/dist/list-row-uqD-q4gv.js +0 -1018
- package/dist/list-row-uqD-q4gv.js.map +0 -1
- package/dist/mermaid-renderer-DImi0fDp.js.map +0 -1
- package/dist/param-editor-BQd4AOUP.js +0 -225
- package/dist/param-editor-BQd4AOUP.js.map +0 -1
- package/dist/param-editor-field-BJ_rLUnV.js +0 -2385
- package/dist/param-editor-field-BJ_rLUnV.js.map +0 -1
- package/dist/prism-BStPsJSB.js +0 -658
- package/dist/prism-BStPsJSB.js.map +0 -1
- package/dist/rich-text-VYAmEigU.js +0 -6979
- package/dist/rich-text-VYAmEigU.js.map +0 -1
- package/dist/slider-hwHYe98I.js +0 -423
- package/dist/slider-hwHYe98I.js.map +0 -1
- package/dist/theme-BsOWAIi2.js.map +0 -1
- package/dist/theme-preference-pzfuK5cH.js +0 -101
- package/dist/theme-preference-pzfuK5cH.js.map +0 -1
- package/dist/tree-list-WhISG-cz.js.map +0 -1
- package/dist/types-DWA3enV6.d.ts +0 -182
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-at0rtSnX.js","names":["defineSlotRecipe","windowTitleBarRecipe","className","slots","base","root","position","flexShrink","width","height","bg","color","userSelect","WebkitAppRegion","content","display","alignItems","gap","minWidth","paddingInline","variants","controls","mac","paddingInlineStart","overlay","marginLeft","defaultVariants","windowTabsRecipe","list","overflowX","scrollbarWidth","tab","flex","maxWidth","borderRadius","borderWidth","borderColor","_selected","_hover","_dragging","zIndex","trigger","paddingInlineEnd","cursor","textStyle","focusVisibleRing","touchAction","_icon","label","overflow","textOverflow","whiteSpace","close","justifyContent","marginInlineEnd","globalCss","bg","base","_dark","color","html","height","width","overflow","hr","borderColor","body","fontFamily","fontWeight","fontSize","display","zIndex","from","opacity","transform","to","codeEditor","background","value","foreground","lineHighlightBackground","cursor","whitespace","indentGuide","indentGuideActive","terminal","light","background","value","foreground","cursor","cursorAccent","selectionBackground","black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite","dark","codeEditor","terminal","blacks","DEFAULT","value","blue","sapphire","pink","peach","red","orange","yellow","green","teal","cyan","purple","sand","neutral","mint","colors","windowControl","close","minimize","zoom","blue","orange","fonts","display","value","brand","heading","label","body","fontSizes","xs","sm","md","lg","xl","fontWeights","regular","medium","semibold","bold","sp","spacing","value","none","xs","compact","sm","comfortable","md","lg","xl","sizes","borderWidths","selection","radii","full","pill","defineSlotRecipe","alertAnatomy","alertSlotRecipe","slots","keys","base","root","px","py","gap","borderRadius","alignItems","minH","indicator","mt","content","title","textStyle","description","compoundVariants","status","variant","css","bg","color","defineRecipe","ticketTagStyle","bg","_light","_dark","color","_hover","const","badgeRecipe","className","base","display","alignItems","borderRadius","gap","fontWeight","fontVariantNumeric","whiteSpace","userSelect","variants","variant","ticket","solid","subtle","number","justifyContent","chip","borderWidth","borderColor","outline","shadow","shadowColor","plain","size","xs","textStyle","px","minH","sm","md","lg","defaultVariants","defineRecipe","filterSegment","color","bg","borderRadius","border","borderRightWidth","borderRightStyle","borderRightColor","_hover","_expanded","buttonRecipe","base","transition","fontFamily","fontWeight","borderColor","_disabled","opacity","_loading","variants","variant","outline","_active","textDecoration","primary","destructive","ghost","subtle","size","px","h","minW","textStyle","_icon","width","height","xs","lg","md","sm","defaultVariants","defineSlotRecipe","checkboxSlotRecipe","slots","base","control","borderRadius","variants","size","xs","root","gap","boxSize","indicator","label","textStyle","defineSlotRecipe","colorPickerAnatomy","interactiveBorderColor","colorPickerSlotRecipe","slots","keys","base","control","display","alignItems","width","minW","h","bg","color","border","borderColor","borderRadius","overflow","transition","outline","boxShadow","_hover","_active","_focusWithin","borderInlineStartWidth","channelInput","flex","px","borderInlineEndWidth","textStyle","_focusVisible","trigger","minH","maxH","alignSelf","content","p","borderWidth","swatch","swatchTrigger","outlineColor","variants","size","xs","sm","defaultVariants","interactiveBorderColor","defineSlotRecipe","dialogAnatomy","dialogSlotRecipe","slots","keys","base","title","textStyle","content","bg","borderRadius","borderWidth","borderColor","overflow","defineRecipe","dividerRecipe","base","borderColor","defineSlotRecipe","drawerAnatomy","parts","drawerSlotRecipe","slots","keys","base","header","fontWeight","textStyle","p","content","bg","parts","defineSlotRecipe","editableSlotRecipe","slots","const","base","preview","textStyle","borderRadius","focusRingColor","py","lineHeight","transitionProperty","transitionDuration","_hover","bg","input","width","_focusVisible","outline","outlineColor","outlineOffset","_placeholder","color","textarea","variants","variant","size","xs","root","display","alignItems","px","minH","alignContent","sm","md","lg","defineSlotRecipe","folderPickerSlotRecipe","slots","base","content","width","height","maxWidth","maxHeight","header","display","flex","px","py","alignItems","body","flexDirection","gap","p","minHeight","navigation","flexShrink","navigationButton","minWidth","path","textStyle","filter","boxSize","creation","list","rows","footer","defineSlotRecipe","fieldsetAnatomy","fieldsetSlotRecipe","slots","keys","base","legend","mb","defineRecipe","interactiveBorderColor","inputRecipe","base","px","borderRadius","transition","bg","color","border","borderColor","outline","boxShadow","_hover","_active","_focus","_focusVisible","_placeholder","variants","variant","borderless","size","h","textStyle","xs","sm","md","lg","defaultVariants","interactiveBorderColor","defineRecipe","kbdRecipe","base","display","alignItems","justifyContent","flexShrink","minW","px","borderRadius","borderWidth","borderStyle","fontFamily","fontWeight","lineHeight","userSelect","whiteSpace","wordSpacing","variants","variant","raised","color","bg","borderColor","borderBottomWidth","outline","subtle","plain","size","sm","height","textStyle","md","lg","defaultVariants","defineSlotRecipe","menuAnatomy","menuSlotRecipe","slots","keys","base","itemGroupLabel","ml","textStyle","fontWeight","color","item","width","minWidth","maxWidth","minH","h","display","alignItems","justifyContent","gap","px","py","borderRadius","bg","cursor","overflow","textAlign","textDecoration","_hover","_highlighted","_focusVisible","_checked","_selected","_disabled","itemIndicator","marginInlineStart","order","flexShrink","separator","my","mx","borderColor","content","flexDirection","p","borderWidth","borderStyle","variants","variant","panel","defineSlotRecipe","numberInputAnatomy","restingBorderColor","interactiveBorderColor","numberInputSlotRecipe","slots","keys","base","root","position","zIndex","isolation","boxShadow","input","px","pe","borderRadius","transition","bg","color","borderWidth","borderStyle","borderColor","outline","_hover","_active","_focus","_focusVisible","_placeholder","control","display","flexDirection","top","insetEnd","margin","width","height","borderStartWidth","borderStartColor","divideY","overflow","incrementTrigger","alignItems","justifyContent","flex","minH","lineHeight","borderTopEndRadius","decrementTrigger","borderBottomEndRadius","variants","variant","size","h","textStyle","fontSize","xs","sm","md","lg","defaultVariants","interactiveBorderColor","defineSlotRecipe","popoverAnatomy","popoverRecipe","slots","keys","base","positioner","_focus","outline","closeTrigger","textStyle","color","arrow","bg","borderColor","content","gap","py","borderRadius","borderWidth","borderStyle","overflow","title","borderBottom","body","footer","variants","variant","responsive","width","size","progressCircleSlotRecipe","baseProgressCircleSlotRecipe","baseSizeVariants","variants","size","circle","valueText","textStyle","baseProgressCircleSlotRecipe","progressCircleSlotRecipe","defineSlotRecipe","stackedPanels","root","flexDirection","height","overflow","gap","resizablePanel","display","width","flex","contentPanel","separator","const","resizableSplitLayoutSlotRecipe","slots","base","minWidth","minHeight","variants","orientation","horizontal","vertical","layout","split","stacked","content","defaultVariants","defineRecipe","skeletonRecipe","base","defineSlotRecipe","switchAnatomy","switchSlotRecipe","slots","keys","base","control","alignItems","bg","borderWidth","borderColor","borderRadius","color","boxShadow","transition","_hover","_active","_focusVisible","outline","_checked","thumb","variants","variant","solid","defineSlotRecipe","tabsAnatomy","tabsSlotRecipe","slots","keys","base","root","list","maxW","gap","alignItems","justifyContent","borderBottom","_horizontal","_before","borderBottomWidth","trigger","flexShrink","overflow","flex","minW","whiteSpace","textOverflow","py","borderRadius","borderWidth","borderColor","color","bg","_selected","_hover","_disabled","variants","size","xs","h","px","textStyle","_icon","width","height","sm","md","tray","true","paddingX","paddingBottom","borderBottomColor","variant","subtle","defaultVariants","defineSlotRecipe","tagAnatomy","ticketTagStyle","tagSlotRecipe","slots","keys","base","root","display","alignItems","borderRadius","gap","minW","maxW","flexShrink","label","overflow","whiteSpace","textOverflow","cursor","_focusVisible","outline","outlineColor","outlineOffset","startElement","boxSize","bg","closeTrigger","justifyContent","_hover","_disabled","opacity","variants","variant","ticket","size","composer","height","minH","px","py","textStyle","defaultVariants","defineRecipe","interactiveBorderColor","textareaRecipe","base","paddingX","paddingY","opacity","outline","boxShadow","color","border","borderRadius","transition","borderColor","_hover","_active","_focus","_focusVisible","_placeholder","variants","variant","bg","size","textStyle","xs","sm","md","lg","defaultVariants","defineSlotRecipe","timelineAnatomy","timelineSlotRecipe","slots","keys","base","root","display","flexDirection","width","item","position","alignItems","flexShrink","gap","_last","separator","borderStartWidth","ms","insetInlineStart","insetBlock","borderColor","indicator","outline","boxSize","fontSize","justifyContent","borderRadius","fontWeight","bg","color","connector","alignSelf","content","paddingBottom","title","flexWrap","mt","description","textStyle","variants","variant","tool","minWidth","whiteSpace","solid","subtle","borderWidth","plain","showLastSeparator","true","false","size","sm","md","lg","xl","defaultVariants","defineSlotRecipe","tooltipAnatomy","tooltipRecipe","slots","keys","base","content","bg","borderRadius","color","defaultConfig","SystemConfig","shadowStyleKeys","Set","shadowPattern","ThemeConfig","NonNullable","ShadowStyleTransformer","value","stripShadowTransitionParts","test","transitionParts","split","map","part","trim","filter","length","undefined","join","stripShadowStyles","Array","isArray","entry","Object","fromEntries","entries","flatMap","key","has","nextEntry","stripShadowTokens","Record","tokens","T","shadows","_shadows","tokensWithoutShadows","REMOVED_RECIPE_VARIANTS","badge","button","const","stripRemovedRecipeVariants","recipes","nextRecipes","recipeName","removedVariants","recipe","typedRecipe","variants","variant","removedVariantSet","variantsWithoutRemovedEntries","variantName","shadowlessDefaultConfig","theme","semanticTokens","slotRecipes","layerStyles","animationStyles","borders","DEFAULT","value","subtle","inverted","accent","vis","text","primary","value","_light","_dark","secondary","grid","axis","categorical","sequential","blue","default","red","bg","DEFAULT","value","_light","_dark","muted","subtle","hover","active","info","warning","success","error","code","emphasized","elevated","inverted","panel","dark","white","button","primary","default","pressed","disabled","focus","selected","display","light","medium","vis","bg","fg","DEFAULT","value","_light","_dark","muted","subtle","inverted","info","warning","success","error","accent","button","primary","default","disabled","secondary","border","blue","orange","contrast","emphasized","solid","focusRing","text","selectable","semanticColors","defineLayerStyles","layerStyles","statusBarItem","value","position","minWidth","height","cursor","opacity","dropIndicator","zIndex","borderRadius","bg","pointerEvents","tabDropZone","color","borderWidth","borderColor","filterPicker","filterLabel","paddingInline","borderRightWidth","display","filterPill","floatingBar","paddingBlock","border","boxShadow","panel","overflow","dropZone","idle","borderStyle","active","modal","defineTextStyles","textStyles","value","fontFamily","fontSize","fontWeight","lineHeight","brand","letterSpacing","textDecoration","textTransform","color","fontStyle","Parameters","createSystem","defineConfig","globalCss","colors","fontSizes","fonts","fontWeights","borderWidths","radii","sizes","spacing","alertSlotRecipe","badgeRecipe","buttonRecipe","chatQuestionBubbleRecipe","checkboxSlotRecipe","colorPickerSlotRecipe","dialogSlotRecipe","dividerRecipe","drawerSlotRecipe","editableSlotRecipe","folderPickerSlotRecipe","fieldsetSlotRecipe","inputRecipe","kbdRecipe","menuSlotRecipe","numberInputSlotRecipe","popoverRecipe","progressCircleSlotRecipe","resizableSplitLayoutSlotRecipe","skeletonRecipe","switchSlotRecipe","tabsSlotRecipe","tagSlotRecipe","textareaRecipe","timelineSlotRecipe","tooltipRecipe","windowTabsRecipe","windowTitleBarRecipe","shadowlessDefaultConfig","borders","semanticColors","layerStyles","textStyles","config","utilities","WebkitAppRegion","values","transform","value","theme","breakpoints","recipes","chatQuestionBubble","badge","button","divider","input","kbd","skeleton","textarea","tokens","semanticTokens","slotRecipes","tag","checkbox","windowTitleBar","windowTabs","resizableSplitLayout","alert","colorPicker","drawer","tooltip","popover","menu","numberInput","editable","form","dialog","folderPicker","progressCircle","switch","tabs","timeline","progressCircleSlotRecipe","chatQuestionBubbleRecipe","windowTitleBarRecipe","defineSlotRecipe","windowTabsRecipe","globalCss","colors","fonts","fontSizes","fontWeights","sp","spacing","sizes","borderWidths","radii","alertSlotRecipe","alertAnatomy","ticketTagStyle","badgeRecipe","defineRecipe","filterSegment","buttonRecipe","checkboxSlotRecipe","interactiveBorderColor$3","colorPickerSlotRecipe","colorPickerAnatomy","dialogSlotRecipe","dialogAnatomy","dividerRecipe","drawerSlotRecipe","drawerAnatomy","editableSlotRecipe","folderPickerSlotRecipe","fieldsetSlotRecipe","fieldsetAnatomy","interactiveBorderColor$2","inputRecipe","kbdRecipe","menuSlotRecipe","menuAnatomy","restingBorderColor","interactiveBorderColor$1","numberInputSlotRecipe","numberInputAnatomy","popoverRecipe","popoverAnatomy","baseSizeVariants","progressCircleSlotRecipe","progressCircleSlotRecipe$1","stackedPanels","resizableSplitLayoutSlotRecipe","skeletonRecipe","switchSlotRecipe","switchAnatomy","tabsSlotRecipe","tabsAnatomy","tagSlotRecipe","tagAnatomy","interactiveBorderColor","textareaRecipe","timelineSlotRecipe","timelineAnatomy","tooltipRecipe","tooltipAnatomy","shadowStyleKeys","shadowPattern","stripShadowTransitionParts","value","transitionParts","part","stripShadowStyles","entry","key","nextEntry","stripShadowTokens","_shadows","tokensWithoutShadows","tokens","REMOVED_RECIPE_VARIANTS","stripRemovedRecipeVariants","nextRecipes","recipes","recipeName","removedVariants","recipe","typedRecipe","variants","variant","removedVariantSet","variantsWithoutRemovedEntries","variantName","shadowlessDefaultConfig","defaultConfig","borders","semanticColors","layerStyles","defineLayerStyles","textStyles","defineTextStyles","config","defineConfig","theme_default","createSystem"],"sources":["../src/theme/recipes/window-title-bar.ts","../src/theme/global.ts","../src/theme/primitives/colors-code-editor.ts","../src/theme/primitives/colors-terminal.ts","../src/theme/primitives/colors.ts","../src/theme/primitives/fonts.ts","../src/theme/primitives/sizes.ts","../src/theme/recipes/alert.ts","../src/theme/recipes/badge.ts","../src/theme/recipes/button.ts","../src/theme/recipes/checkbox.ts","../src/theme/recipes/color-picker.ts","../src/theme/recipes/dialog.ts","../src/theme/recipes/divider.ts","../src/theme/recipes/drawer.ts","../src/theme/recipes/editable.ts","../src/theme/recipes/folder-picker.ts","../src/theme/recipes/form.ts","../src/theme/recipes/input.ts","../src/theme/recipes/kbd.ts","../src/theme/recipes/menu.ts","../src/theme/recipes/number-input.ts","../src/theme/recipes/popover.ts","../src/theme/recipes/progress-circle.ts","../src/theme/recipes/resizable-split-layout.ts","../src/theme/recipes/skeleton.ts","../src/theme/recipes/switch.ts","../src/theme/recipes/tabs.ts","../src/theme/recipes/tag.ts","../src/theme/recipes/textarea.ts","../src/theme/recipes/timeline.ts","../src/theme/recipes/tooltip.ts","../src/theme/shadowless-default-config.ts","../src/theme/tokens/borders.ts","../src/theme/tokens/colors-visualization.ts","../src/theme/tokens/colors-background.ts","../src/theme/tokens/colors.ts","../src/theme/tokens/layer-styles.ts","../src/theme/tokens/text.ts","../src/theme/theme.ts"],"sourcesContent":["import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const windowTitleBarRecipe = defineSlotRecipe({\n className: \"ps-window-title-bar\",\n slots: [\"root\", \"content\"],\n base: {\n root: {\n position: \"relative\",\n flexShrink: 0,\n width: \"full\",\n height: \"window-title-bar\",\n bg: \"bg\",\n color: \"fg\",\n userSelect: \"none\",\n WebkitAppRegion: \"drag\",\n },\n content: {\n display: \"flex\",\n alignItems: \"center\",\n gap: \"xs\",\n height: \"full\",\n minWidth: 0,\n paddingInline: \"compact\",\n \"& button, & a, & input, & [role=tab]\": { WebkitAppRegion: \"no-drag\" },\n },\n },\n variants: {\n controls: {\n mac: {\n content: {\n paddingInlineStart: \"window-controls-mac\",\n \"[data-window-full-screen] &\": { paddingInlineStart: \"compact\" },\n },\n },\n overlay: { content: { marginLeft: \"env(titlebar-area-x, 0px)\", width: \"env(titlebar-area-width, 100%)\" } },\n },\n },\n defaultVariants: { controls: \"overlay\" },\n});\n\nexport const windowTabsRecipe = defineSlotRecipe({\n className: \"ps-window-tabs\",\n slots: [\"list\", \"tab\", \"trigger\", \"label\", \"close\"],\n base: {\n list: { display: \"flex\", alignItems: \"center\", gap: \"2xs\", minWidth: 0, overflowX: \"auto\", scrollbarWidth: \"none\" },\n tab: {\n position: \"relative\",\n display: \"flex\",\n alignItems: \"center\",\n flex: \"1 1 0\",\n minWidth: \"window-tab-min\",\n height: \"window-tab\",\n maxWidth: \"fit-content\",\n borderRadius: \"xs\",\n borderWidth: \"1px\",\n borderColor: \"border\",\n color: \"fg.muted\",\n bg: \"transparent\",\n _selected: { bg: \"bg.muted\", color: \"fg\" },\n _hover: { bg: \"bg.hover\", color: \"fg\" },\n _dragging: { bg: \"bg.hover\", color: \"fg\", zIndex: \"docked\" },\n WebkitAppRegion: \"no-drag\",\n },\n trigger: {\n display: \"flex\",\n alignItems: \"center\",\n gap: \"window-tab-gap\",\n minWidth: 0,\n height: \"full\",\n paddingInlineStart: \"compact\",\n paddingInlineEnd: \"window-tab-gap\",\n cursor: \"pointer\",\n textStyle: \"label/S/medium\",\n borderRadius: \"xs\",\n focusVisibleRing: \"inside\",\n WebkitAppRegion: \"no-drag\",\n touchAction: \"none\",\n _icon: { width: \"icon-xs\", height: \"icon-xs\", flexShrink: 0 },\n },\n label: {\n minWidth: 0,\n maxWidth: \"window-tab-label-max\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n },\n close: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flexShrink: 0,\n width: \"window-tab-close\",\n height: \"window-tab-close\",\n marginInlineEnd: \"compact\",\n color: \"fg.muted\",\n borderRadius: \"2xs\",\n cursor: \"pointer\",\n focusVisibleRing: \"outside\",\n WebkitAppRegion: \"no-drag\",\n _hover: { bg: \"bg.active\", color: \"fg\" },\n _icon: { width: \"full\", height: \"full\" },\n },\n },\n});\n","export const globalCss = {\n \"*::selection\": {\n bg: {\n base: \"bg.accent-secondary.blue-medium\",\n _dark: \"bg.accent-secondary.blue-medium\",\n },\n color: {\n _dark: \"fg.inverted\",\n },\n },\n\n \":root\": {\n \"--focus-border\": \"border.accent-light\",\n \"--separator-border\": \"transparent !important\",\n },\n\n html: {\n height: \"100%\",\n width: \"100%\",\n overflow: \"hidden\",\n },\n\n hr: {\n borderColor: \"border.subtle\",\n },\n\n body: {\n height: \"100%\",\n width: \"100%\",\n fontFamily: \"body\",\n fontWeight: \"regular\",\n fontSize: \"md\",\n bg: \"bg\",\n color: \"fg\",\n borderColor: \"border\",\n overflow: \"hidden\",\n },\n\n \"#root\": {\n height: \"100%\",\n width: \"100%\",\n display: \"flex\",\n },\n\n \".sash\": {\n zIndex: \"docked\",\n },\n\n \"@keyframes message-fade-in\": {\n from: { opacity: 0, transform: \"translateY(4px)\" },\n to: { opacity: 1, transform: \"translateY(0)\" },\n },\n\n \"@media (min-width: 2560px)\": {\n html: { fontSize: \"1.25rem\" },\n },\n\n \"@media (min-width: 3840px)\": {\n html: { fontSize: \"1.5rem\" },\n },\n};\n","// Monaco needs concrete color strings, so its fallback theme uses raw tokens.\n// Values stay literal because `system.token()` returns a CSS variable for token references.\n// Theme preferences with their own Monaco theme replace these colors.\nexport const codeEditor = {\n background: { value: \"#0a0d15\" },\n foreground: { value: \"#f5f5f5\" },\n lineHighlightBackground: { value: \"#22252C\" },\n cursor: { value: \"#A7A7A7\" },\n whitespace: { value: \"#3B3B3B\" },\n indentGuide: { value: \"#404040\" },\n indentGuideActive: { value: \"#707070\" },\n};\n","// xterm.js needs concrete color strings, so the terminal palette uses raw tokens\n// with one set per preset instead of light/dark semantic tokens. Values stay\n// literal because `system.token()` returns a CSS variable for token references.\nexport const terminal = {\n light: {\n background: { value: \"#f4f4f5\" },\n foreground: { value: \"#171717\" },\n cursor: { value: \"#171717\" },\n cursorAccent: { value: \"#000000\" },\n selectionBackground: { value: \"#d4d4d8\" },\n black: { value: \"#27272a\" },\n red: { value: \"#dc2626\" },\n green: { value: \"#16a34a\" },\n yellow: { value: \"#ca8a04\" },\n blue: { value: \"#2563eb\" },\n magenta: { value: \"#c026d3\" },\n cyan: { value: \"#0891b2\" },\n white: { value: \"#e4e4e7\" },\n brightBlack: { value: \"#52525b\" },\n brightRed: { value: \"#ef4444\" },\n brightGreen: { value: \"#22c55e\" },\n brightYellow: { value: \"#eab308\" },\n brightBlue: { value: \"#3b82f6\" },\n brightMagenta: { value: \"#d946ef\" },\n brightCyan: { value: \"#06b6d4\" },\n brightWhite: { value: \"#fafafa\" },\n },\n dark: {\n background: { value: \"#0a0a0a\" },\n foreground: { value: \"#fafafa\" },\n cursor: { value: \"#fafafa\" },\n cursorAccent: { value: \"#000000\" },\n selectionBackground: { value: \"#3f3f46\" },\n black: { value: \"#27272a\" },\n red: { value: \"#f87171\" },\n green: { value: \"#4ade80\" },\n yellow: { value: \"#facc15\" },\n blue: { value: \"#60a5fa\" },\n magenta: { value: \"#e879f9\" },\n cyan: { value: \"#22d3ee\" },\n white: { value: \"#e4e4e7\" },\n brightBlack: { value: \"#52525b\" },\n brightRed: { value: \"#fca5a5\" },\n brightGreen: { value: \"#86efac\" },\n brightYellow: { value: \"#fde047\" },\n brightBlue: { value: \"#93c5fd\" },\n brightMagenta: { value: \"#f0abfc\" },\n brightCyan: { value: \"#67e8f9\" },\n brightWhite: { value: \"#fafafa\" },\n },\n};\n","import { codeEditor } from \"./colors-code-editor\";\nimport { terminal } from \"./colors-terminal\";\n\nexport const blacks = {\n DEFAULT: { value: \"#0A0D15\" },\n 50: { value: \"#FFFFFF\" },\n 75: { value: \"#FCFCFC\" },\n 100: { value: \"#F9F9F9\" },\n 200: { value: \"#F5F5F5\" },\n 300: { value: \"#EAEAEA\" },\n 400: { value: \"#C5C5C7\" },\n 450: { value: \"#9DA0A6\" },\n 500: { value: \"#797D83\" },\n 600: { value: \"#5A5F67\" },\n 700: { value: \"#444750\" },\n 750: { value: \"#33363E\" },\n 800: { value: \"#22252C\" },\n 850: { value: \"#1b2028\" },\n 900: { value: \"#0A0D15\" },\n 1000: { value: \"#000000\" },\n};\n\nexport const blue = {\n DEFAULT: { value: \"#5098FF\" },\n 50: { value: \"#EEF5FF\" },\n 100: { value: \"#D2E4FF\" },\n 200: { value: \"#A8CBFE\" },\n 300: { value: \"#81B4FE\" },\n 400: { value: \"#6CA9FF\" },\n 500: { value: \"#5098FF\" },\n 600: { value: \"#2B82FF\" },\n 700: { value: \"#0E6EF6\" },\n 800: { value: \"#0652C3\" },\n 900: { value: \"#002862\" },\n};\n\nexport const sapphire = {\n DEFAULT: { value: \"#3A4BE4\" },\n 25: { value: \"#F0F1FF\" },\n 50: { value: \"#E0E3FF\" },\n 100: { value: \"#BEC4FF\" },\n 200: { value: \"#97A2FF\" },\n 300: { value: \"#6A78F8\" },\n 400: { value: \"#4E5FF3\" },\n 500: { value: \"#3A4BE4\" },\n 600: { value: \"#2A3CD7\" },\n 700: { value: \"#202FB8\" },\n 800: { value: \"#131F87\" },\n 900: { value: \"#0A125A\" },\n};\n\nexport const pink = {\n DEFAULT: { value: \"#E054EC\" },\n 25: { value: \"#FDF0FF\" },\n 50: { value: \"#FCE1FF\" },\n 100: { value: \"#F5CBF9\" },\n 200: { value: \"#F6B4FC\" },\n 300: { value: \"#F69AFF\" },\n 400: { value: \"#EF81FA\" },\n 500: { value: \"#E054EC\" },\n 600: { value: \"#B636C1\" },\n 700: { value: \"#951BA0\" },\n 800: { value: \"#6F0C78\" },\n 900: { value: \"#520659\" },\n};\n\nexport const peach = {\n DEFAULT: { value: \"#FBD8CE\" },\n 50: { value: \"#FFF2EC\" },\n 100: { value: \"#FCE1DA\" },\n 200: { value: \"#FBD8CE\" },\n 300: { value: \"#F7C4B8\" },\n 400: { value: \"#F3AA9A\" },\n 500: { value: \"#EB8A75\" },\n 600: { value: \"#D17059\" },\n 700: { value: \"#A85646\" },\n 800: { value: \"#7B3F34\" },\n 900: { value: \"#522923\" },\n};\n\nexport const red = {\n DEFAULT: { value: \"#FF3232\" },\n 50: { value: \"#FFE0E3\" },\n 100: { value: \"#FFCCCC\" },\n 200: { value: \"#FDA8A8\" },\n 300: { value: \"#FF8B8B\" },\n 400: { value: \"#FF6B6B\" },\n 500: { value: \"#FF3232\" },\n 600: { value: \"#DE1D1D\" },\n 700: { value: \"#BA1313\" },\n 800: { value: \"#8E0E0E\" },\n 900: { value: \"#580707\" },\n};\n\nexport const orange = {\n DEFAULT: { value: \"#F78C25\" },\n 50: { value: \"#FFF4E8\" },\n 100: { value: \"#FFE2C1\" },\n 200: { value: \"#FFC98E\" },\n 300: { value: \"#FFAD57\" },\n 400: { value: \"#F78C25\" },\n 500: { value: \"#E26F12\" },\n 600: { value: \"#C85D12\" },\n 700: { value: \"#A74810\" },\n 800: { value: \"#7E330C\" },\n 900: { value: \"#552107\" },\n};\n\nexport const yellow = {\n DEFAULT: { value: \"#FFD643\" },\n 50: { value: \"#FFF7D9\" },\n 75: { value: \"#FFF3C2\" },\n 100: { value: \"#FFEEB3\" },\n 150: { value: \"#FFE999\" },\n 200: { value: \"#FFE792\" },\n 300: { value: \"#FFDE67\" },\n 400: { value: \"#FFD643\" },\n 500: { value: \"#FFC909\" },\n 600: { value: \"#E4B200\" },\n 700: { value: \"#C69B00\" },\n 800: { value: \"#9D7A00\" },\n 900: { value: \"#644E00\" },\n};\n\nexport const green = {\n DEFAULT: { value: \"#2DD665\" },\n 50: { value: \"#CFFFDF\" },\n 100: { value: \"#ACFBC7\" },\n 200: { value: \"#86F3AB\" },\n 300: { value: \"#61EA8F\" },\n 400: { value: \"#2DD665\" },\n 500: { value: \"#0AB744\" },\n 600: { value: \"#029232\" },\n 700: { value: \"#007126\" },\n 800: { value: \"#00511B\" },\n 900: { value: \"#003110\" },\n};\n\nexport const teal = {\n DEFAULT: { value: \"#3EECC4\" },\n 50: { value: \"#C9FFF3\" },\n 100: { value: \"#9EFBE6\" },\n 200: { value: \"#6DF4D5\" },\n 300: { value: \"#3EECC4\" },\n 400: { value: \"#16DFB0\" },\n 500: { value: \"#12C69C\" },\n 600: { value: \"#10A884\" },\n 700: { value: \"#0C8367\" },\n 800: { value: \"#096C55\" },\n 900: { value: \"#024F3D\" },\n};\n\nexport const cyan = {\n DEFAULT: { value: \"#5CDCFF\" },\n 50: { value: \"#DAF7FE\" },\n 100: { value: \"#ADEDFF\" },\n 200: { value: \"#85E4FF\" },\n 300: { value: \"#5CDCFF\" },\n 400: { value: \"#30D2FF\" },\n 500: { value: \"#00C0F5\" },\n 600: { value: \"#03AAD7\" },\n 700: { value: \"#0095BE\" },\n 800: { value: \"#007A9B\" },\n 900: { value: \"#005B73\" },\n};\n\nexport const purple = {\n DEFAULT: { value: \"#8B47FF\" },\n 50: { value: \"#EFE6FF\" },\n 100: { value: \"#D8C2FF\" },\n 200: { value: \"#BE99FF\" },\n 300: { value: \"#A36DFF\" },\n 400: { value: \"#8B47FF\" },\n 500: { value: \"#7223F9\" },\n 600: { value: \"#5A00F5\" },\n 700: { value: \"#4600C0\" },\n 800: { value: \"#310086\" },\n 900: { value: \"#1E0050\" },\n};\n\nexport const sand = {\n DEFAULT: { value: \"#F4F2EC\" },\n 50: { value: \"#FCF7EF\" },\n 100: { value: \"#F4F2EC\" },\n 200: { value: \"#E8CECE\" },\n 300: { value: \"#E8CECE\" },\n 400: { value: \"#E8CECE\" },\n 500: { value: \"#E8CECE\" },\n 600: { value: \"#E8CECE\" },\n 700: { value: \"#E8CECE\" },\n 800: { value: \"#E8CECE\" },\n 900: { value: \"#E8CECE\" },\n};\n\nexport const neutral = {\n 50: { value: \"#FCFDFC\" },\n 75: { value: \"#F7F9F7\" },\n 100: { value: \"#F1F5F2\" },\n 200: { value: \"#EDF1EE\" },\n 300: { value: \"#E9EFEA\" },\n 400: { value: \"#DEE5DF\" },\n 500: { value: \"#CCD1CE\" },\n 600: { value: \"#404347\" },\n 700: { value: \"#31363C\" },\n 750: { value: \"#252A2F\" },\n 800: { value: \"#222A35\" },\n 850: { value: \"#1A202A\" },\n 900: { value: \"#141923\" },\n 950: { value: \"#10141B\" },\n};\n\nexport const mint = {\n 100: { value: \"#D3ECEE\" },\n 200: { value: \"#B3DEE2\" },\n};\n\nexport const colors = {\n windowControl: {\n close: { value: \"#FF5F57\" },\n minimize: { value: \"#FEBC2E\" },\n zoom: { value: \"#28C840\" },\n },\n sand,\n blacks,\n blue,\n sapphire,\n pink,\n peach,\n red,\n orange,\n yellow,\n green,\n teal,\n cyan,\n purple,\n neutral,\n mint,\n terminal,\n codeEditor,\n};\n","export const fonts = {\n display: { value: \"'Playfair Display', serif\" },\n brand: { value: \"Onest, sans-serif\" },\n heading: { value: \"Onest, sans-serif\" },\n label: { value: \"Onest, sans-serif\" },\n body: { value: \"Inter, sans-serif\" },\n};\n\nexport const fontSizes = {\n \"2xs\": { value: \"0.5rem\" }, // 8px\n xs: { value: \"0.625rem\" }, // 10px\n sm: { value: \"0.75rem\" }, // 12px\n md: { value: \"0.875rem\" }, // 14px\n lg: { value: \"1rem\" }, // 16px\n xl: { value: \"1.125rem\" }, // 18px\n \"2xl\": { value: \"1.25rem\" }, // 20px\n \"3xl\": { value: \"1.5rem\" }, // 24px\n \"3.5xl\": { value: \"1.75rem\" }, // 28px\n \"4xl\": { value: \"2.25rem\" }, // 36px\n \"5xl\": { value: \"3rem\" }, // 48px\n \"6xl\": { value: \"4.375rem\" }, // 70px\n \"7xl\": { value: \"5.25rem\" }, // 84px\n \"icon-xs\": { value: \"0.875rem\" }, // 14px\n \"icon-sm\": { value: \"1rem\" }, // 16px\n \"icon-md\": { value: \"1.25rem\" }, // 20px\n \"icon-lg\": { value: \"1.25rem\" }, // 20px\n};\n\nexport const fontWeights = {\n regular: { value: 400 },\n medium: { value: 500 },\n semibold: { value: 600 },\n bold: { value: 700 },\n};\n","export const sp = {\n 0: \"0rem\", // 0px\n 25: \"0.125rem\", // 2px\n 50: \"0.25rem\", // 4px\n 100: \"0.5rem\", // 8px\n 150: \"0.75rem\", // 12px\n 200: \"1rem\", // 16px\n 250: \"1.25rem\", // 20px\n 300: \"1.5rem\", // 24px\n 400: \"2rem\", // 32px\n 500: \"2.5rem\", // 40px\n 600: \"3rem\", // 48px\n 700: \"3.5rem\", // 56px\n 800: \"4rem\", // 64px\n 900: \"4.5rem\", // 72px\n 1000: \"5rem\", // 80px\n 1200: \"6rem\", // 96px\n 1600: \"8rem\", // 128px\n 2000: \"10rem\", // 160px\n 3000: \"15rem\", // 240px\n 4000: \"20rem\", // 320px\n};\n\nexport const spacing = {\n \"window-tab-gap\": { value: \"0.4375rem\" },\n \"window-controls-mac\": { value: \"5.625rem\" },\n none: { value: \"0\" },\n \"3xs\": { value: sp[25] },\n \"2xs\": { value: sp[50] },\n xs: { value: sp[100] },\n compact: { value: \"0.625rem\" },\n sm: { value: sp[150] },\n comfortable: { value: \"0.875rem\" },\n md: { value: sp[200] },\n lg: { value: sp[300] },\n xl: { value: sp[400] },\n \"2xl\": { value: sp[500] },\n \"3xl\": { value: sp[600] },\n \"3.5xl\": { value: sp[700] },\n \"4xl\": { value: sp[800] },\n \"4.5xl\": { value: sp[900] },\n \"5xl\": { value: sp[1600] },\n \"panel-gap\": { value: sp[50] },\n // Performance meter: frame-rate bars sit 1px apart.\n \"performance-bar-gap\": { value: \"1px\" },\n};\n\nexport const sizes = {\n \"status-dot\": { value: \"0.375rem\" },\n \"performance-bar\": { value: sp[25] },\n \"performance-meter\": { value: \"0.625rem\" },\n \"performance-chart\": { value: \"2.25rem\" },\n \"performance-popover\": { value: \"23.75rem\" },\n \"folder-picker-width\": { value: \"36.5rem\" },\n \"folder-picker-height\": { value: \"31rem\" },\n \"folder-picker-header\": { value: \"3.25rem\" },\n \"panel-gap\": { value: sp[50] },\n \"window-title-bar\": { value: \"2.75rem\" },\n \"window-tab\": { value: \"1.75rem\" },\n \"window-tab-close\": { value: \"0.8125rem\" },\n \"tab-min\": { value: sp[600] },\n \"tab-label-max\": { value: \"8.875rem\" },\n \"window-tab-min\": { value: sp[800] },\n \"window-tab-label-max\": { value: \"11.0625rem\" },\n \"mobile-titlebar\": { value: \"3.25rem\" },\n \"collection-row\": { value: \"2.125rem\" },\n \"drop-indicator\": { value: sp[25] },\n \"tree-empty-drop-zone\": { value: \"1.75rem\" },\n \"filter-pill\": { value: sp[300] },\n \"filter-picker-height\": { value: \"30rem\" },\n \"icon-2xs\": { value: sp[150] },\n \"icon-xs\": { value: \"0.875rem\" },\n \"icon-sm\": { value: sp[200] },\n \"icon-md\": { value: sp[250] },\n \"tag-color-dot\": { value: sp[250] },\n \"tag-icon-cell\": { value: \"1.75rem\" },\n \"tag-picker\": { value: \"16.75rem\" },\n \"tag-picker-color-only\": { value: \"13.75rem\" },\n \"tag-swatch\": { value: \"1.625rem\" },\n \"tag-swatch-dot\": { value: \"0.625rem\" },\n \"tag-editor-row\": { value: sp[500] },\n \"tag-editor-add-row\": { value: \"2.25rem\" },\n \"tag-editor-lead\": { value: sp[600] },\n \"tag-editor-commands\": { value: \"11.875rem\" },\n \"tag-editor-trailing\": { value: \"1.625rem\" },\n \"segmented-control-sm\": { value: \"1.75rem\" },\n \"segmented-control-xs\": { value: sp[300] },\n \"segmented-control-item-sm\": { value: sp[300] },\n \"segmented-control-item-xs\": { value: sp[250] },\n \"tag-action-menu\": { value: sp[2000] },\n \"view-bar\": { value: sp[500] },\n \"view-subheader\": { value: \"2.25rem\" },\n};\n\nexport const borderWidths = {\n selection: { value: \"0.09375rem\" },\n};\n\nexport const radii = {\n none: { value: \"0\" },\n \"2xs\": { value: sp[25] },\n xs: { value: sp[50] },\n compact: { value: \"0.375rem\" },\n sm: { value: sp[100] },\n md: { value: sp[150] },\n lg: { value: sp[200] },\n xl: { value: sp[400] },\n full: { value: \"100%\" },\n pill: { value: \"9999px\" },\n};\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { alertAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const alertSlotRecipe = defineSlotRecipe({\n slots: alertAnatomy.keys(),\n base: {\n root: {\n px: \"xs\",\n py: \"2xs\",\n gap: \"2xs\",\n borderRadius: \"xs\",\n alignItems: \"flex-start\",\n minH: \"auto\",\n },\n indicator: {\n mt: \"0.0625rem\",\n },\n content: {\n gap: \"0\",\n },\n title: {\n textStyle: \"label/S/medium\",\n },\n description: {\n textStyle: \"paragraph/S/regular\",\n },\n },\n compoundVariants: [\n {\n status: \"info\",\n variant: \"subtle\",\n css: {\n root: {\n bg: \"bg.info\",\n color: \"fg.info\",\n },\n indicator: {\n color: \"fg.info\",\n },\n },\n },\n {\n status: \"success\",\n variant: \"subtle\",\n css: {\n root: {\n bg: \"bg.success\",\n color: \"fg.success\",\n },\n indicator: {\n color: \"fg.success\",\n },\n },\n },\n {\n status: \"warning\",\n variant: \"subtle\",\n css: {\n root: {\n bg: \"bg.warning\",\n color: \"fg.warning\",\n },\n indicator: {\n color: \"fg.warning\",\n },\n },\n },\n {\n status: \"error\",\n variant: \"subtle\",\n css: {\n root: {\n bg: \"bg.error\",\n color: \"fg.error\",\n },\n indicator: {\n color: \"fg.error\",\n },\n },\n },\n ],\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const ticketTagStyle = {\n bg: { _light: \"bg.muted\", _dark: \"bg.subtle\" },\n color: \"fg.muted\",\n _hover: { bg: { _light: \"bg.subtle\", _dark: \"bg.hover\" } },\n} as const;\n\nexport const badgeRecipe = defineRecipe({\n className: \"chakra-badge\",\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n borderRadius: \"pill\",\n gap: \"1\",\n fontWeight: \"medium\",\n fontVariantNumeric: \"tabular-nums\",\n whiteSpace: \"nowrap\",\n userSelect: \"none\",\n },\n variants: {\n variant: {\n ticket: ticketTagStyle,\n solid: {\n bg: \"colorPalette.solid\",\n color: \"colorPalette.contrast\",\n },\n subtle: {\n bg: \"colorPalette.subtle\",\n color: \"colorPalette.fg\",\n },\n number: {\n bg: \"colorPalette.subtle\",\n color: \"colorPalette.fg\",\n borderRadius: \"2xs\",\n justifyContent: \"center\",\n },\n chip: {\n bg: \"bg.subtle\",\n color: \"fg.muted\",\n borderWidth: \"1px\",\n borderColor: \"border\",\n borderRadius: \"xs\",\n fontWeight: \"normal\",\n },\n outline: {\n color: \"colorPalette.fg\",\n \"--outline-shadow-legacy\": \"colors.colorPalette.muted\",\n \"--outline-shadow\": \"colors.colorPalette.border\",\n shadow: \"inset 0 0 0px 1px var(--shadow-color)\",\n shadowColor: \"var(--outline-shadow, var(--outline-shadow-legacy))\",\n },\n plain: {\n color: \"colorPalette.fg\",\n },\n },\n size: {\n xs: {\n textStyle: \"2xs\",\n px: \"1\",\n minH: \"4\",\n },\n sm: {\n textStyle: \"xs\",\n px: \"1.5\",\n minH: \"5\",\n },\n md: {\n textStyle: \"sm\",\n px: \"2\",\n minH: \"6\",\n },\n lg: {\n textStyle: \"sm\",\n px: \"2.5\",\n minH: \"7\",\n },\n },\n },\n defaultVariants: {\n variant: \"subtle\",\n size: \"sm\",\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nconst filterSegment = {\n color: \"fg\",\n bg: \"transparent\",\n borderRadius: \"0\",\n border: \"none\",\n borderRightWidth: \"1px\",\n borderRightStyle: \"solid\",\n borderRightColor: \"border.subtle\",\n _hover: { bg: \"bg.hover\" },\n _expanded: { bg: \"bg.active\" },\n};\n\nexport const buttonRecipe = defineRecipe({\n base: {\n borderRadius: \"xs\",\n transition: \"all 0.1s ease-in-out\",\n fontFamily: \"label\",\n fontWeight: \"500\",\n color: \"fg\",\n bg: \"bg\",\n borderColor: \"border\",\n _disabled: {\n opacity: 1,\n color: \"fg.subtle\",\n bg: \"bg.muted\",\n _hover: { bg: \"bg.muted\" },\n },\n _loading: {\n opacity: 1,\n color: \"fg.subtle\",\n bg: \"bg.muted\",\n _hover: { bg: \"bg.muted\" },\n },\n },\n variants: {\n variant: {\n \"display-primary\": {\n bg: \"blacks.900\",\n color: \"fg.inverted\",\n outline: \"none\",\n border: \"none\",\n _hover: { bg: \"blacks.800\" },\n },\n \"display-outline\": {\n bg: \"transparent\",\n color: \"fg\",\n border: \"2px solid {fg}\",\n _hover: { bg: \"bg.hover\" },\n _active: { bg: \"bg.active\" },\n },\n \"display-ghost\": {\n bg: \"transparent\",\n color: \"fg\",\n _hover: { bg: \"bg.hover\" },\n _active: { bg: \"bg.active\" },\n },\n \"display-link\": {\n bg: \"transparent\",\n color: \"fg\",\n border: \"none\",\n _hover: { textDecoration: \"underline\" },\n _active: { textDecoration: \"underline\" },\n },\n primary: {\n color: \"fg.button.primary.default\",\n bg: \"bg.button.primary.default\",\n border: \"none\",\n _hover: { bg: \"bg.button.primary.hover\" },\n _active: { bg: \"bg.button.primary.pressed\" },\n },\n destructive: {\n color: \"blacks.50\",\n bg: \"red.600\",\n border: \"none\",\n _hover: { \"&:not(:active, [data-active])\": { bg: \"red.700\" } },\n _active: { bg: \"red.800\" },\n },\n outline: {\n color: \"fg\",\n bg: \"bg\",\n border: \"border\",\n _hover: { bg: \"bg.hover\" },\n _active: { bg: \"bg.active\" },\n _expanded: { bg: \"bg.active\" },\n _disabled: {\n opacity: 1,\n color: \"fg.subtle\",\n borderColor: \"border\",\n },\n },\n ghost: {\n color: \"fg\",\n bg: \"transparent\",\n border: \"none\",\n _hover: { bg: \"bg.hover\" },\n _active: { bg: \"bg.active\" },\n _expanded: { bg: \"bg.active\" },\n \"&[aria-pressed=true]\": {\n bg: \"bg.active\",\n _hover: { bg: \"bg.active\" },\n },\n _disabled: {\n bg: \"transparent\",\n _hover: { bg: \"transparent\" },\n },\n },\n \"filter-segment\": filterSegment,\n \"filter-condition\": { ...filterSegment, color: \"fg.muted\" },\n \"ghost-static\": {\n color: \"fg\",\n bg: \"transparent\",\n border: \"none\",\n _hover: { bg: \"transparent\" },\n _active: { bg: \"transparent\" },\n },\n subtle: {\n color: \"fg\",\n bg: \"bg.muted\",\n border: \"1px solid {border}\",\n _hover: { bg: \"bg.hover\" },\n _active: { bg: \"bg.active\" },\n _expanded: { bg: \"bg.active\" },\n _disabled: {\n opacity: 1,\n color: \"fg.subtle\",\n bg: \"bg.muted\",\n borderColor: \"border\",\n _hover: { bg: \"bg.muted\" },\n },\n },\n },\n size: {\n \"2xs\": {\n px: \"0.375rem\",\n h: \"1.5rem\",\n minW: \"1.5rem\",\n textStyle: \"label/XS\",\n _icon: {\n width: \"0.75rem\",\n height: \"0.75rem\",\n },\n },\n xs: {\n px: \"0.5rem\",\n h: \"1.75rem\",\n minW: \"1.75rem\",\n textStyle: \"label/XS\",\n _icon: {\n width: \"0.875rem\",\n height: \"0.875rem\",\n },\n },\n \"2xl\": {\n px: \"1.5rem\",\n h: \"3.5rem\",\n textStyle: \"label/L/medium\",\n },\n lg: {\n px: \"1rem\",\n h: \"3rem\",\n textStyle: \"label/M/medium\",\n },\n md: {\n textStyle: \"label/M/medium\",\n },\n sm: {\n px: \"0.5rem\",\n h: \"2rem\",\n textStyle: \"label/S/medium\",\n },\n },\n },\n\n defaultVariants: { size: \"sm\", variant: \"outline\" },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const checkboxSlotRecipe = defineSlotRecipe({\n slots: [\"root\", \"control\", \"indicator\", \"label\", \"group\"],\n base: { control: { borderRadius: \"xs\" } },\n variants: {\n size: {\n xs: {\n root: { gap: \"2xs\" },\n control: { boxSize: \"3\", borderRadius: \"2xs\" },\n indicator: { boxSize: \"2.5\" },\n label: { textStyle: \"label/XS\" },\n },\n },\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { colorPickerAnatomy } from \"@chakra-ui/react/anatomy\";\n\nconst interactiveBorderColor = \"border.accent-light\";\n\nexport const colorPickerSlotRecipe = defineSlotRecipe({\n slots: colorPickerAnatomy.keys(),\n base: {\n control: {\n display: \"flex\",\n alignItems: \"center\",\n width: \"full\",\n minW: \"0\",\n h: \"2rem\",\n bg: \"bg\",\n color: \"fg\",\n border: \"1px solid\",\n borderColor: \"border\",\n borderRadius: \"xs\",\n overflow: \"hidden\",\n transition: \"border-color 0.2s ease-in-out\",\n outline: \"none\",\n boxShadow: \"none\",\n _hover: {\n borderColor: interactiveBorderColor,\n },\n _active: {\n borderColor: interactiveBorderColor,\n },\n _focusWithin: {\n borderColor: interactiveBorderColor,\n boxShadow: \"none\",\n },\n \"&:is(:hover, [data-hover])\": {\n borderColor: interactiveBorderColor,\n },\n \"&:is(:active, [data-active])\": {\n borderColor: interactiveBorderColor,\n },\n \"& [data-scope=color-picker][data-part=trigger]\": {\n border: \"0\",\n borderInlineStartWidth: \"0\",\n boxShadow: \"none\",\n },\n },\n channelInput: {\n h: \"full\",\n minW: \"0\",\n flex: \"1\",\n px: \"sm\",\n bg: \"transparent\",\n color: \"fg\",\n border: \"0\",\n borderInlineEndWidth: \"0\",\n borderRadius: \"0\",\n outline: \"none\",\n boxShadow: \"none\",\n textStyle: \"label/S/regular\",\n _focusVisible: {\n outline: \"none\",\n boxShadow: \"none\",\n },\n },\n trigger: {\n h: \"full\",\n minH: \"0\",\n maxH: \"full\",\n minW: \"2rem\",\n alignSelf: \"stretch\",\n px: \"xs\",\n bg: \"transparent\",\n color: \"fg\",\n border: \"0\",\n borderInlineStartWidth: \"0\",\n borderRadius: \"0\",\n outline: \"none\",\n boxShadow: \"none\",\n _hover: {\n bg: \"bg.hover\",\n },\n _focusVisible: {\n outline: \"none\",\n boxShadow: \"none\",\n },\n },\n content: {\n p: \"sm\",\n bg: \"bg\",\n color: \"fg\",\n borderWidth: \"0\",\n borderRadius: \"xs\",\n },\n swatch: {\n borderRadius: \"2xs\",\n borderWidth: \"0\",\n },\n swatchTrigger: {\n borderRadius: \"2xs\",\n _focusVisible: {\n outline: \"1px solid\",\n outlineColor: interactiveBorderColor,\n },\n },\n },\n variants: {\n size: {\n xs: {\n control: {\n h: \"1.75rem\",\n },\n channelInput: {\n px: \"xs\",\n textStyle: \"label/XS\",\n },\n trigger: {\n minW: \"1.75rem\",\n px: \"2xs\",\n },\n },\n sm: {},\n },\n },\n defaultVariants: {\n size: \"sm\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { dialogAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const dialogSlotRecipe = defineSlotRecipe({\n slots: dialogAnatomy.keys(),\n base: {\n title: {\n textStyle: \"heading/dialog\",\n },\n content: {\n bg: \"bg\",\n borderRadius: \"xs\",\n borderWidth: \"1px\",\n borderColor: \"border.subtle\",\n overflow: \"hidden\",\n },\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const dividerRecipe = defineRecipe({\n base: {\n borderColor: \"border.subtle\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { drawerAnatomy as parts } from \"@chakra-ui/react/anatomy\";\n\nexport const drawerSlotRecipe = defineSlotRecipe({\n slots: parts.keys(),\n base: {\n header: {\n fontWeight: \"medium\",\n textStyle: \"label/M/medium\",\n p: \"xs\",\n },\n content: {\n bg: \"bg\",\n },\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const editableSlotRecipe = defineSlotRecipe({\n slots: [\"root\", \"preview\", \"input\", \"textarea\"] as const,\n base: {\n preview: {\n textStyle: \"label/L/medium\",\n borderRadius: \"2xs\",\n focusRingColor: \"border\",\n py: \"0\",\n lineHeight: \"1.5rem\",\n transitionProperty: \"common\",\n transitionDuration: \"normal\",\n _hover: { bg: \"bg.hover\" },\n },\n input: {\n textStyle: \"label/L/medium\",\n borderRadius: \"2xs\",\n focusRingColor: \"border\",\n py: \"0\",\n lineHeight: \"1.5rem\",\n transitionProperty: \"common\",\n transitionDuration: \"normal\",\n bg: \"bg\",\n width: \"auto\",\n _focusVisible: { outline: \"2px solid\", outlineColor: \"border\", outlineOffset: \"2px\" },\n _placeholder: { color: \"fg.muted\" },\n },\n textarea: {\n textStyle: \"label/L/medium\",\n borderRadius: \"2xs\",\n focusRingColor: \"border\",\n py: \"0\",\n transitionProperty: \"common\",\n transitionDuration: \"normal\",\n bg: \"bg.muted\",\n width: \"auto\",\n _focusVisible: { outline: \"2px solid\", outlineColor: \"border\", outlineOffset: \"2px\" },\n _placeholder: { color: \"fg.muted\" },\n },\n },\n variants: {\n variant: {\n \"filter-segment\": {\n input: { bg: \"transparent\", _focusVisible: { outline: \"none\" } },\n },\n },\n size: {\n xs: {\n root: { display: \"inline-flex\", alignItems: \"center\" },\n preview: { textStyle: \"label/XS\", lineHeight: \"1rem\", px: \"xs\", minH: \"5\", alignContent: \"center\" },\n input: { textStyle: \"label/XS\", lineHeight: \"1rem\", px: \"xs\", minH: \"5\" },\n textarea: { textStyle: \"label/XS\", lineHeight: \"1rem\", px: \"xs\" },\n },\n sm: {\n preview: {\n textStyle: \"label/S/medium\",\n lineHeight: \"1.25rem\",\n },\n input: {\n textStyle: \"label/S/medium\",\n lineHeight: \"1.25rem\",\n },\n textarea: {\n textStyle: \"label/S/medium\",\n lineHeight: \"1.25rem\",\n },\n },\n md: {\n preview: {\n textStyle: \"label/M/medium\",\n lineHeight: \"1.375rem\",\n },\n input: {\n textStyle: \"label/M/medium\",\n lineHeight: \"1.375rem\",\n },\n textarea: {\n textStyle: \"label/M/medium\",\n lineHeight: \"1.375rem\",\n },\n },\n lg: {\n preview: {\n textStyle: \"label/L/medium\",\n lineHeight: \"1.5rem\",\n },\n input: {\n textStyle: \"label/L/medium\",\n lineHeight: \"1.5rem\",\n },\n textarea: {\n textStyle: \"label/L/medium\",\n lineHeight: \"1.5rem\",\n },\n },\n },\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const folderPickerSlotRecipe = defineSlotRecipe({\n slots: [\n \"content\",\n \"header\",\n \"body\",\n \"navigation\",\n \"navigationButton\",\n \"path\",\n \"filter\",\n \"creation\",\n \"list\",\n \"rows\",\n \"footer\",\n ],\n base: {\n content: {\n width: \"folder-picker-width\",\n height: \"folder-picker-height\",\n maxWidth: \"calc(100vw - {spacing.xl})\",\n maxHeight: \"calc(100dvh - {spacing.xl})\",\n },\n header: {\n display: \"flex\",\n height: \"folder-picker-header\",\n flex: \"0 0 auto\",\n px: \"md\",\n py: \"none\",\n alignItems: \"center\",\n },\n body: { display: \"flex\", flexDirection: \"column\", gap: \"sm\", p: \"md\", minHeight: 0 },\n navigation: { display: \"flex\", gap: \"xs\", flexShrink: 0, alignItems: \"center\" },\n navigationButton: { width: \"8\", minWidth: \"8\", px: \"none\" },\n path: { flex: 1, minWidth: 0, px: \"2xs\", textStyle: \"label/S/medium\" },\n filter: { width: \"full\", flexShrink: 0, \"& svg\": { boxSize: \"icon-sm\" } },\n creation: { display: \"flex\", gap: \"sm\", flexShrink: 0 },\n list: { flex: 1, minHeight: 0 },\n rows: { display: \"flex\", flexDirection: \"column\", gap: \"2xs\" },\n footer: { height: \"14\", flexShrink: 0, px: \"md\", py: \"none\", gap: \"xs\" },\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { fieldsetAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const fieldsetSlotRecipe = defineSlotRecipe({\n slots: fieldsetAnatomy.keys(),\n base: {\n legend: {\n mb: \"2xs\",\n },\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nconst interactiveBorderColor = \"border.accent-light\";\n\nexport const inputRecipe = defineRecipe({\n base: {\n px: \"sm\",\n borderRadius: \"xs\",\n transition: \"border-color 0.2s ease-in-out\",\n bg: \"bg\",\n color: \"fg\",\n border: \"1px solid\",\n borderColor: \"border\",\n outline: \"none\",\n boxShadow: \"none\",\n \"--focus-color\": \"var(--chakra-colors-border-accent-light)\",\n \"--focus-ring-style\": \"none\",\n _hover: { borderColor: interactiveBorderColor },\n _active: { borderColor: interactiveBorderColor },\n _focus: { borderColor: interactiveBorderColor, outline: \"none\", boxShadow: \"none\" },\n _focusVisible: { borderColor: interactiveBorderColor, outline: \"none\", boxShadow: \"none\" },\n _placeholder: { color: \"fg.subtle\" },\n \"&:is(:hover, [data-hover])\": {\n borderColor: interactiveBorderColor,\n },\n \"&:is(:active, [data-active])\": {\n borderColor: interactiveBorderColor,\n },\n },\n variants: {\n variant: {\n outline: {\n bg: \"bg\",\n border: \"1px solid\",\n borderColor: \"border\",\n outline: \"none\",\n boxShadow: \"none\",\n \"--focus-color\": \"var(--chakra-colors-border-accent-light)\",\n \"--focus-ring-style\": \"none\",\n _hover: { borderColor: interactiveBorderColor },\n _active: { borderColor: interactiveBorderColor },\n _focus: { borderColor: interactiveBorderColor, outline: \"none\", boxShadow: \"none\" },\n _focusVisible: { borderColor: interactiveBorderColor, outline: \"none\", boxShadow: \"none\" },\n \"&:is(:hover, [data-hover])\": {\n borderColor: interactiveBorderColor,\n },\n \"&:is(:active, [data-active])\": {\n borderColor: interactiveBorderColor,\n },\n },\n borderless: {\n bg: \"transparent\",\n border: \"0\",\n borderColor: \"transparent\",\n borderRadius: \"0\",\n boxShadow: \"none\",\n transition: \"none\",\n _hover: { bg: \"transparent\", borderColor: \"transparent\" },\n _active: { bg: \"transparent\", borderColor: \"transparent\" },\n _focus: { borderColor: \"transparent\", outline: \"none\", boxShadow: \"none\" },\n _focusVisible: { borderColor: \"transparent\", outline: \"none\", boxShadow: \"none\" },\n \"&:is(:hover, [data-hover])\": {\n borderColor: \"transparent\",\n },\n \"&:is(:active, [data-active])\": {\n borderColor: \"transparent\",\n },\n },\n },\n size: {\n \"2xs\": {\n h: \"1.5rem\",\n px: \"2xs\",\n textStyle: \"label/XS\",\n },\n xs: {\n h: \"1.75rem\",\n px: \"xs\",\n textStyle: \"label/XS\",\n },\n sm: {\n h: \"2rem\",\n px: \"sm\",\n textStyle: \"label/S/regular\",\n },\n md: {\n h: \"2.5rem\",\n px: \"sm\",\n textStyle: \"label/M/regular\",\n },\n lg: {\n h: \"3rem\",\n px: \"md\",\n textStyle: \"label/M/regular\",\n },\n },\n },\n defaultVariants: {\n size: \"sm\",\n variant: \"outline\",\n },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const kbdRecipe = defineRecipe({\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flexShrink: \"0\",\n minW: \"1.25rem\",\n px: \"1\",\n borderRadius: \"0\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n fontFamily: \"mono\",\n fontWeight: \"medium\",\n lineHeight: \"1\",\n userSelect: \"none\",\n whiteSpace: \"nowrap\",\n wordSpacing: \"normal\",\n },\n variants: {\n variant: {\n raised: {\n color: \"fg.muted\",\n bg: \"bg.subtle\",\n borderColor: \"border\",\n borderBottomWidth: \"2px\",\n },\n outline: {\n color: \"fg.muted\",\n bg: \"transparent\",\n borderColor: \"border\",\n },\n subtle: {\n color: \"fg\",\n bg: \"bg.muted\",\n borderColor: \"border.subtle\",\n },\n plain: {\n color: \"fg.muted\",\n bg: \"transparent\",\n borderColor: \"transparent\",\n minW: \"auto\",\n px: \"0\",\n },\n },\n size: {\n sm: {\n height: \"1rem\",\n textStyle: \"label/XS/medium\",\n },\n md: {\n height: \"1.25rem\",\n textStyle: \"label/XS/medium\",\n },\n lg: {\n height: \"1.5rem\",\n textStyle: \"label/S/medium\",\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n variant: \"raised\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { menuAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const menuSlotRecipe = defineSlotRecipe({\n slots: menuAnatomy.keys(),\n base: {\n itemGroupLabel: {\n ml: \"{2xs}\",\n textStyle: \"label/S/regular\",\n fontWeight: \"normal\",\n color: \"fg.muted\",\n },\n\n item: {\n width: \"full\",\n minWidth: \"0\",\n maxWidth: \"full\",\n minH: \"1.75rem\",\n h: \"auto\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n gap: \"xs\",\n px: \"sm\",\n py: \"2xs\",\n borderRadius: \"0\",\n bg: \"transparent\",\n color: \"fg.menu-item.default\",\n textStyle: \"label/S/regular\",\n cursor: \"pointer\",\n overflow: \"hidden\",\n textAlign: \"left\",\n textDecoration: \"none\",\n _hover: {\n bg: \"bg.menu-item.hover\",\n },\n _highlighted: {\n bg: \"bg.menu-item.hover\",\n },\n _focusVisible: {\n bg: \"bg.menu-item.focus\",\n },\n _checked: {\n bg: \"bg.menu-item.selected\",\n color: \"fg\",\n },\n _selected: {\n bg: \"bg.menu-item.selected\",\n color: \"fg\",\n },\n \"&[aria-checked=true]\": {\n bg: \"bg.menu-item.selected\",\n color: \"fg\",\n },\n _disabled: {\n cursor: \"not-allowed\",\n color: \"fg.muted\",\n },\n },\n\n itemIndicator: {\n color: \"fg\",\n marginInlineStart: \"auto\",\n order: 1,\n flexShrink: 0,\n },\n\n separator: {\n my: \"0\",\n mx: \"0\",\n borderColor: \"border.subtle\",\n },\n\n content: {\n display: \"flex\",\n flexDirection: \"column\",\n width: \"17.5rem\",\n minWidth: \"17.5rem\",\n maxWidth: \"17.5rem\",\n gap: \"0\",\n borderRadius: \"xs\",\n p: \"0\",\n px: \"0\",\n py: \"0\",\n bg: \"bg\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"border.subtle\",\n textStyle: \"label/M/regular\",\n },\n },\n variants: {\n variant: {\n panel: {\n content: {\n width: \"64\",\n minWidth: \"64\",\n maxWidth: \"64\",\n },\n },\n },\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { numberInputAnatomy } from \"@chakra-ui/react/anatomy\";\n\nconst restingBorderColor = \"var(--chakra-colors-border)\";\nconst interactiveBorderColor = \"var(--chakra-colors-border-accent-light)\";\n\nexport const numberInputSlotRecipe = defineSlotRecipe({\n slots: numberInputAnatomy.keys(),\n base: {\n root: {\n position: \"relative\",\n zIndex: \"0\",\n isolation: \"isolate\",\n boxShadow: \"none\",\n \"--number-input-border-color\": restingBorderColor,\n \"&:is(:hover, [data-hover])\": {\n \"--number-input-border-color\": interactiveBorderColor,\n },\n \"&:is(:active, [data-active])\": {\n \"--number-input-border-color\": interactiveBorderColor,\n },\n \"&:focus-within\": {\n \"--number-input-border-color\": interactiveBorderColor,\n },\n },\n input: {\n px: \"sm\",\n pe: \"calc(var(--stepper-width) + 0.5rem)\",\n borderRadius: \"xs\",\n transition: \"border-color 0.2s ease-in-out\",\n bg: \"bg\",\n color: \"fg\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"var(--number-input-border-color)\",\n outline: \"none\",\n boxShadow: \"none\",\n \"--focus-ring-color\": \"var(--number-input-border-color)\",\n \"--focus-ring-style\": \"none\",\n _hover: { borderColor: \"var(--number-input-border-color)\" },\n _active: { borderColor: \"var(--number-input-border-color)\" },\n _focus: { borderColor: \"var(--number-input-border-color)\", outline: \"none\", boxShadow: \"none\" },\n _focusVisible: { borderColor: \"var(--number-input-border-color)\", outline: \"none\", boxShadow: \"none\" },\n _placeholder: { color: \"fg.subtle\" },\n \"&:is(:hover, [data-hover])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n \"&:is(:active, [data-active])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n \"&:not([data-invalid], [aria-invalid='true'], [data-state='invalid'])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n },\n control: {\n display: \"flex\",\n flexDirection: \"column\",\n position: \"absolute\",\n top: \"0\",\n insetEnd: \"0\",\n margin: \"1px\",\n width: \"var(--stepper-width)\",\n height: \"calc(100% - 2px)\",\n zIndex: \"1\",\n borderStartWidth: \"1px\",\n borderStartColor: \"var(--number-input-border-color)\",\n borderColor: \"var(--number-input-border-color)\",\n divideY: \"1px\",\n overflow: \"hidden\",\n boxShadow: \"none\",\n \"& > :not(style, [hidden]) ~ :not(style, [hidden])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n },\n incrementTrigger: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flex: \"1\",\n minH: \"0\",\n lineHeight: \"1\",\n borderTopEndRadius: \"xs\",\n color: \"fg.muted\",\n _hover: { bg: \"bg.hover\", color: \"fg\" },\n },\n decrementTrigger: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flex: \"1\",\n minH: \"0\",\n lineHeight: \"1\",\n borderBottomEndRadius: \"xs\",\n color: \"fg.muted\",\n _hover: { bg: \"bg.hover\", color: \"fg\" },\n },\n },\n variants: {\n variant: {\n outline: {\n input: {\n bg: \"bg\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"var(--number-input-border-color)\",\n outline: \"none\",\n boxShadow: \"none\",\n \"--focus-ring-color\": \"var(--number-input-border-color)\",\n \"--focus-ring-style\": \"none\",\n _hover: { borderColor: \"var(--number-input-border-color)\" },\n _active: { borderColor: \"var(--number-input-border-color)\" },\n _focus: { borderColor: \"var(--number-input-border-color)\", outline: \"none\", boxShadow: \"none\" },\n _focusVisible: { borderColor: \"var(--number-input-border-color)\", outline: \"none\", boxShadow: \"none\" },\n \"&:is(:hover, [data-hover])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n \"&:is(:active, [data-active])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n \"&:not([data-invalid], [aria-invalid='true'], [data-state='invalid'])\": {\n borderColor: \"var(--number-input-border-color)\",\n },\n },\n },\n },\n size: {\n \"2xs\": {\n input: {\n h: \"1.5rem\",\n px: \"2xs\",\n textStyle: \"label/XS\",\n },\n control: {\n \"--stepper-width\": \"1.25rem\",\n fontSize: \"0.625rem\",\n },\n },\n xs: {\n input: {\n h: \"1.75rem\",\n px: \"xs\",\n textStyle: \"label/XS\",\n },\n control: {\n \"--stepper-width\": \"1.5rem\",\n fontSize: \"0.75rem\",\n },\n },\n sm: {\n input: {\n h: \"2rem\",\n px: \"sm\",\n textStyle: \"label/S/regular\",\n },\n control: {\n \"--stepper-width\": \"1.75rem\",\n fontSize: \"0.75rem\",\n },\n },\n md: {\n input: {\n h: \"2.5rem\",\n px: \"sm\",\n textStyle: \"label/M/regular\",\n },\n control: {\n \"--stepper-width\": \"2rem\",\n fontSize: \"0.875rem\",\n },\n },\n lg: {\n input: {\n h: \"3rem\",\n px: \"md\",\n textStyle: \"label/M/regular\",\n },\n control: {\n \"--stepper-width\": \"2.25rem\",\n fontSize: \"0.875rem\",\n },\n },\n },\n },\n defaultVariants: {\n size: \"sm\",\n variant: \"outline\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { popoverAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const popoverRecipe = defineSlotRecipe({\n slots: popoverAnatomy.keys(),\n base: {\n positioner: {\n _focus: { outline: \"none\" },\n },\n closeTrigger: {\n textStyle: \"label/M/medium\",\n color: \"fg\",\n },\n arrow: {\n bg: \"background-primary !important\",\n borderColor: \"button-secondary-stroke\",\n },\n content: {\n gap: \"8px\",\n py: \"xs\",\n borderRadius: \"xs\",\n bg: \"bg\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"border.subtle\",\n overflow: \"visible\",\n _focus: { outline: \"none\" },\n },\n title: {\n borderBottom: \"none\",\n textStyle: \"label/M/medium\",\n bg: \"bg\",\n },\n body: { textStyle: \"primary\" },\n footer: {},\n },\n variants: {\n variant: {\n responsive: {\n content: { width: \"unset\" },\n },\n },\n size: {\n \"2xl\": {\n content: { width: \"2xl\" },\n },\n },\n },\n});\n","import { progressCircleSlotRecipe as baseProgressCircleSlotRecipe } from \"@chakra-ui/react/theme\";\n\nconst baseSizeVariants = baseProgressCircleSlotRecipe.variants?.size ?? {};\n\nexport const progressCircleSlotRecipe = {\n ...baseProgressCircleSlotRecipe,\n variants: {\n ...baseProgressCircleSlotRecipe.variants,\n size: {\n ...baseSizeVariants,\n \"2xs\": {\n circle: {\n \"--size\": \"14px\",\n \"--thickness\": \"2px\",\n },\n valueText: {\n textStyle: \"2xs\",\n },\n },\n },\n },\n};\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nconst stackedPanels = {\n root: { flexDirection: \"column\", height: \"auto\", overflow: \"visible\", gap: \"panel-gap\" },\n resizablePanel: { display: \"flex\", width: \"full\", height: \"auto\", flex: \"initial\", overflow: \"visible\" },\n contentPanel: { height: \"auto\", flex: \"initial\", overflow: \"visible\" },\n separator: { display: \"none\" },\n} as const;\n\nexport const resizableSplitLayoutSlotRecipe = defineSlotRecipe({\n slots: [\"root\", \"resizablePanel\", \"contentPanel\", \"separator\"],\n base: {\n root: { display: \"flex\", width: \"full\", minWidth: 0, minHeight: 0 },\n resizablePanel: { minWidth: 0, minHeight: 0, \"&[data-collapsed=true]\": { display: \"none\" } },\n contentPanel: { display: \"flex\", minWidth: 0, minHeight: 0 },\n separator: { \"&[data-collapsed=true]\": { display: \"none\" } },\n },\n variants: {\n orientation: {\n horizontal: {\n root: { \"--split-direction\": \"row\", \"--split-width\": \"var(--split-size)\", \"--split-height\": \"100%\" },\n },\n vertical: {\n root: { \"--split-direction\": \"column\", \"--split-width\": \"100%\", \"--split-height\": \"var(--split-size)\" },\n },\n },\n layout: {\n split: {\n root: { flexDirection: \"var(--split-direction)\", height: \"full\", overflow: \"hidden\", gap: \"0\" },\n resizablePanel: {\n display: \"flex\",\n width: \"var(--split-width)\",\n height: \"var(--split-height)\",\n flex: \"0 0 var(--split-size)\",\n overflow: \"hidden\",\n },\n contentPanel: { height: \"full\", flex: \"1\", overflow: \"hidden\" },\n separator: { display: \"flex\" },\n },\n stacked: stackedPanels,\n \"stacked-reverse\": {\n ...stackedPanels,\n root: { ...stackedPanels.root, flexDirection: \"column-reverse\" },\n },\n content: {\n root: { height: \"full\", overflow: \"hidden\" },\n resizablePanel: { display: \"none\" },\n contentPanel: { height: \"full\", flex: \"1\", overflow: \"hidden\" },\n separator: { display: \"none\" },\n },\n },\n },\n defaultVariants: { orientation: \"horizontal\", layout: \"split\" },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const skeletonRecipe = defineRecipe({\n base: {\n \"--start-color\": \"fg\",\n \"--end-color\": \"fg.muted\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { switchAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const switchSlotRecipe = defineSlotRecipe({\n slots: switchAnatomy.keys(),\n base: {\n control: {\n alignItems: \"center\",\n bg: \"bg.muted\",\n borderWidth: \"1px\",\n borderColor: \"border\",\n borderRadius: \"md\",\n color: \"fg\",\n boxShadow: \"none\",\n transition: \"border-color 0.2s ease-in-out, background-color 0.2s ease-in-out\",\n _hover: { borderColor: \"border.accent-light\" },\n _active: { borderColor: \"border.accent-light\" },\n _focusVisible: {\n borderColor: \"border.accent-light\",\n outline: \"none\",\n boxShadow: \"none\",\n },\n _checked: {\n bg: \"bg.inverted\",\n borderColor: \"bg.inverted\",\n _hover: { borderColor: \"bg.inverted\" },\n _active: { borderColor: \"bg.inverted\" },\n },\n },\n thumb: {\n bg: \"bg\",\n borderColor: \"border\",\n borderRadius: \"full\",\n _checked: {\n bg: \"fg.inverted\",\n },\n },\n },\n variants: {\n variant: {\n solid: {\n control: {\n // The switch track radius is \"md\" — never \"full\", which breaks the look.\n // Chakra's default solid variant pins \"full\", so the design radius must\n // be restated here for the merge to keep it.\n borderRadius: \"md\",\n _checked: {\n bg: \"bg.inverted\",\n borderColor: \"bg.inverted\",\n },\n },\n thumb: {\n _checked: {\n bg: \"fg.inverted\",\n },\n },\n },\n },\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { tabsAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const tabsSlotRecipe = defineSlotRecipe({\n slots: tabsAnatomy.keys(),\n base: {\n root: {\n \"--tabs-trigger-radius\": \"radii.xs\",\n },\n list: {\n // The inline list would otherwise grow past its container to the tabs' full labels,\n // so crowded tabs could neither shrink nor scroll.\n maxW: \"full\",\n gap: \"2xs\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n borderBottom: \"0\",\n _horizontal: {\n _before: {\n borderBottomWidth: \"0\",\n },\n },\n },\n trigger: {\n flexShrink: \"0\",\n overflow: \"hidden\",\n // Only tabs with a close button share a crowded row; the minimum keeps the\n // icon and close button whole. Other tabs keep their content width.\n \"&:has([data-tab-close])\": {\n flex: \"1 1 0\",\n minW: \"tab-min\",\n maxW: \"fit-content\",\n },\n // Keep bare-text labels on one line instead of wrapping.\n whiteSpace: \"nowrap\",\n \"& [data-tab-label]\": {\n minW: \"0\",\n maxW: \"tab-label-max\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n },\n py: \"0\",\n borderRadius: \"xs\",\n borderWidth: \"1px\",\n borderColor: \"border\",\n color: \"fg.muted\",\n bg: \"transparent\",\n _selected: {\n color: \"fg\",\n bg: \"bg.muted\",\n borderColor: \"border\",\n },\n _hover: {\n bg: \"bg.hover\",\n borderColor: \"border\",\n color: \"fg\",\n },\n _disabled: {\n color: \"fg.subtle\",\n borderColor: \"border\",\n bg: \"transparent\",\n _hover: {\n color: \"fg.subtle\",\n borderColor: \"border\",\n bg: \"transparent\",\n },\n },\n },\n },\n variants: {\n size: {\n xs: {\n trigger: {\n h: \"1.25rem\",\n px: \"xs\",\n gap: \"2xs\",\n textStyle: \"label/XS/medium\",\n _icon: {\n width: \"0.75rem\",\n height: \"0.75rem\",\n },\n },\n },\n sm: {\n trigger: {\n h: \"1.5rem\",\n px: \"xs\",\n gap: \"2xs\",\n textStyle: \"label/XS/medium\",\n _icon: {\n width: \"0.875rem\",\n height: \"0.875rem\",\n },\n },\n },\n md: {\n trigger: {\n h: \"1.75rem\",\n px: \"0.5rem\",\n gap: \"xs\",\n textStyle: \"label/S/medium\",\n _icon: {\n width: \"0.875rem\",\n height: \"0.875rem\",\n },\n },\n },\n },\n // Full-width strip with a bottom hairline holding the triggers, per the\n // design's Tab Strip bars.\n tray: {\n true: {\n list: {\n width: \"100%\",\n paddingX: \"lg\",\n paddingBottom: \"xs\",\n // Restate the base's shorthand key so the hairline survives the merge.\n borderBottom: \"1px solid\",\n borderBottomColor: \"border.subtle\",\n },\n },\n },\n variant: {\n subtle: {\n trigger: {\n borderRadius: \"var(--tabs-trigger-radius)\",\n color: \"fg.muted\",\n bg: \"transparent\",\n _selected: {\n color: \"fg\",\n bg: \"bg.muted\",\n borderColor: \"border\",\n },\n _hover: {\n bg: \"bg.hover\",\n borderColor: \"border\",\n color: \"fg\",\n },\n _disabled: {\n bg: \"transparent\",\n color: \"fg.subtle\",\n borderColor: \"border\",\n _hover: {\n bg: \"transparent\",\n color: \"fg.subtle\",\n borderColor: \"border\",\n },\n },\n },\n },\n },\n },\n defaultVariants: {\n size: \"xs\",\n variant: \"subtle\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { tagAnatomy } from \"@chakra-ui/react/anatomy\";\nimport { ticketTagStyle } from \"./badge\";\n\nexport const tagSlotRecipe = defineSlotRecipe({\n slots: tagAnatomy.keys(),\n base: {\n root: {\n display: \"inline-flex\",\n alignItems: \"center\",\n borderRadius: \"pill\",\n gap: \"2xs\",\n minW: \"0\",\n maxW: \"64\",\n flexShrink: \"1\",\n },\n label: {\n minW: \"0\",\n overflow: \"hidden\",\n whiteSpace: \"nowrap\",\n textOverflow: \"ellipsis\",\n cursor: \"pointer\",\n _focusVisible: { outline: \"2px solid\", outlineColor: \"border\", outlineOffset: \"2px\" },\n },\n startElement: {\n \"& [data-status-dot]\": { display: \"block\", boxSize: \"status-dot\", borderRadius: \"full\", bg: \"fg.muted\" },\n \"& [data-tone=success]\": { bg: \"fg.success\" },\n \"& [data-tone=info]\": { bg: \"fg.info\" },\n \"& [data-tone=warning]\": { bg: \"fg.warning\" },\n \"& [data-tone=error]\": { bg: \"fg.error\" },\n },\n closeTrigger: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n boxSize: \"4\",\n flexShrink: \"0\",\n borderRadius: \"full\",\n cursor: \"pointer\",\n _hover: { bg: \"bg.hover\" },\n _disabled: { cursor: \"not-allowed\", opacity: \"0.5\" },\n _focusVisible: { outline: \"2px solid\", outlineColor: \"border\" },\n \"& svg\": { boxSize: \"3\" },\n },\n },\n variants: {\n variant: { ticket: { root: ticketTagStyle } },\n size: { composer: { root: { height: \"7\", minH: \"7\", px: \"xs\", py: \"0\", textStyle: \"label/S/medium\" } } },\n },\n defaultVariants: { variant: \"ticket\", size: \"composer\" },\n});\n","import { defineRecipe } from \"@chakra-ui/react\";\n\nconst interactiveBorderColor = \"border.accent-light\";\n\nexport const textareaRecipe = defineRecipe({\n base: {\n paddingX: \"sm\",\n paddingY: \"xs\",\n opacity: \"1\",\n outline: \"none\",\n boxShadow: \"none\",\n color: \"fg\",\n border: \"1px solid\",\n borderRadius: \"xs\",\n transition: \"border-color 0.2s ease-in-out\",\n borderColor: \"border\",\n \"--focus-color\": \"var(--chakra-colors-border-accent-light)\",\n \"--focus-ring-style\": \"none\",\n _hover: {\n borderColor: interactiveBorderColor,\n },\n _active: {\n borderColor: interactiveBorderColor,\n },\n _focus: {\n borderColor: interactiveBorderColor,\n outline: \"none\",\n boxShadow: \"none\",\n },\n _focusVisible: {\n borderColor: interactiveBorderColor,\n outline: \"none\",\n boxShadow: \"none\",\n },\n _placeholder: {\n color: \"fg.subtle\",\n },\n \"&:is(:hover, [data-hover])\": {\n borderColor: interactiveBorderColor,\n },\n \"&:is(:active, [data-active])\": {\n borderColor: interactiveBorderColor,\n },\n },\n variants: {\n variant: {\n outline: {\n bg: \"bg\",\n border: \"1px solid\",\n borderColor: \"border\",\n outline: \"none\",\n boxShadow: \"none\",\n \"--focus-color\": \"var(--chakra-colors-border-accent-light)\",\n \"--focus-ring-style\": \"none\",\n _hover: {\n borderColor: interactiveBorderColor,\n },\n _active: {\n borderColor: interactiveBorderColor,\n },\n _focus: {\n borderColor: interactiveBorderColor,\n outline: \"none\",\n boxShadow: \"none\",\n },\n _focusVisible: {\n borderColor: interactiveBorderColor,\n outline: \"none\",\n boxShadow: \"none\",\n },\n \"&:is(:hover, [data-hover])\": {\n borderColor: interactiveBorderColor,\n },\n \"&:is(:active, [data-active])\": {\n borderColor: interactiveBorderColor,\n },\n },\n },\n size: {\n \"2xs\": {\n paddingX: \"2xs\",\n paddingY: \"2xs\",\n textStyle: \"label/XS\",\n },\n xs: {\n paddingX: \"xs\",\n paddingY: \"2xs\",\n textStyle: \"label/XS\",\n },\n sm: {\n paddingX: \"sm\",\n paddingY: \"xs\",\n textStyle: \"label/S/regular\",\n },\n md: {\n paddingX: \"sm\",\n paddingY: \"xs\",\n textStyle: \"label/M/regular\",\n },\n lg: {\n paddingX: \"md\",\n paddingY: \"sm\",\n textStyle: \"label/M/regular\",\n },\n },\n },\n defaultVariants: {\n size: \"sm\",\n variant: \"outline\",\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { timelineAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const timelineSlotRecipe = defineSlotRecipe({\n slots: timelineAnatomy.keys(),\n base: {\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n width: \"full\",\n \"--timeline-thickness\": \"1px\",\n \"--timeline-gutter\": \"4px\",\n },\n item: {\n \"--timeline-content-gap\": \"spacing.6\",\n display: \"flex\",\n position: \"relative\",\n alignItems: \"flex-start\",\n flexShrink: 0,\n gap: \"4\",\n _last: {\n \"--timeline-content-gap\": \"0\",\n },\n },\n separator: {\n display: \"var(--timeline-separator-display)\",\n position: \"absolute\",\n borderStartWidth: \"var(--timeline-thickness)\",\n ms: \"calc(-1 * var(--timeline-thickness) / 2)\",\n insetInlineStart: \"calc(var(--timeline-indicator-size) / 2)\",\n insetBlock: \"0\",\n borderColor: \"border.subtle\",\n },\n indicator: {\n outline: \"2px solid {colors.bg}\",\n position: \"relative\",\n flexShrink: \"0\",\n boxSize: \"var(--timeline-indicator-size)\",\n fontSize: \"var(--timeline-font-size)\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n borderRadius: \"full\",\n fontWeight: \"medium\",\n bg: \"bg\",\n color: \"fg\",\n },\n connector: {\n alignSelf: \"stretch\",\n position: \"relative\",\n },\n content: {\n display: \"flex\",\n flexDirection: \"column\",\n width: \"full\",\n gap: \"0\",\n paddingBottom: \"0\",\n },\n title: {\n display: \"flex\",\n fontWeight: \"medium\",\n flexWrap: \"wrap\",\n gap: \"1.5\",\n alignItems: \"center\",\n mt: \"var(--timeline-margin)\",\n },\n description: {\n color: \"fg.muted\",\n textStyle: \"xs\",\n },\n },\n variants: {\n variant: {\n tool: {\n content: {\n minWidth: \"0\",\n },\n title: {\n flexWrap: \"nowrap\",\n whiteSpace: \"nowrap\",\n },\n },\n solid: {},\n subtle: {},\n outline: {\n indicator: {\n borderWidth: \"1px\",\n borderColor: \"border.subtle\",\n },\n },\n plain: {\n indicator: {\n bg: \"transparent\",\n color: \"fg\",\n },\n },\n },\n showLastSeparator: {\n true: {\n item: {\n _last: {\n \"--timeline-separator-display\": \"initial\",\n },\n },\n },\n false: {\n item: {\n _last: {\n \"--timeline-separator-display\": \"none\",\n },\n },\n },\n },\n size: {\n sm: {\n root: {\n \"--timeline-indicator-size\": \"sizes.4\",\n \"--timeline-font-size\": \"fontSizes.2xs\",\n },\n title: {\n textStyle: \"xs\",\n },\n },\n md: {\n root: {\n \"--timeline-indicator-size\": \"sizes.5\",\n \"--timeline-font-size\": \"fontSizes.xs\",\n },\n title: {\n textStyle: \"sm\",\n },\n },\n lg: {\n root: {\n \"--timeline-indicator-size\": \"sizes.6\",\n \"--timeline-font-size\": \"fontSizes.xs\",\n },\n title: {\n mt: \"0.5\",\n textStyle: \"sm\",\n },\n },\n xl: {\n root: {\n \"--timeline-indicator-size\": \"sizes.8\",\n \"--timeline-font-size\": \"fontSizes.sm\",\n },\n title: {\n mt: \"1.5\",\n textStyle: \"sm\",\n },\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n variant: \"solid\",\n showLastSeparator: false,\n },\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react\";\nimport { tooltipAnatomy } from \"@chakra-ui/react/anatomy\";\n\nexport const tooltipRecipe = defineSlotRecipe({\n slots: tooltipAnatomy.keys(),\n base: {\n content: {\n bg: \"bg.inverted\",\n borderRadius: \"xs\",\n color: \"fg.inverted\",\n },\n },\n});\n","import { defaultConfig, type SystemConfig } from \"@chakra-ui/react\";\n\n// this is an escape hatch:\n// remove unwanted chakra default programmatically\n// whenever possible we should update the recipes\n\nconst shadowStyleKeys = new Set([\"boxShadow\", \"boxShadowColor\", \"textShadow\"]);\nconst shadowPattern = /shadow/i;\ntype ThemeConfig = NonNullable<SystemConfig[\"theme\"]>;\ntype ShadowStyleTransformer = (value: unknown) => unknown;\n\nconst stripShadowTransitionParts = (value: string) => {\n if (!shadowPattern.test(value)) return value;\n\n const transitionParts = value\n .split(\",\")\n .map((part) => part.trim())\n .filter((part) => !shadowPattern.test(part));\n\n if (transitionParts.length === 0) return undefined;\n return transitionParts.join(\", \");\n};\n\nconst stripShadowStyles: ShadowStyleTransformer = (value) => {\n if (Array.isArray(value)) {\n return value.map(stripShadowStyles).filter((entry) => entry !== undefined);\n }\n\n if (typeof value === \"string\") {\n return stripShadowTransitionParts(value);\n }\n\n if (!value || typeof value !== \"object\") {\n return value;\n }\n\n return Object.fromEntries(\n Object.entries(value).flatMap(([key, entry]) => {\n if (shadowStyleKeys.has(key) || shadowPattern.test(key)) return [];\n\n const nextEntry = stripShadowStyles(entry);\n if (nextEntry === undefined) return [];\n return [[key, nextEntry]];\n }),\n );\n};\n\nconst stripShadowTokens = <T extends Record<string, unknown> | undefined>(tokens: T) => {\n const { shadows: _shadows, ...tokensWithoutShadows } = tokens ?? {};\n return tokensWithoutShadows;\n};\n\nconst REMOVED_RECIPE_VARIANTS = {\n badge: [\"surface\"],\n button: [\"secondary\", \"surface\"],\n} as const;\n\nconst stripRemovedRecipeVariants = (recipes: ThemeConfig[\"recipes\"]) => {\n const nextRecipes = { ...(recipes ?? {}) } as Record<string, unknown>;\n\n for (const [recipeName, removedVariants] of Object.entries(REMOVED_RECIPE_VARIANTS)) {\n const recipe = nextRecipes[recipeName];\n if (!recipe || typeof recipe !== \"object\") continue;\n\n const typedRecipe = recipe as { variants?: { variant?: Record<string, unknown> } };\n const variants = typedRecipe.variants;\n const variant = variants?.variant;\n if (!variant) continue;\n\n const removedVariantSet = new Set<string>(removedVariants);\n const variantsWithoutRemovedEntries = Object.fromEntries(\n Object.entries(variant).filter(([variantName]) => !removedVariantSet.has(variantName)),\n );\n nextRecipes[recipeName] = {\n ...typedRecipe,\n variants: {\n ...variants,\n variant: variantsWithoutRemovedEntries,\n },\n };\n }\n\n return nextRecipes as ThemeConfig[\"recipes\"];\n};\n\n// Chakra's default recipes include elevation; keep the recipes but remove shadow styling.\nexport const shadowlessDefaultConfig: SystemConfig = {\n ...defaultConfig,\n theme: {\n ...defaultConfig.theme,\n tokens: stripShadowTokens(defaultConfig.theme?.tokens) as ThemeConfig[\"tokens\"],\n semanticTokens: stripShadowTokens(defaultConfig.theme?.semanticTokens) as ThemeConfig[\"semanticTokens\"],\n recipes: stripRemovedRecipeVariants(stripShadowStyles(defaultConfig.theme?.recipes) as ThemeConfig[\"recipes\"]),\n slotRecipes: stripShadowStyles(defaultConfig.theme?.slotRecipes) as ThemeConfig[\"slotRecipes\"],\n layerStyles: stripShadowStyles(defaultConfig.theme?.layerStyles) as ThemeConfig[\"layerStyles\"],\n animationStyles: stripShadowStyles(defaultConfig.theme?.animationStyles) as ThemeConfig[\"animationStyles\"],\n },\n};\n","export const borders = {\n DEFAULT: {\n value: \"1px solid {colors.border}\",\n },\n\n subtle: {\n value: \"1px solid {colors.border.subtle}\",\n },\n\n inverted: {\n value: \"1px solid {colors.border.inverted}\",\n },\n\n accent: {\n value: \"1px solid {colors.border.accent}\",\n },\n\n \"accent-light\": {\n value: \"1px solid {colors.border.accent-light}\",\n },\n};\n","export const vis = {\n text: {\n primary: {\n value: {\n _light: \"{colors.blacks.800}\",\n _dark: \"{colors.blacks.200}\",\n },\n },\n secondary: {\n value: {\n _light: \"{colors.blacks.600}\",\n _dark: \"{colors.blacks.500}\",\n },\n },\n },\n\n grid: {\n value: {\n _light: \"{colors.blacks.300}\",\n _dark: \"{colors.blacks.800}\",\n },\n },\n\n axis: {\n value: {\n _light: \"{colors.blacks.700}\",\n _dark: \"{colors.blacks.300}\",\n },\n },\n\n categorical: {\n 1: {\n value: {\n _light: \"{colors.blue.700}\",\n _dark: \"{colors.blue.300}\",\n },\n },\n 2: {\n value: {\n _light: \"{colors.orange.700}\",\n _dark: \"{colors.orange.300}\",\n },\n },\n 3: {\n value: {\n _light: \"{colors.purple.700}\",\n _dark: \"{colors.purple.300}\",\n },\n },\n 4: {\n value: {\n _light: \"{colors.red.700}\",\n _dark: \"{colors.red.300}\",\n },\n },\n 5: {\n value: {\n _light: \"{colors.pink.700}\",\n _dark: \"{colors.pink.300}\",\n },\n },\n 6: {\n value: {\n _light: \"{colors.teal.700}\",\n _dark: \"{colors.teal.300}\",\n },\n },\n 7: {\n value: {\n _light: \"{colors.cyan.700}\",\n _dark: \"{colors.cyan.300}\",\n },\n },\n },\n\n sequential: {\n blue: {\n \"low-3\": {\n value: {\n _light: \"{colors.blue.200}\",\n _dark: \"{colors.blue.800}\",\n },\n },\n \"low-2\": {\n value: {\n _light: \"{colors.blue.300}\",\n _dark: \"{colors.blue.700}\",\n },\n },\n \"low-1\": {\n value: {\n _light: \"{colors.blue.400}\",\n _dark: \"{colors.blue.600}\",\n },\n },\n default: {\n value: {\n _light: \"{colors.blue.500}\",\n _dark: \"{colors.blue.500}\",\n },\n },\n \"high-1\": {\n value: {\n _light: \"{colors.blue.600}\",\n _dark: \"{colors.blue.400}\",\n },\n },\n \"high-2\": {\n value: {\n _light: \"{colors.blue.700}\",\n _dark: \"{colors.blue.300}\",\n },\n },\n \"high-3\": {\n value: {\n _light: \"{colors.blue.800}\",\n _dark: \"{colors.blue.200}\",\n },\n },\n },\n red: {\n \"low-3\": {\n value: {\n _light: \"{colors.red.200}\",\n _dark: \"{colors.red.800}\",\n },\n },\n \"low-2\": {\n value: {\n _light: \"{colors.red.300}\",\n _dark: \"{colors.red.700}\",\n },\n },\n \"low-1\": {\n value: {\n _light: \"{colors.red.400}\",\n _dark: \"{colors.red.600}\",\n },\n },\n default: {\n value: {\n _light: \"{colors.red.500}\",\n _dark: \"{colors.red.500}\",\n },\n },\n \"high-1\": {\n value: {\n _light: \"{colors.red.600}\",\n _dark: \"{colors.red.400}\",\n },\n },\n \"high-2\": {\n value: {\n _light: \"{colors.red.700}\",\n _dark: \"{colors.red.300}\",\n },\n },\n \"high-3\": {\n value: {\n _light: \"{colors.red.800}\",\n _dark: \"{colors.red.200}\",\n },\n },\n },\n },\n};\n","export const bg = {\n DEFAULT: {\n value: {\n _light: \"{colors.blacks.50}\",\n _dark: \"#07090E\",\n },\n },\n\n muted: {\n value: {\n _light: \"#F0F5F1\",\n _dark: \"#171A22\",\n },\n },\n\n subtle: {\n value: {\n _light: \"#F9FBFA\",\n _dark: \"#0E1016\",\n },\n },\n\n hover: {\n value: {\n _light: \"#EDF2EE\",\n _dark: \"#1E212A\",\n },\n },\n\n active: {\n value: {\n _light: \"#E7EEE9\",\n _dark: \"#252932\",\n },\n },\n\n info: {\n value: {\n _light: \"{colors.blue.50}\",\n _dark: \"{colors.blue.900}\",\n },\n },\n\n warning: {\n value: {\n _light: \"{colors.orange.50}\",\n _dark: \"{colors.orange.900}\",\n },\n },\n\n success: {\n value: {\n _light: \"{colors.green.50}\",\n _dark: \"{colors.green.900}\",\n },\n },\n\n error: {\n value: {\n _light: \"{colors.red.50}\",\n _dark: \"{colors.red.900}\",\n },\n },\n\n code: {\n value: {\n _light: \"{colors.blacks.50}\",\n _dark: \"#10131A\",\n },\n },\n\n emphasized: {\n value: {\n _light: \"{colors.bg.active}\",\n _dark: \"#1D242E\",\n },\n },\n\n elevated: {\n value: {\n _light: \"{colors.blacks.50}\",\n _dark: \"#1B1E26\",\n },\n },\n\n inverted: {\n value: {\n _light: \"{colors.blacks.800}\",\n _dark: \"{colors.blacks.100}\",\n },\n },\n\n panel: {\n value: {\n _light: \"{colors.bg}\",\n _dark: \"{colors.bg}\",\n },\n },\n\n dark: {\n value: {\n _light: \"{colors.blacks.900}\",\n _dark: \"{colors.blacks.900}\",\n },\n },\n\n white: {\n value: {\n _light: \"{colors.blacks.50}\",\n _dark: \"{colors.blacks.50}\",\n },\n },\n\n button: {\n primary: {\n default: {\n value: \"{colors.bg.accent-primary.default}\",\n },\n hover: {\n value: \"{colors.bg.accent-primary.hover}\",\n },\n pressed: {\n value: \"{colors.bg.accent-primary.pressed}\",\n },\n disabled: {\n value: \"{colors.bg.muted}\",\n },\n },\n },\n\n \"menu-item\": {\n default: {\n value: \"{colors.bg}\",\n },\n hover: {\n value: \"{colors.bg.hover}\",\n },\n focus: {\n value: \"{colors.bg.hover}\",\n },\n selected: {\n value: \"{colors.bg.active}\",\n },\n },\n\n display: {\n \"very-light\": {\n value: {\n _light: \"{colors.sand.50}\",\n _dark: \"{colors.blacks.1000}\",\n },\n },\n },\n\n // A drop target the dragged item joins, such as a group in the Sidenav.\n \"accent-subtle\": {\n value: {\n _light: \"#EEF0FB\",\n _dark: \"#232538\",\n },\n },\n\n \"accent-primary\": {\n default: {\n value: {\n _light: \"{colors.yellow.75}\",\n _dark: \"{colors.yellow.75}\",\n },\n },\n hover: {\n value: {\n _light: \"{colors.yellow.100}\",\n _dark: \"{colors.yellow.100}\",\n },\n },\n pressed: {\n value: {\n _light: \"{colors.yellow.150}\",\n _dark: \"{colors.yellow.150}\",\n },\n },\n \"very-light\": {\n value: {\n _light: \"{colors.yellow.75}\",\n _dark: \"{colors.yellow.75}\",\n },\n },\n light: {\n value: {\n _light: \"{colors.yellow.75}\",\n _dark: \"{colors.yellow.75}\",\n },\n },\n medium: {\n value: {\n _light: \"{colors.yellow.100}\",\n _dark: \"{colors.yellow.100}\",\n },\n },\n dark: {\n value: {\n _light: \"{colors.yellow.150}\",\n _dark: \"{colors.yellow.150}\",\n },\n },\n },\n\n \"accent-secondary\": {\n \"grey-dark\": {\n value: {\n _light: \"{colors.blacks.50}\",\n _dark: \"{colors.blacks.1000}\",\n },\n },\n \"grey-light\": {\n value: {\n _light: \"{colors.blacks.100}\",\n _dark: \"{colors.blacks.900}\",\n },\n },\n \"red-very-light\": {\n value: {\n _light: \"{colors.red.50}\",\n _dark: \"{colors.red.100}\",\n },\n },\n \"red-light\": {\n value: {\n _light: \"{colors.red.100}\",\n _dark: \"{colors.red.100}\",\n },\n },\n \"pink-light\": {\n value: {\n _light: \"{colors.pink.50}\",\n _dark: \"{colors.pink.700}\",\n },\n },\n \"pink-medium\": {\n value: {\n _light: \"{colors.pink.100}\",\n _dark: \"{colors.pink.800}\",\n },\n },\n \"blue-very-light\": {\n value: {\n _light: \"{colors.blue.25}\",\n _dark: \"{colors.blue.50}\",\n },\n },\n \"blue-light\": {\n value: {\n _light: \"{colors.mint.100}\",\n _dark: \"{colors.mint.100}\",\n },\n },\n \"blue-medium\": {\n value: {\n _light: \"{colors.mint.200}\",\n _dark: \"{colors.mint.200}\",\n },\n },\n \"blue-dark\": {\n value: {\n _light: \"{colors.blue.700}\",\n _dark: \"{colors.blue.200}\",\n },\n },\n \"cyan-light\": {\n value: {\n _light: \"{colors.cyan.50}\",\n _dark: \"{colors.cyan.100}\",\n },\n },\n \"green-light\": {\n value: {\n _light: \"{colors.green.50}\",\n _dark: \"{colors.sapphire.50}\",\n },\n },\n \"sand-light\": {\n value: {\n _light: \"{colors.sand.100}\",\n _dark: \"{colors.sand.100}\",\n },\n },\n },\n};\n","import { vis } from \"./colors-visualization\";\n\nexport { vis } from \"./colors-visualization\";\n\nimport { bg } from \"./colors-background\";\n\nexport { bg } from \"./colors-background\";\nexport const fg = {\n DEFAULT: {\n value: {\n _light: \"{colors.blacks.800}\",\n _dark: \"#F7F8F8\",\n },\n },\n\n muted: {\n value: {\n _light: \"{colors.blacks.600}\",\n _dark: \"#8B9099\",\n },\n },\n\n subtle: {\n value: {\n _light: \"{colors.blacks.400}\",\n _dark: \"#646973\",\n },\n },\n\n inverted: {\n value: {\n _light: \"{colors.blacks.50}\",\n _dark: \"{colors.blacks.800}\",\n },\n },\n\n info: {\n value: {\n _light: \"{colors.blue.700}\",\n _dark: \"{colors.blue.300}\",\n },\n },\n\n warning: {\n value: {\n _light: \"{colors.orange.700}\",\n _dark: \"{colors.orange.300}\",\n },\n },\n\n success: {\n value: {\n _light: \"{colors.green.700}\",\n _dark: \"{colors.green.400}\",\n },\n },\n\n error: {\n value: {\n _light: \"{colors.red.700}\",\n _dark: \"{colors.red.400}\",\n },\n },\n\n accent: {\n \"pink-dark\": {\n value: {\n _light: \"{colors.pink.700}\",\n _dark: \"{colors.pink.50}\",\n },\n },\n },\n\n \"green-dark\": {\n value: {\n _light: \"{colors.green.700}\",\n _dark: \"{colors.green.50}\",\n },\n },\n\n \"blue-dark\": {\n value: {\n _light: \"{colors.sapphire.700}\",\n _dark: \"{colors.sapphire.100}\",\n },\n },\n\n \"blue-very-dark\": {\n value: {\n _light: \"{colors.sapphire.900}\",\n _dark: \"{colors.sapphire.800}\",\n },\n },\n\n button: {\n primary: {\n default: {\n value: {\n _light: \"{colors.blacks.800}\",\n _dark: \"{colors.blacks.800}\",\n },\n },\n disabled: {\n value: \"{colors.fg.subtle}\",\n },\n },\n },\n\n \"menu-item\": {\n default: {\n value: \"{colors.fg}\",\n },\n secondary: {\n value: \"{colors.fg.muted}\",\n },\n },\n};\n\nexport const border = {\n DEFAULT: {\n value: {\n _light: \"#EAF0EB\",\n _dark: \"#2E333F\",\n },\n },\n\n subtle: {\n value: {\n _light: \"#EDF2EE\",\n _dark: \"#1A1E26\",\n },\n },\n\n inverted: {\n value: {\n _light: \"{colors.neutral.600}\",\n _dark: \"{colors.neutral.500}\",\n },\n },\n\n \"accent-light\": {\n value: {\n _light: \"{colors.mint.100}\",\n _dark: \"{colors.mint.100}\",\n },\n },\n\n accent: {\n value: {\n _light: \"{colors.blue.700}\",\n _dark: \"{colors.blue.200}\",\n },\n },\n\n info: {\n value: {\n _light: \"{colors.blue.100}\",\n _dark: \"#113A7C\",\n },\n },\n\n warning: {\n value: {\n _light: \"{colors.orange.100}\",\n _dark: \"#7C3A0E\",\n },\n },\n\n success: {\n value: {\n _light: \"{colors.green.100}\",\n _dark: \"#0A5B24\",\n },\n },\n\n error: {\n value: {\n _light: \"{colors.red.100}\",\n _dark: \"{colors.red.800}\",\n },\n },\n\n button: {\n primary: {\n value: \"{colors.border.subtle}\",\n },\n },\n};\n\nexport const blue = {\n border: {\n value: {\n _light: \"{colors.mint.200}\",\n _dark: \"{colors.mint.200}\",\n },\n },\n};\n\nexport const orange = {\n contrast: {\n value: {\n _light: \"black\",\n _dark: \"black\",\n },\n },\n fg: {\n value: {\n _light: \"{colors.orange.700}\",\n _dark: \"{colors.orange.300}\",\n },\n },\n subtle: {\n value: {\n _light: \"{colors.orange.100}\",\n _dark: \"{colors.orange.900}\",\n },\n },\n muted: {\n value: {\n _light: \"{colors.orange.200}\",\n _dark: \"{colors.orange.800}\",\n },\n },\n emphasized: {\n value: {\n _light: \"{colors.orange.300}\",\n _dark: \"{colors.orange.700}\",\n },\n },\n solid: {\n value: {\n _light: \"{colors.orange.500}\",\n _dark: \"{colors.orange.400}\",\n },\n },\n focusRing: {\n value: {\n _light: \"{colors.orange.500}\",\n _dark: \"{colors.orange.500}\",\n },\n },\n border: {\n value: {\n _light: \"{colors.orange.400}\",\n _dark: \"{colors.orange.500}\",\n },\n },\n};\n\nexport const text = {\n selectable: {\n primary: {\n value: {\n _light: \"{colors.blacks.800}\",\n _dark: \"{colors.blacks.800}\",\n },\n },\n },\n};\n\nexport const semanticColors = {\n fg,\n bg,\n border,\n blue,\n orange,\n vis,\n text,\n};\n","import { defineLayerStyles } from \"@chakra-ui/react\";\n\nexport const layerStyles = defineLayerStyles({\n statusBarItem: {\n value: {\n position: \"relative\",\n minWidth: \"0\",\n height: \"full\",\n \"&[data-sortable]\": { cursor: \"grab\" },\n \"&[data-dragging]\": { opacity: 0.5 },\n },\n },\n dropIndicator: {\n value: {\n position: \"absolute\",\n zIndex: \"1\",\n borderRadius: \"2xs\",\n bg: \"bg.accent-primary.default\",\n pointerEvents: \"none\",\n },\n },\n tabDropZone: {\n value: {\n bg: \"bg.accent-primary.default/4\",\n color: \"fg.muted\",\n borderWidth: \"1px\",\n borderColor: \"bg.accent-primary.default\",\n borderRadius: \"inherit\",\n },\n },\n filterPicker: {\n value: {\n height: \"min({sizes.filter-picker-height}, calc(100dvh - {spacing.xl}))\",\n },\n },\n filterLabel: {\n value: {\n paddingInline: \"xs\",\n borderRightWidth: \"1px\",\n borderColor: \"border.subtle\",\n height: \"full\",\n display: \"inline-flex\",\n },\n },\n filterPill: {\n value: {\n height: \"filter-pill\",\n borderWidth: \"1px\",\n borderColor: \"border.subtle\",\n borderRadius: \"xs\",\n bg: \"bg.muted\",\n },\n },\n floatingBar: {\n value: {\n paddingInline: \"sm\",\n paddingBlock: \"2xs\",\n borderRadius: \"md\",\n bg: \"bg.elevated\",\n border: \"1px solid\",\n borderColor: \"border\",\n boxShadow: \"lg\",\n },\n },\n // Cards clip their content so square children never paint over the rounded corners.\n panel: {\n value: {\n borderRadius: \"sm\",\n borderWidth: \"1px\",\n borderColor: \"border.subtle\",\n overflow: \"hidden\",\n },\n },\n // A dashed outline marks an area that takes dropped files. While something is dragged over it,\n // the outline takes the accent color and the area fills in.\n dropZone: {\n idle: {\n value: {\n borderRadius: \"sm\",\n borderWidth: \"1px\",\n borderStyle: \"dashed\",\n borderColor: \"border\",\n },\n },\n active: {\n value: {\n borderRadius: \"sm\",\n borderWidth: \"1px\",\n borderStyle: \"dashed\",\n borderColor: \"border.accent\",\n bg: \"bg.subtle\",\n },\n },\n },\n modal: {\n value: {\n paddingInline: \"xs\",\n paddingBlock: \"sm\",\n borderRadius: \"xs\",\n bg: \"bg\",\n border: \"1px solid\",\n borderColor: \"border\",\n },\n },\n});\n","import { defineTextStyles } from \"@chakra-ui/react\";\n\nexport const textStyles = defineTextStyles({\n \"heading/dialog\": {\n value: {\n fontFamily: \"heading\",\n fontSize: \"0.9375rem\",\n fontWeight: \"600\",\n lineHeight: \"140%\",\n },\n },\n brand: {\n value: {\n fontFamily: \"brand\",\n fontSize: \"3xl\",\n fontWeight: \"500\",\n },\n },\n \"heading/display/L\": {\n value: {\n fontFamily: \"display\",\n fontWeight: \"600\",\n fontSize: [\"5xl\", \"5xl\", \"5xl\", \"6xl\"],\n lineHeight: \"120%\",\n },\n },\n \"heading/display/M\": {\n value: {\n fontFamily: \"display\",\n fontWeight: \"600\",\n fontSize: [\"4xl\", \"5xl\"],\n lineHeight: \"120%\",\n },\n },\n \"heading/display/S\": {\n value: {\n fontFamily: \"display\",\n fontWeight: \"600\",\n fontSize: [\"3xl\", \"4xl\"],\n lineHeight: \"120%\",\n },\n },\n \"heading/XL\": {\n value: {\n fontFamily: \"heading\",\n fontSize: \"5xl\",\n fontWeight: \"500\",\n lineHeight: \"120%\",\n },\n },\n \"heading/L\": {\n value: {\n fontFamily: \"heading\",\n fontSize: \"4xl\",\n fontWeight: \"500\",\n lineHeight: \"110%\",\n },\n },\n \"heading/M\": {\n value: {\n fontFamily: \"heading\",\n fontSize: \"3xl\",\n fontWeight: \"500\",\n lineHeight: \"120%\",\n },\n },\n \"heading/S\": {\n value: {\n fontFamily: \"heading\",\n fontSize: \"2xl\",\n fontWeight: \"500\",\n lineHeight: \"120%\",\n },\n },\n \"label/XL/regular\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"2xl\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.16px\",\n },\n },\n \"label/L/regular\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"lg\",\n fontWeight: \"400\",\n lineHeight: \"20px\",\n letterSpacing: \"0.16px\",\n },\n },\n \"label/L/medium\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"lg\",\n fontWeight: \"500\",\n lineHeight: \"20px\",\n letterSpacing: \"0.16px\",\n },\n },\n \"label/L/medium/underline\": {\n value: {\n textDecoration: \"underline\",\n fontFamily: \"label\",\n fontSize: \"lg\",\n fontWeight: \"500\",\n lineHeight: \"20px\",\n letterSpacing: \"0.16px\",\n },\n },\n \"label/L/medium/uppercase\": {\n value: {\n letterSpacing: \"0.089rem\",\n fontFamily: \"label\",\n fontWeight: \"600\",\n fontSize: \"lg\",\n lineHeight: \"150%\",\n textTransform: \"uppercase\",\n color: \"fg.muted\",\n },\n },\n \"label/M/regular\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"md\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.14px\",\n },\n },\n \"label/M/regular/underline\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"md\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n textDecoration: \"underline\",\n letterSpacing: \"0.14px\",\n },\n },\n \"label/M/medium\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"md\",\n fontWeight: \"500\",\n lineHeight: \"150%\",\n letterSpacing: \"0.14px\",\n },\n },\n \"label/S/regular\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"sm\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.12px\",\n },\n },\n \"label/S/medium\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"sm\",\n fontWeight: \"500\",\n lineHeight: \"150%\",\n letterSpacing: \"0.12px\",\n },\n },\n \"label/S/italic\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"sm\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.12px\",\n fontStyle: \"italic\",\n },\n },\n \"label/XS\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"xs\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.1px\",\n },\n },\n \"label/XS/caps\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"xs\",\n fontWeight: \"600\",\n lineHeight: \"150%\",\n letterSpacing: \"0.9px\",\n textTransform: \"uppercase\",\n },\n },\n\n \"label/XS/medium\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"xs\",\n fontWeight: \"500\",\n lineHeight: \"150%\",\n letterSpacing: \"0.1px\",\n },\n },\n \"label/2XS\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"2xs\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.08px\",\n },\n },\n \"label/2XS/medium\": {\n value: {\n fontFamily: \"label\",\n fontSize: \"2xs\",\n fontWeight: \"500\",\n lineHeight: \"150%\",\n letterSpacing: \"0.08px\",\n },\n },\n \"mono/XS\": {\n value: {\n fontFamily: \"mono\",\n fontSize: \"xs\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n },\n },\n // Large readouts, such as the frame rate in the performance popover.\n \"mono/3XL/semibold\": {\n value: {\n fontFamily: \"mono\",\n fontSize: \"3xl\",\n fontWeight: \"600\",\n lineHeight: \"100%\",\n },\n },\n \"mono/S\": {\n value: {\n fontFamily: \"mono\",\n fontSize: \"sm\",\n fontWeight: \"400\",\n lineHeight: \"160%\",\n },\n },\n \"paragraph/S/regular\": {\n value: {\n fontFamily: \"body\",\n fontSize: \"sm\",\n fontWeight: \"400\",\n lineHeight: \"135%\",\n letterSpacing: \"0.12px\",\n },\n },\n \"paragraph/M/regular\": {\n value: {\n fontFamily: \"body\",\n fontSize: \"md\",\n fontWeight: \"400\",\n lineHeight: \"171%\",\n letterSpacing: \"0.14px\",\n },\n },\n \"paragraph/M/medium\": {\n value: {\n fontFamily: \"body\",\n fontSize: \"md\",\n fontWeight: \"500\",\n lineHeight: \"171%\",\n letterSpacing: \"0.14px\",\n },\n },\n \"paragraph/L/regular\": {\n value: {\n fontFamily: \"body\",\n fontSize: \"lg\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n letterSpacing: \"0.14px\",\n },\n },\n \"paragraph/L/medium\": {\n value: {\n fontFamily: \"body\",\n fontSize: \"lg\",\n fontWeight: \"500\",\n lineHeight: \"150%\",\n letterSpacing: \"0.14px\",\n },\n },\n \"paragraph/XL/regular\": {\n value: {\n fontFamily: \"body\",\n fontWeight: \"400\",\n lineHeight: \"150%\",\n fontSize: [\"xl\", \"2xl\"],\n color: \"fg\",\n letterSpacing: \"0.14px\",\n },\n },\n \"paragraph/XL/medium\": {\n value: {\n fontFamily: \"body\",\n fontWeight: \"500\",\n lineHeight: \"150%\",\n fontSize: [\"xl\", \"2xl\"],\n color: \"fg\",\n letterSpacing: \"0.14px\",\n },\n },\n} satisfies Parameters<typeof defineTextStyles>[0]);\n","import { createSystem, defineConfig } from \"@chakra-ui/react\";\nimport { globalCss } from \"./global\";\nimport { colors } from \"./primitives/colors\";\nimport { fontSizes, fonts, fontWeights } from \"./primitives/fonts\";\nimport { borderWidths, radii, sizes, spacing } from \"./primitives/sizes\";\nimport { alertSlotRecipe } from \"./recipes/alert\";\nimport { badgeRecipe } from \"./recipes/badge\";\nimport { buttonRecipe } from \"./recipes/button\";\nimport { chatQuestionBubbleRecipe } from \"./recipes/chat-question-bubble\";\nimport { checkboxSlotRecipe } from \"./recipes/checkbox\";\nimport { colorPickerSlotRecipe } from \"./recipes/color-picker\";\nimport { dialogSlotRecipe } from \"./recipes/dialog\";\nimport { dividerRecipe } from \"./recipes/divider\";\nimport { drawerSlotRecipe } from \"./recipes/drawer\";\nimport { editableSlotRecipe } from \"./recipes/editable\";\nimport { folderPickerSlotRecipe } from \"./recipes/folder-picker\";\nimport { fieldsetSlotRecipe } from \"./recipes/form\";\nimport { inputRecipe } from \"./recipes/input\";\nimport { kbdRecipe } from \"./recipes/kbd\";\nimport { menuSlotRecipe } from \"./recipes/menu\";\nimport { numberInputSlotRecipe } from \"./recipes/number-input\";\nimport { popoverRecipe } from \"./recipes/popover\";\nimport { progressCircleSlotRecipe } from \"./recipes/progress-circle\";\nimport { resizableSplitLayoutSlotRecipe } from \"./recipes/resizable-split-layout\";\nimport { skeletonRecipe } from \"./recipes/skeleton\";\nimport { switchSlotRecipe } from \"./recipes/switch\";\nimport { tabsSlotRecipe } from \"./recipes/tabs\";\nimport { tagSlotRecipe } from \"./recipes/tag\";\nimport { textareaRecipe } from \"./recipes/textarea\";\nimport { timelineSlotRecipe } from \"./recipes/timeline\";\nimport { tooltipRecipe } from \"./recipes/tooltip\";\nimport { windowTabsRecipe, windowTitleBarRecipe } from \"./recipes/window-title-bar\";\nimport { shadowlessDefaultConfig } from \"./shadowless-default-config\";\nimport { borders } from \"./tokens/borders\";\nimport { semanticColors } from \"./tokens/colors\";\nimport { layerStyles } from \"./tokens/layer-styles\";\nimport { textStyles } from \"./tokens/text\";\n\nconst config = defineConfig({\n globalCss,\n utilities: {\n WebkitAppRegion: {\n values: [\"drag\", \"no-drag\"],\n transform: (value) => ({ WebkitAppRegion: value }),\n },\n },\n theme: {\n breakpoints: {\n \"3xl\": \"2560px\",\n \"4xl\": \"3840px\",\n },\n textStyles,\n layerStyles,\n recipes: {\n chatQuestionBubble: chatQuestionBubbleRecipe,\n badge: badgeRecipe,\n button: buttonRecipe,\n divider: dividerRecipe,\n input: inputRecipe,\n kbd: kbdRecipe,\n skeleton: skeletonRecipe,\n textarea: textareaRecipe,\n },\n tokens: {\n colors,\n borderWidths,\n fonts,\n fontSizes,\n fontWeights,\n radii,\n sizes,\n spacing,\n },\n semanticTokens: {\n colors: semanticColors,\n borders,\n },\n slotRecipes: {\n tag: tagSlotRecipe,\n checkbox: checkboxSlotRecipe,\n windowTitleBar: windowTitleBarRecipe,\n windowTabs: windowTabsRecipe,\n resizableSplitLayout: resizableSplitLayoutSlotRecipe,\n alert: alertSlotRecipe,\n colorPicker: colorPickerSlotRecipe,\n drawer: drawerSlotRecipe,\n tooltip: tooltipRecipe,\n popover: popoverRecipe,\n menu: menuSlotRecipe,\n numberInput: numberInputSlotRecipe,\n editable: editableSlotRecipe,\n form: fieldsetSlotRecipe,\n dialog: dialogSlotRecipe,\n folderPicker: folderPickerSlotRecipe,\n progressCircle: progressCircleSlotRecipe,\n switch: switchSlotRecipe,\n tabs: tabsSlotRecipe,\n timeline: timelineSlotRecipe,\n },\n },\n});\n\nexport default createSystem(shadowlessDefaultConfig, config);\n"],"mappings":";;;;;AAEA,IAAaC,IAAuBD,EAAiB;CACnDE,WAAW;CACXC,OAAO,CAAC,QAAQ,SAAS;CACzBC,MAAM;EACJC,MAAM;GACJC,UAAU;GACVC,YAAY;GACZC,OAAO;GACPC,QAAQ;GACRC,IAAI;GACJC,OAAO;GACPC,YAAY;GACZC,iBAAiB;EACnB;EACAC,SAAS;GACPC,SAAS;GACTC,YAAY;GACZC,KAAK;GACLR,QAAQ;GACRS,UAAU;GACVC,eAAe;GACf,wCAAwC,EAAEN,iBAAiB,UAAU;EACvE;CACF;CACAO,UAAU,EACRC,UAAU;EACRC,KAAK,EACHR,SAAS;GACPS,oBAAoB;GACpB,+BAA+B,EAAEA,oBAAoB,UAAU;EACjE,EACF;EACAC,SAAS,EAAEV,SAAS;GAAEW,YAAY;GAA6BjB,OAAO;EAAiC,EAAE;CAC3G,EACF;CACAkB,iBAAiB,EAAEL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,YAAY;CACd,EACF;CACA,aAAa,EACXJ,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;CACd,EACF;CACA,oBAAoB,EAClBJ,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,mBAAmB,EACjBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,kBAAkB,EAChBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,4BAA4B,EAC1BN,OAAO;EACLO,gBAAgB;EAChBN,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,4BAA4B,EAC1BN,OAAO;EACLM,eAAe;EACfL,YAAY;EACZE,YAAY;EACZD,UAAU;EACVE,YAAY;EACZI,eAAe;EACfC,OAAO;CACT,EACF;CACA,mBAAmB,EACjBT,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,6BAA6B,EAC3BN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZG,gBAAgB;EAChBD,eAAe;CACjB,EACF;CACA,kBAAkB,EAChBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,mBAAmB,EACjBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,kBAAkB,EAChBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,kBAAkB,EAChBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;EACfI,WAAW;CACb,EACF;CACA,YAAY,EACVV,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,iBAAiB,EACfN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;EACfE,eAAe;CACjB,EACF;CAEA,mBAAmB,EACjBR,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,aAAa,EACXN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,oBAAoB,EAClBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,WAAW,EACTN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;CACd,EACF;CAEA,qBAAqB,EACnBJ,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;CACd,EACF;CACA,UAAU,EACRJ,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;CACd,EACF;CACA,uBAAuB,EACrBJ,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,uBAAuB,EACrBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,sBAAsB,EACpBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,uBAAuB,EACrBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,sBAAsB,EACpBN,OAAO;EACLC,YAAY;EACZC,UAAU;EACVC,YAAY;EACZC,YAAY;EACZE,eAAe;CACjB,EACF;CACA,wBAAwB,EACtBN,OAAO;EACLC,YAAY;EACZE,YAAY;EACZC,YAAY;EACZF,UAAU,CAAC,MAAM,KAAK;EACtBO,OAAO;EACPH,eAAe;CACjB,EACF;CACA,uBAAuB,EACrBN,OAAO;EACLC,YAAY;EACZE,YAAY;EACZC,YAAY;EACZF,UAAU,CAAC,MAAM,KAAK;EACtBO,OAAO;EACPH,eAAe;CACjB,EACF;AACF,CAAkD,GCrR5CkD,KAAS3C,EAAa;CAC1BC;CACA2C,WAAW,EACTC,iBAAiB;EACfC,QAAQ,CAAC,QAAQ,SAAS;EAC1BC,YAAYC,OAAW,EAAEH,iBAAiBG,EAAM;CAClD,EACF;CACAC,OAAO;EACLC,aAAa;GACX,OAAO;GACP,OAAO;EACT;EACAR;EACAD;EACAU,SAAS;GACPC,oBAAoBvC;GACpBwC,OAAO1C;GACP2C,QAAQ1C;GACR2C,SAAStC;GACTuC,OAAOlC;GACPmC,KAAKlC;GACLmC,UAAU7B;GACV8B,UAAU1B;EACZ;EACA2B,QAAQ;GACN1D;GACAI;GACAF;GACAD;GACAE;GACAE;GACAC;GACAC;EACF;EACAoD,gBAAgB;GACd3D,QAAQsC;GACRD;EACF;EACAuB,aAAa;GACXC,KAAK/B;GACLgC,UAAUlD;GACVmD,gBAAgB5B;GAChB6B,YAAY9B;GACZ+B,sBAAsBvC;GACtBwC,OAAO1D;GACP2D,aAAatD;GACbuD,QAAQpD;GACRqD,SAASpC;GACTqC,SAAS9C;GACT+C,MAAMjD;GACNkD,aAAajD;GACbkD,UAAUxD;GACVyD,MAAMvD;GACNwD,QAAQ7D;GACR8D,cAAc1D;GACd2D,gBAAgBpD;GAChBqD,QAAQlD;GACRmD,MAAMlD;GACNmD,UAAUhD;EACZ;CACF;AACF,CAAC,GAEDsJ,KAAezL,EAAauC,IAAyBK,EAAM"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import "@fontsource/inter/400.css";
|
|
2
|
+
import "@fontsource/inter/500.css";
|
|
3
|
+
import "@fontsource/playfair-display/400.css";
|
|
4
|
+
import "@fontsource/playfair-display/600.css";
|
|
5
|
+
import "@fontsource/playfair-display/700.css";
|
|
6
|
+
import "@fontsource/onest/400.css";
|
|
7
|
+
import "@fontsource/onest/500.css";
|
|
8
|
+
import "@fontsource/onest/600.css";
|
|
9
|
+
import "@fontsource/onest/700.css";
|
|
10
|
+
//#region src/theme/custom/vscode-theme.ts
|
|
11
|
+
var e = {
|
|
12
|
+
"editor.background": ["colors.bg", "colors.bg.code"],
|
|
13
|
+
"editor.foreground": ["colors.fg"],
|
|
14
|
+
"editor.lineHighlightBackground": ["colors.bg.hover"],
|
|
15
|
+
"editor.selectionBackground": ["colors.bg.active"],
|
|
16
|
+
"editorWidget.background": ["colors.bg.panel"],
|
|
17
|
+
"sideBar.background": ["colors.bg.panel"],
|
|
18
|
+
"panel.background": ["colors.bg.panel"],
|
|
19
|
+
"input.background": ["colors.bg.subtle"],
|
|
20
|
+
"input.foreground": ["colors.fg"],
|
|
21
|
+
"input.border": ["colors.border"],
|
|
22
|
+
"dropdown.background": ["colors.bg.panel"],
|
|
23
|
+
"menu.background": ["colors.bg.panel", "colors.bg.menu-item.default"],
|
|
24
|
+
"menu.foreground": ["colors.fg.menu-item.default"],
|
|
25
|
+
"menu.selectionBackground": [
|
|
26
|
+
"colors.bg.menu-item.hover",
|
|
27
|
+
"colors.bg.menu-item.focus",
|
|
28
|
+
"colors.bg.menu-item.selected"
|
|
29
|
+
],
|
|
30
|
+
"list.hoverBackground": ["colors.bg.menu-item.hover", "colors.bg.menu-item.focus"],
|
|
31
|
+
"list.focusBackground": ["colors.bg.menu-item.focus"],
|
|
32
|
+
"list.inactiveSelectionBackground": ["colors.bg.menu-item.selected"],
|
|
33
|
+
"list.activeSelectionBackground": ["colors.bg.menu-item.selected"],
|
|
34
|
+
"badge.background": ["colors.bg.muted"],
|
|
35
|
+
"badge.foreground": ["colors.fg.muted"],
|
|
36
|
+
"button.background": ["colors.bg.button.primary.default", "colors.bg.accent-primary.default"],
|
|
37
|
+
"button.hoverBackground": ["colors.bg.button.primary.hover", "colors.bg.accent-primary.hover"],
|
|
38
|
+
"button.foreground": ["colors.fg.button.primary.default"],
|
|
39
|
+
"diffEditor.insertedTextBackground": ["colors.bg.success"],
|
|
40
|
+
"diffEditor.removedTextBackground": ["colors.bg.error"],
|
|
41
|
+
focusBorder: ["colors.border.accent"],
|
|
42
|
+
foreground: ["colors.fg"],
|
|
43
|
+
"gitDecoration.addedResourceForeground": ["colors.fg.success"],
|
|
44
|
+
"gitDecoration.deletedResourceForeground": ["colors.fg.error"],
|
|
45
|
+
descriptionForeground: ["colors.fg.muted"],
|
|
46
|
+
disabledForeground: ["colors.fg.subtle"],
|
|
47
|
+
border: ["colors.border", "colors.border.subtle"]
|
|
48
|
+
}, t = (e) => `colors.vscode.${e}`, n = (e) => e.replace(/^#/, ""), r = (e) => {
|
|
49
|
+
let t = (e.theme.tokenColors ?? []).flatMap((e) => (e.scope ? [e.scope].flat() : []).map((t) => ({
|
|
50
|
+
token: t,
|
|
51
|
+
...e.settings?.foreground ? { foreground: n(e.settings.foreground) } : {},
|
|
52
|
+
...e.settings?.fontStyle ? { fontStyle: e.settings.fontStyle } : {}
|
|
53
|
+
})));
|
|
54
|
+
return {
|
|
55
|
+
base: e.mode === "dark" ? "vs-dark" : "vs",
|
|
56
|
+
inherit: !0,
|
|
57
|
+
rules: t,
|
|
58
|
+
colors: e.theme.colors ?? {}
|
|
59
|
+
};
|
|
60
|
+
}, i = (n) => {
|
|
61
|
+
let i = {}, a = n.theme.colors ?? {};
|
|
62
|
+
for (let [e, n] of Object.entries(a)) i[t(e)] = n;
|
|
63
|
+
for (let [t, n] of Object.entries(e)) {
|
|
64
|
+
let e = a[t];
|
|
65
|
+
if (e) for (let t of n) i[t] = e;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
id: n.id,
|
|
69
|
+
mode: n.mode,
|
|
70
|
+
tokens: i,
|
|
71
|
+
monacoTheme: r({
|
|
72
|
+
mode: n.mode,
|
|
73
|
+
theme: n.theme
|
|
74
|
+
})
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
//#endregion
|
|
78
|
+
export { i as n, r as t };
|
|
79
|
+
|
|
80
|
+
//# sourceMappingURL=theme-kKuLN2jb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-kKuLN2jb.js","names":["ThemePreferenceMode","ThemePreferenceOption","VsCodeColorTheme","colors","Record","tokenColors","VsCodeTokenColor","scope","settings","foreground","fontStyle","MonacoThemeData","base","inherit","rules","token","tokenMap","focusBorder","descriptionForeground","disabledForeground","border","getVsCodeTokenPath","stripHash","value","replace","createMonacoThemeFromVsCodeTheme","input","mode","theme","flatMap","tokenColor","scopes","flat","map","createThemePreferenceFromVsCodeTheme","id","tokens","vsCodeToken","Object","entries","tokenPaths","tokenPath","monacoTheme","tokenMap","getVsCodeTokenPath","token","stripHash","value","createMonacoThemeFromVsCodeTheme","rules","input","tokenColor","scope","createThemePreferenceFromVsCodeTheme","tokens","colors","vsCodeToken","tokenPaths","tokenPath"],"sources":["../src/theme/custom/vscode-theme.ts"],"sourcesContent":["import type { ThemePreferenceMode, ThemePreferenceOption } from \"../../utils/apply-theme-preference\";\n\nexport interface VsCodeColorTheme {\n colors?: Record<string, string>;\n tokenColors?: VsCodeTokenColor[];\n}\n\ninterface VsCodeTokenColor {\n scope?: string | string[];\n settings?: {\n foreground?: string;\n fontStyle?: string;\n };\n}\n\nexport interface MonacoThemeData {\n base: \"vs\" | \"vs-dark\";\n inherit: true;\n rules: { token: string; foreground?: string; fontStyle?: string }[];\n colors: Record<string, string>;\n}\n\nconst tokenMap = {\n \"editor.background\": [\"colors.bg\", \"colors.bg.code\"],\n \"editor.foreground\": [\"colors.fg\"],\n \"editor.lineHighlightBackground\": [\"colors.bg.hover\"],\n \"editor.selectionBackground\": [\"colors.bg.active\"],\n \"editorWidget.background\": [\"colors.bg.panel\"],\n \"sideBar.background\": [\"colors.bg.panel\"],\n \"panel.background\": [\"colors.bg.panel\"],\n \"input.background\": [\"colors.bg.subtle\"],\n \"input.foreground\": [\"colors.fg\"],\n \"input.border\": [\"colors.border\"],\n \"dropdown.background\": [\"colors.bg.panel\"],\n \"menu.background\": [\"colors.bg.panel\", \"colors.bg.menu-item.default\"],\n \"menu.foreground\": [\"colors.fg.menu-item.default\"],\n \"menu.selectionBackground\": [\n \"colors.bg.menu-item.hover\",\n \"colors.bg.menu-item.focus\",\n \"colors.bg.menu-item.selected\",\n ],\n \"list.hoverBackground\": [\"colors.bg.menu-item.hover\", \"colors.bg.menu-item.focus\"],\n \"list.focusBackground\": [\"colors.bg.menu-item.focus\"],\n \"list.inactiveSelectionBackground\": [\"colors.bg.menu-item.selected\"],\n \"list.activeSelectionBackground\": [\"colors.bg.menu-item.selected\"],\n \"badge.background\": [\"colors.bg.muted\"],\n \"badge.foreground\": [\"colors.fg.muted\"],\n \"button.background\": [\"colors.bg.button.primary.default\", \"colors.bg.accent-primary.default\"],\n \"button.hoverBackground\": [\"colors.bg.button.primary.hover\", \"colors.bg.accent-primary.hover\"],\n \"button.foreground\": [\"colors.fg.button.primary.default\"],\n \"diffEditor.insertedTextBackground\": [\"colors.bg.success\"],\n \"diffEditor.removedTextBackground\": [\"colors.bg.error\"],\n focusBorder: [\"colors.border.accent\"],\n foreground: [\"colors.fg\"],\n \"gitDecoration.addedResourceForeground\": [\"colors.fg.success\"],\n \"gitDecoration.deletedResourceForeground\": [\"colors.fg.error\"],\n descriptionForeground: [\"colors.fg.muted\"],\n disabledForeground: [\"colors.fg.subtle\"],\n border: [\"colors.border\", \"colors.border.subtle\"],\n} satisfies Record<string, string[]>;\n\nconst getVsCodeTokenPath = (token: string) => `colors.vscode.${token}`;\n\nconst stripHash = (value: string) => value.replace(/^#/, \"\");\n\nexport const createMonacoThemeFromVsCodeTheme = (input: {\n mode: ThemePreferenceMode;\n theme: VsCodeColorTheme;\n}): MonacoThemeData => {\n const rules = (input.theme.tokenColors ?? []).flatMap((tokenColor) => {\n const scopes = tokenColor.scope ? [tokenColor.scope].flat() : [];\n return scopes.map((scope) => ({\n token: scope,\n ...(tokenColor.settings?.foreground ? { foreground: stripHash(tokenColor.settings.foreground) } : {}),\n ...(tokenColor.settings?.fontStyle ? { fontStyle: tokenColor.settings.fontStyle } : {}),\n }));\n });\n\n return {\n base: input.mode === \"dark\" ? \"vs-dark\" : \"vs\",\n inherit: true,\n rules,\n colors: input.theme.colors ?? {},\n };\n};\n\nexport const createThemePreferenceFromVsCodeTheme = (input: {\n id: string;\n mode: ThemePreferenceMode;\n theme: VsCodeColorTheme;\n}): ThemePreferenceOption => {\n const tokens: Record<string, string> = {};\n const colors = input.theme.colors ?? {};\n\n for (const [vsCodeToken, value] of Object.entries(colors)) {\n tokens[getVsCodeTokenPath(vsCodeToken)] = value;\n }\n\n for (const [vsCodeToken, tokenPaths] of Object.entries(tokenMap)) {\n const value = colors[vsCodeToken];\n if (!value) continue;\n for (const tokenPath of tokenPaths) tokens[tokenPath] = value;\n }\n\n return {\n id: input.id,\n mode: input.mode,\n tokens,\n monacoTheme: createMonacoThemeFromVsCodeTheme({ mode: input.mode, theme: input.theme }),\n };\n};\n"],"mappings":";;;;;;;;;;AAsBA,IAAMgB,IAAW;CACf,qBAAqB,CAAC,aAAa,gBAAgB;CACnD,qBAAqB,CAAC,WAAW;CACjC,kCAAkC,CAAC,iBAAiB;CACpD,8BAA8B,CAAC,kBAAkB;CACjD,2BAA2B,CAAC,iBAAiB;CAC7C,sBAAsB,CAAC,iBAAiB;CACxC,oBAAoB,CAAC,iBAAiB;CACtC,oBAAoB,CAAC,kBAAkB;CACvC,oBAAoB,CAAC,WAAW;CAChC,gBAAgB,CAAC,eAAe;CAChC,uBAAuB,CAAC,iBAAiB;CACzC,mBAAmB,CAAC,mBAAmB,6BAA6B;CACpE,mBAAmB,CAAC,6BAA6B;CACjD,4BAA4B;EAC1B;EACA;EACA;CAA8B;CAEhC,wBAAwB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