syncova-ticket/park-registry.json
Weapie 9c561cb574
All checks were successful
Tests und Docker-Image / Tests und Frontend-Build (push) Successful in 2m8s
Tests und Docker-Image / Leeres Produktionsimage bauen und veröffentlichen (push) Successful in 4m28s
Add Syncova Ticket with tested Gitea image publishing and persistent Compose deployment
2026-11-03 17:04:00 +01:00

660 lines
63 KiB
JSON

[
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "red",
"type": "registry:color",
"dependencies": [
"@pandacss/dev"
],
"files": [
{
"content": "import { defineSemanticTokens } from '@pandacss/dev'\n\nexport const red = defineSemanticTokens.colors({\n '1': { value: { _light: '#fffcfc', _dark: '#191111' } },\n '2': { value: { _light: '#fff7f7', _dark: '#201314' } },\n '3': { value: { _light: '#feebec', _dark: '#3b1219' } },\n '4': { value: { _light: '#ffdbdc', _dark: '#500f1c' } },\n '5': { value: { _light: '#ffcdce', _dark: '#611623' } },\n '6': { value: { _light: '#fdbdbe', _dark: '#72232d' } },\n '7': { value: { _light: '#f4a9aa', _dark: '#8c333a' } },\n '8': { value: { _light: '#eb8e90', _dark: '#b54548' } },\n '9': { value: { _light: '#e5484d', _dark: '#e5484d' } },\n '10': { value: { _light: '#dc3e42', _dark: '#ec5d5e' } },\n '11': { value: { _light: '#ce2c31', _dark: '#ff9592' } },\n '12': { value: { _light: '#641723', _dark: '#ffd1d9' } },\n a1: { value: { _light: '#ff000003', _dark: '#f4121209' } },\n a2: { value: { _light: '#ff000008', _dark: '#f22f3e11' } },\n a3: { value: { _light: '#f3000d14', _dark: '#ff173f2d' } },\n a4: { value: { _light: '#ff000824', _dark: '#fe0a3b44' } },\n a5: { value: { _light: '#ff000632', _dark: '#ff204756' } },\n a6: { value: { _light: '#f8000442', _dark: '#ff3e5668' } },\n a7: { value: { _light: '#df000356', _dark: '#ff536184' } },\n a8: { value: { _light: '#d2000571', _dark: '#ff5d61b0' } },\n a9: { value: { _light: '#db0007b7', _dark: '#fe4e54e4' } },\n a10: { value: { _light: '#d10005c1', _dark: '#ff6465eb' } },\n a11: { value: { _light: '#c40006d3', _dark: '#ff9592' } },\n a12: { value: { _light: '#55000de8', _dark: '#ffd1d9' } },\n solid: {\n bg: {\n DEFAULT: { value: { _light: '{colors.red.9}', _dark: '{colors.red.9}' } },\n hover: { value: { _light: '{colors.red.10}', _dark: '{colors.red.10}' } },\n },\n fg: { DEFAULT: { value: { _light: 'white', _dark: 'white' } } },\n },\n subtle: {\n bg: {\n DEFAULT: { value: { _light: '{colors.red.a3}', _dark: '{colors.red.a3}' } },\n hover: { value: { _light: '{colors.red.a4}', _dark: '{colors.red.a4}' } },\n active: { value: { _light: '{colors.red.a5}', _dark: '{colors.red.a5}' } },\n },\n fg: { DEFAULT: { value: { _light: '{colors.red.a11}', _dark: '{colors.red.a11}' } } },\n },\n surface: {\n bg: {\n DEFAULT: { value: { _light: '{colors.red.a2}', _dark: '{colors.red.a2}' } },\n active: { value: { _light: '{colors.red.a3}', _dark: '{colors.red.a3}' } },\n },\n border: {\n DEFAULT: { value: { _light: '{colors.red.a6}', _dark: '{colors.red.a6}' } },\n hover: { value: { _light: '{colors.red.a7}', _dark: '{colors.red.a7}' } },\n },\n fg: { DEFAULT: { value: { _light: '{colors.red.a11}', _dark: '{colors.red.a11}' } } },\n },\n outline: {\n bg: {\n hover: { value: { _light: '{colors.red.a2}', _dark: '{colors.red.a2}' } },\n active: { value: { _light: '{colors.red.a3}', _dark: '{colors.red.a3}' } },\n },\n border: { DEFAULT: { value: { _light: '{colors.red.a7}', _dark: '{colors.red.a7}' } } },\n fg: { DEFAULT: { value: { _light: '{colors.red.a11}', _dark: '{colors.red.a11}' } } },\n },\n plain: {\n bg: {\n hover: { value: { _light: '{colors.red.a3}', _dark: '{colors.red.a3}' } },\n active: { value: { _light: '{colors.red.a4}', _dark: '{colors.red.a4}' } },\n },\n fg: { DEFAULT: { value: { _light: '{colors.red.a11}', _dark: '{colors.red.a11}' } } },\n },\n})\n",
"type": "registry:color",
"path": "colors/red.ts"
}
],
"panda": {
"imports": [
{
"type": "registry:color",
"name": "red",
"from": "colors/red"
}
],
"extension": {
"theme": {
"extend": {
"semanticTokens": {
"colors": {
"red": "$ref:red"
}
}
}
}
}
}
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "green",
"type": "registry:color",
"dependencies": [
"@pandacss/dev"
],
"files": [
{
"content": "import { defineSemanticTokens } from '@pandacss/dev'\n\nexport const green = defineSemanticTokens.colors({\n '1': { value: { _light: '#fbfefc', _dark: '#0e1512' } },\n '2': { value: { _light: '#f4fbf6', _dark: '#121b17' } },\n '3': { value: { _light: '#e6f6eb', _dark: '#132d21' } },\n '4': { value: { _light: '#d6f1df', _dark: '#113b29' } },\n '5': { value: { _light: '#c4e8d1', _dark: '#174933' } },\n '6': { value: { _light: '#adddc0', _dark: '#20573e' } },\n '7': { value: { _light: '#8eceaa', _dark: '#28684a' } },\n '8': { value: { _light: '#5bb98b', _dark: '#2f7c57' } },\n '9': { value: { _light: '#30a46c', _dark: '#30a46c' } },\n '10': { value: { _light: '#2b9a66', _dark: '#33b074' } },\n '11': { value: { _light: '#218358', _dark: '#3dd68c' } },\n '12': { value: { _light: '#193b2d', _dark: '#b1f1cb' } },\n a1: { value: { _light: '#00c04004', _dark: '#00de4505' } },\n a2: { value: { _light: '#00a32f0b', _dark: '#29f99d0b' } },\n a3: { value: { _light: '#00a43319', _dark: '#22ff991e' } },\n a4: { value: { _light: '#00a83829', _dark: '#11ff992d' } },\n a5: { value: { _light: '#019c393b', _dark: '#2bffa23c' } },\n a6: { value: { _light: '#00963c52', _dark: '#44ffaa4b' } },\n a7: { value: { _light: '#00914071', _dark: '#50fdac5e' } },\n a8: { value: { _light: '#00924ba4', _dark: '#54ffad73' } },\n a9: { value: { _light: '#008f4acf', _dark: '#44ffa49e' } },\n a10: { value: { _light: '#008647d4', _dark: '#43fea4ab' } },\n a11: { value: { _light: '#00713fde', _dark: '#46fea5d4' } },\n a12: { value: { _light: '#002616e6', _dark: '#bbffd7f0' } },\n solid: {\n bg: {\n DEFAULT: { value: { _light: '{colors.green.9}', _dark: '{colors.green.9}' } },\n hover: { value: { _light: '{colors.green.10}', _dark: '{colors.green.10}' } },\n },\n fg: { DEFAULT: { value: { _light: 'white', _dark: 'white' } } },\n },\n subtle: {\n bg: {\n DEFAULT: { value: { _light: '{colors.green.a3}', _dark: '{colors.green.a3}' } },\n hover: { value: { _light: '{colors.green.a4}', _dark: '{colors.green.a4}' } },\n active: { value: { _light: '{colors.green.a5}', _dark: '{colors.green.a5}' } },\n },\n fg: { DEFAULT: { value: { _light: '{colors.green.a11}', _dark: '{colors.green.a11}' } } },\n },\n surface: {\n bg: {\n DEFAULT: { value: { _light: '{colors.green.a2}', _dark: '{colors.green.a2}' } },\n active: { value: { _light: '{colors.green.a3}', _dark: '{colors.green.a3}' } },\n },\n border: {\n DEFAULT: { value: { _light: '{colors.green.a6}', _dark: '{colors.green.a6}' } },\n hover: { value: { _light: '{colors.green.a7}', _dark: '{colors.green.a7}' } },\n },\n fg: { DEFAULT: { value: { _light: '{colors.green.a11}', _dark: '{colors.green.a11}' } } },\n },\n outline: {\n bg: {\n hover: { value: { _light: '{colors.green.a2}', _dark: '{colors.green.a2}' } },\n active: { value: { _light: '{colors.green.a3}', _dark: '{colors.green.a3}' } },\n },\n border: { DEFAULT: { value: { _light: '{colors.green.a7}', _dark: '{colors.green.a7}' } } },\n fg: { DEFAULT: { value: { _light: '{colors.green.a11}', _dark: '{colors.green.a11}' } } },\n },\n plain: {\n bg: {\n hover: { value: { _light: '{colors.green.a3}', _dark: '{colors.green.a3}' } },\n active: { value: { _light: '{colors.green.a4}', _dark: '{colors.green.a4}' } },\n },\n fg: { DEFAULT: { value: { _light: '{colors.green.a11}', _dark: '{colors.green.a11}' } } },\n },\n})\n",
"type": "registry:color",
"path": "colors/green.ts"
}
],
"panda": {
"imports": [
{
"type": "registry:color",
"name": "green",
"from": "colors/green"
}
],
"extension": {
"theme": {
"extend": {
"semanticTokens": {
"colors": {
"green": "$ref:green"
}
}
}
}
}
}
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "__init",
"type": "registry:theme",
"dependencies": [
"@pandacss/dev"
],
"files": [
{
"content": "export const recipes = {}\nexport const slotRecipes = {}\n",
"type": "registry:recipe",
"path": "index.ts"
},
{
"content": "import { defineTokens } from '@pandacss/dev'\n\nconst black = defineTokens.colors({\n DEFAULT: { value: '#000000' },\n a1: { value: 'rgba(0, 0, 0, 0.05)' },\n a2: { value: 'rgba(0, 0, 0, 0.1)' },\n a3: { value: 'rgba(0, 0, 0, 0.15)' },\n a4: { value: 'rgba(0, 0, 0, 0.2)' },\n a5: { value: 'rgba(0, 0, 0, 0.3)' },\n a6: { value: 'rgba(0, 0, 0, 0.4)' },\n a7: { value: 'rgba(0, 0, 0, 0.5)' },\n a8: { value: 'rgba(0, 0, 0, 0.6)' },\n a9: { value: 'rgba(0, 0, 0, 0.7)' },\n a10: { value: 'rgba(0, 0, 0, 0.8)' },\n a11: { value: 'rgba(0, 0, 0, 0.9)' },\n a12: { value: 'rgba(0, 0, 0, 0.95)' },\n})\n\nconst white = defineTokens.colors({\n DEFAULT: { value: '#ffffff' },\n a1: { value: 'rgba(255, 255, 255, 0.05)' },\n a2: { value: 'rgba(255, 255, 255, 0.1)' },\n a3: { value: 'rgba(255, 255, 255, 0.15)' },\n a4: { value: 'rgba(255, 255, 255, 0.2)' },\n a5: { value: 'rgba(255, 255, 255, 0.3)' },\n a6: { value: 'rgba(255, 255, 255, 0.4)' },\n a7: { value: 'rgba(255, 255, 255, 0.5)' },\n a8: { value: 'rgba(255, 255, 255, 0.6)' },\n a9: { value: 'rgba(255, 255, 255, 0.7)' },\n a10: { value: 'rgba(255, 255, 255, 0.8)' },\n a11: { value: 'rgba(255, 255, 255, 0.9)' },\n a12: { value: 'rgba(255, 255, 255, 0.95)' },\n})\n\nexport const colors = { black, white }\n",
"type": "registry:theme",
"path": "tokens/colors.ts"
},
{
"content": "import { defineTokens } from '@pandacss/dev'\n\nexport const durations = defineTokens.durations({\n fastest: { value: '50ms' },\n faster: { value: '100ms' },\n fast: { value: '150ms' },\n normal: { value: '200ms' },\n slow: { value: '250ms' },\n slower: { value: '300ms' },\n slowest: { value: '400ms' },\n})\n",
"type": "registry:theme",
"path": "tokens/durations.ts"
},
{
"content": "import { defineSemanticTokens } from '@pandacss/dev'\n\nexport const shadows = defineSemanticTokens.shadows({\n xs: {\n value: {\n _light: '0px 1px 2px {colors.gray.a6}, 0px 0px 1px {colors.gray.a7}',\n _dark: '0px 1px 1px {colors.black.a8}, 0px 0px 1px inset {colors.gray.a8}',\n },\n },\n sm: {\n value: {\n _light: '0px 2px 4px {colors.gray.a4}, 0px 0px 1px {colors.gray.a4}',\n _dark: '0px 2px 4px {colors.black.a8}, 0px 0px 1px inset {colors.gray.a8}',\n },\n },\n md: {\n value: {\n _light: '0px 4px 8px {colors.gray.a4}, 0px 0px 1px {colors.gray.a4}',\n _dark: '0px 4px 8px {colors.black.a8}, 0px 0px 1px inset {colors.gray.a8}',\n },\n },\n lg: {\n value: {\n _light: '0px 8px 16px {colors.gray.a4}, 0px 0px 1px {colors.gray.a4}',\n _dark: '0px 8px 16px {colors.black.a8}, 0px 0px 1px inset {colors.gray.a8}',\n },\n },\n xl: {\n value: {\n _light: '0px 16px 24px {colors.gray.a4}, 0px 0px 1px {colors.gray.a4}',\n _dark: '0px 16px 24px {colors.black.a8}, 0px 0px 1px inset {colors.gray.a8}',\n },\n },\n '2xl': {\n value: {\n _light: '0px 24px 40px {colors.gray.a4}, 0px 0px 1px {colors.gray.a4}',\n _dark: '0px 24px 40px {colors.black.a8}, 0px 0px 1px inset {colors.gray.a8}',\n },\n },\n inset: {\n value: {\n _light: 'inset 8px 0 12px -8px {colors.gray.a4}',\n _dark: 'inset 8px 0 12px -8px {colors.black.a6}',\n },\n },\n})\n",
"type": "registry:theme",
"path": "tokens/shadows.ts"
},
{
"content": "import { defineTokens } from '@pandacss/dev'\n\nexport const zIndex = defineTokens.zIndex({\n hide: {\n value: -1,\n },\n base: {\n value: 0,\n },\n docked: {\n value: 10,\n },\n dropdown: {\n value: 1000,\n },\n sticky: {\n value: 1100,\n },\n banner: {\n value: 1200,\n },\n overlay: {\n value: 1300,\n },\n modal: {\n value: 1400,\n },\n popover: {\n value: 1500,\n },\n skipLink: {\n value: 1600,\n },\n toast: {\n value: 1700,\n },\n tooltip: {\n value: 1800,\n },\n})\n",
"type": "registry:theme",
"path": "tokens/z-index.ts"
},
{
"content": "import { defineAnimationStyles } from '@pandacss/dev'\n\nexport const animationStyles = defineAnimationStyles({\n 'slide-fade-in': {\n value: {\n transformOrigin: 'var(--transform-origin)',\n '&[data-placement^=top]': {\n animationName: 'slide-from-bottom, fade-in',\n },\n '&[data-placement^=bottom]': {\n animationName: 'slide-from-top, fade-in',\n },\n '&[data-placement^=left]': {\n animationName: 'slide-from-right, fade-in',\n },\n '&[data-placement^=right]': {\n animationName: 'slide-from-left, fade-in',\n },\n },\n },\n 'slide-fade-out': {\n value: {\n transformOrigin: 'var(--transform-origin)',\n '&[data-placement^=top]': {\n animationName: 'slide-to-bottom, fade-out',\n },\n '&[data-placement^=bottom]': {\n animationName: 'slide-to-top, fade-out',\n },\n '&[data-placement^=left]': {\n animationName: 'slide-to-right, fade-out',\n },\n '&[data-placement^=right]': {\n animationName: 'slide-to-left, fade-out',\n },\n },\n },\n 'scale-fade-in': {\n value: {\n transformOrigin: 'var(--transform-origin)',\n animationName: 'scale-in, fade-in',\n },\n },\n 'scale-fade-out': {\n value: {\n transformOrigin: 'var(--transform-origin)',\n animationName: 'scale-out, fade-out',\n },\n },\n})\n",
"type": "registry:theme",
"path": "animation-styles.ts"
},
{
"content": "export const conditions = {\n extend: {\n light: ':root &, .light &',\n invalid: '&:is(:user-invalid, [data-invalid], [aria-invalid=true])',\n hover: '&:not(:disabled):hover',\n active: '&:not(:disabled):active',\n checked:\n '&:is(:checked, [data-checked], [data-state=checked], [aria-checked=true], [data-state=indeterminate])',\n on: '&:is([data-state=on])',\n pinned: '&:is([data-pinned])',\n },\n} as const\n",
"type": "registry:theme",
"path": "conditions.ts"
},
{
"content": "export const globalCss = {\n extend: {\n '*': {\n '--global-color-border': 'colors.border',\n '--global-color-placeholder': 'colors.fg.subtle',\n '--global-color-selection': 'colors.colorPalette.subtle.bg',\n '--global-color-focus-ring': 'colors.colorPalette.solid.bg',\n },\n html: {\n colorPalette: 'gray',\n },\n body: {\n background: 'canvas',\n color: 'fg.default',\n },\n },\n}\n",
"type": "registry:theme",
"path": "global-css.ts"
},
{
"content": "import { defineKeyframes } from '@pandacss/dev'\n\nexport const keyframes = defineKeyframes({\n // collapse\n 'expand-height': {\n from: { height: '0' },\n to: { height: 'var(--height)' },\n },\n 'collapse-height': {\n from: { height: 'var(--height)' },\n to: { height: '0' },\n },\n 'expand-width': {\n from: { width: '0' },\n to: { width: 'var(--width)' },\n },\n 'collapse-width': {\n from: { width: 'var(--width)' },\n to: { width: '0' },\n },\n // fade\n 'fade-in': {\n from: { opacity: '0' },\n to: { opacity: '1' },\n },\n 'fade-out': {\n from: { opacity: '1' },\n to: { opacity: '0' },\n },\n // slide from (full)\n 'slide-from-left-full': {\n from: { translate: '-100% 0' },\n to: { translate: '0 0' },\n },\n 'slide-from-right-full': {\n from: { translate: '100% 0' },\n to: { translate: '0 0' },\n },\n 'slide-from-top-full': {\n from: { translate: '0 -100%' },\n to: { translate: '0 0' },\n },\n 'slide-from-bottom-full': {\n from: { translate: '0 100%' },\n to: { translate: '0 0' },\n },\n // slide to (full)\n 'slide-to-left-full': {\n from: { translate: '0 0' },\n to: { translate: '-100% 0' },\n },\n 'slide-to-right-full': {\n from: { translate: '0 0' },\n to: { translate: '100% 0' },\n },\n 'slide-to-top-full': {\n from: { translate: '0 0' },\n to: { translate: '0 -100%' },\n },\n 'slide-to-bottom-full': {\n from: { translate: '0 0' },\n to: { translate: '0 100%' },\n },\n // slide from\n 'slide-from-top': {\n '0%': { translate: '0 -0.5rem' },\n to: { translate: '0' },\n },\n 'slide-from-bottom': {\n '0%': { translate: '0 0.5rem' },\n to: { translate: '0' },\n },\n 'slide-from-left': {\n '0%': { translate: '-0.5rem 0' },\n to: { translate: '0' },\n },\n 'slide-from-right': {\n '0%': { translate: '0.5rem 0' },\n to: { translate: '0' },\n },\n // slide to\n 'slide-to-top': {\n '0%': { translate: '0' },\n to: { translate: '0 -0.5rem' },\n },\n 'slide-to-bottom': {\n '0%': { translate: '0' },\n to: { translate: '0 0.5rem' },\n },\n 'slide-to-left': {\n '0%': { translate: '0' },\n to: { translate: '-0.5rem 0' },\n },\n 'slide-to-right': {\n '0%': { translate: '0' },\n to: { translate: '0.5rem 0' },\n },\n // scale\n 'scale-in': {\n from: { scale: '0.95' },\n to: { scale: '1' },\n },\n 'scale-out': {\n from: { scale: '1' },\n to: { scale: '0.95' },\n },\n 'bg-position': {\n from: {\n backgroundPosition: 'var(--animate-from, 1rem) 0',\n },\n to: {\n backgroundPosition: 'var(--animate-to, 0) 0',\n },\n },\n position: {\n from: {\n insetInlineStart: 'var(--animate-from-x)',\n insetBlockStart: 'var(--animate-from-y)',\n },\n to: {\n insetInlineStart: 'var(--animate-to-x)',\n insetBlockStart: 'var(--animate-to-y)',\n },\n },\n})\n",
"type": "registry:theme",
"path": "keyframes.ts"
},
{
"content": "import { defineLayerStyles } from '@pandacss/dev'\n\nexport const layerStyles = defineLayerStyles({\n disabled: {\n value: {\n cursor: 'not-allowed',\n opacity: '0.67',\n filter: 'grayscale(100%)',\n },\n },\n})\n",
"type": "registry:theme",
"path": "layer-styles.ts"
},
{
"content": "import { defineTextStyles } from '@pandacss/dev'\n\nexport const textStyles = defineTextStyles({\n xs: { value: { fontSize: 'xs', lineHeight: '1.125rem' } },\n sm: { value: { fontSize: 'sm', lineHeight: '1.25rem' } },\n md: { value: { fontSize: 'md', lineHeight: '1.5rem' } },\n lg: { value: { fontSize: 'lg', lineHeight: '1.75rem' } },\n xl: { value: { fontSize: 'xl', lineHeight: '1.875rem' } },\n '2xl': { value: { fontSize: '2xl', lineHeight: '2rem' } },\n '3xl': { value: { fontSize: '3xl', lineHeight: '2.375rem' } },\n '4xl': { value: { fontSize: '4xl', lineHeight: '2.75rem', letterSpacing: '-0.02em' } },\n '5xl': { value: { fontSize: '5xl', lineHeight: '3.75rem', letterSpacing: '-0.02em' } },\n '6xl': { value: { fontSize: '6xl', lineHeight: '4.5rem', letterSpacing: '-0.02em' } },\n '7xl': { value: { fontSize: '7xl', lineHeight: '5.75rem', letterSpacing: '-0.02em' } },\n\n label: { value: { fontSize: 'sm', lineHeight: '1.25rem', fontWeight: 'medium' } },\n})\n",
"type": "registry:theme",
"path": "text-styles.ts"
}
],
"panda": {
"imports": [
{
"type": "registry:theme",
"from": "recipes",
"name": "slotRecipes"
},
{
"type": "registry:theme",
"from": "recipes",
"name": "recipes"
},
{
"type": "registry:theme",
"name": "conditions",
"from": "conditions"
},
{
"type": "registry:theme",
"name": "globalCss",
"from": "global-css"
},
{
"type": "registry:theme",
"name": "keyframes",
"from": "keyframes"
},
{
"type": "registry:theme",
"name": "layerStyles",
"from": "layer-styles"
},
{
"type": "registry:theme",
"name": "textStyles",
"from": "text-styles"
},
{
"type": "registry:theme",
"name": "colors",
"from": "tokens/colors"
},
{
"type": "registry:theme",
"name": "durations",
"from": "tokens/durations"
},
{
"type": "registry:theme",
"name": "shadows",
"from": "tokens/shadows"
},
{
"type": "registry:theme",
"name": "zIndex",
"from": "tokens/z-index"
},
{
"type": "registry:theme",
"name": "animationStyles",
"from": "animation-styles"
}
],
"extension": {
"globalCss": "$ref:globalCss",
"conditions": "$ref:conditions",
"theme": {
"extend": {
"animationStyles": "$ref:animationStyles",
"recipes": "$ref:recipes",
"slotRecipes": "$ref:slotRecipes",
"keyframes": "$ref:keyframes",
"layerStyles": "$ref:layerStyles",
"textStyles": "$ref:textStyles",
"tokens": {
"colors": "$ref:colors",
"durations": "$ref:durations",
"zIndex": "$ref:zIndex"
},
"semanticTokens": {
"colors": {
"fg": {
"default": {
"value": {
"_light": "{colors.gray.12}",
"_dark": "{colors.gray.12}"
}
},
"muted": {
"value": {
"_light": "{colors.gray.11}",
"_dark": "{colors.gray.11}"
}
},
"subtle": {
"value": {
"_light": "{colors.gray.10}",
"_dark": "{colors.gray.10}"
}
}
},
"border": {
"value": {
"_light": "{colors.gray.4}",
"_dark": "{colors.gray.4}"
}
},
"error": {
"value": {
"_light": "{colors.red.9}",
"_dark": "{colors.red.9}"
}
}
},
"shadows": "$ref:shadows"
}
}
}
}
},
"registryDependencies": [
"red",
"green"
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "button-recipe",
"type": "registry:recipe",
"dependencies": [
"@pandacss/dev"
],
"files": [
{
"content": "import { defineRecipe } from '@pandacss/dev'\n\nexport const button = defineRecipe({\n className: 'button',\n jsx: ['Button', 'IconButton', 'CloseButton', 'ButtonGroup'],\n base: {\n alignItems: 'center',\n appearance: 'none',\n borderRadius: 'l2',\n cursor: 'pointer',\n display: 'inline-flex',\n flexShrink: '0',\n fontWeight: 'semibold',\n gap: '2',\n isolation: 'isolate',\n justifyContent: 'center',\n outline: '0',\n position: 'relative',\n transition: 'colors',\n transitionProperty: 'background-color, border-color, color, box-shadow',\n userSelect: 'none',\n verticalAlign: 'middle',\n whiteSpace: 'nowrap',\n _icon: {\n flexShrink: '0',\n },\n _disabled: {\n layerStyle: 'disabled',\n },\n focusVisibleRing: 'outside',\n },\n defaultVariants: {\n variant: 'solid',\n size: 'md',\n },\n variants: {\n variant: {\n solid: {\n bg: 'colorPalette.solid.bg',\n color: 'colorPalette.solid.fg',\n _hover: {\n bg: 'colorPalette.solid.bg.hover',\n },\n },\n surface: {\n bg: 'colorPalette.surface.bg',\n borderWidth: '1px',\n borderColor: 'colorPalette.surface.border',\n color: 'colorPalette.surface.fg',\n _hover: {\n borderColor: 'colorPalette.surface.border.hover',\n },\n _active: {\n bg: 'colorPalette.surface.bg.active',\n },\n _on: {\n bg: 'colorPalette.surface.bg.active',\n },\n },\n subtle: {\n bg: 'colorPalette.subtle.bg',\n color: 'colorPalette.subtle.fg',\n _hover: {\n bg: 'colorPalette.subtle.bg.hover',\n },\n _active: {\n bg: 'colorPalette.subtle.bg.active',\n },\n _on: {\n bg: 'colorPalette.subtle.bg.active',\n },\n },\n outline: {\n borderWidth: '1px',\n borderColor: 'colorPalette.outline.border',\n color: 'colorPalette.outline.fg',\n _hover: {\n bg: 'colorPalette.outline.bg.hover',\n },\n _active: {\n bg: 'colorPalette.outline.bg.active',\n },\n _on: {\n bg: 'colorPalette.outline.bg.active',\n },\n },\n plain: {\n color: 'colorPalette.plain.fg',\n _hover: {\n bg: 'colorPalette.plain.bg.hover',\n },\n _active: {\n bg: 'colorPalette.plain.bg.active',\n },\n _on: {\n bg: 'colorPalette.plain.bg.active',\n },\n },\n },\n size: {\n '2xs': { h: '6', minW: '6', textStyle: 'xs', px: '2', _icon: { boxSize: '3.5' } },\n xs: { h: '8', minW: '8', textStyle: 'sm', px: '2.5', _icon: { boxSize: '4' } },\n sm: { h: '9', minW: '9', textStyle: 'sm', px: '3', _icon: { boxSize: '4' } },\n md: { h: '10', minW: '10', textStyle: 'sm', px: '3.5', _icon: { boxSize: '5' } },\n lg: { h: '11', minW: '11', textStyle: 'md', px: '4', _icon: { boxSize: '5' } },\n xl: { h: '12', minW: '12', textStyle: 'md', px: '4.5', _icon: { boxSize: '5.5' } },\n '2xl': { h: '16', minW: '16', textStyle: 'xl', px: '6', _icon: { boxSize: '6' } },\n },\n },\n})\n",
"type": "registry:recipe",
"path": "button.ts",
"imports": "import { button } from './button'"
}
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "group-recipe",
"type": "registry:recipe",
"dependencies": [
"@pandacss/dev"
],
"files": [
{
"content": "import { defineRecipe } from '@pandacss/dev'\n\nexport const group = defineRecipe({\n className: 'group',\n base: {\n display: 'inline-flex',\n position: 'relative',\n gap: '2',\n '& > *': {\n _focusVisible: {\n zIndex: 1,\n },\n },\n },\n defaultVariants: {\n orientation: 'horizontal',\n },\n variants: {\n orientation: {\n horizontal: {\n flexDirection: 'row',\n },\n vertical: {\n flexDirection: 'column',\n },\n },\n attached: {\n true: {\n gap: '0',\n },\n },\n grow: {\n true: {\n display: 'flex',\n '& > *': {\n flex: 1,\n },\n },\n },\n },\n compoundVariants: [\n {\n orientation: 'horizontal',\n attached: true,\n css: {\n '& > *:first-child': {\n borderEndRadius: '0',\n marginEnd: '-1px',\n },\n '& > *:last-child': {\n borderStartRadius: '0',\n },\n '& > *:not(:first-child):not(:last-child)': {\n borderRadius: '0',\n marginEnd: '-1px',\n },\n },\n },\n {\n orientation: 'vertical',\n attached: true,\n css: {\n '& > *:first-child': {\n borderBottomRadius: '0',\n marginBottom: '-1px',\n },\n '& > *:last-child': {\n borderTopRadius: '0',\n },\n '& > *:not(:first-child):not(:last-child)': {\n borderRadius: '0',\n marginBottom: '-1px',\n },\n },\n },\n ],\n})\n",
"type": "registry:recipe",
"path": "group.ts",
"imports": "import { group } from './group'"
}
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "group",
"type": "registry:ui",
"dependencies": [
"@ark-ui/react",
"react"
],
"files": [
{
"content": "import { ark } from '@ark-ui/react'\nimport type { ComponentProps } from 'react'\nimport { styled } from 'styled-system/jsx'\nimport { group } from 'styled-system/recipes'\n\nexport type GroupProps = ComponentProps<typeof Group>\nexport const Group = styled(ark.div, group)\n",
"type": "registry:ui",
"path": "group.tsx",
"exports": "export { Group, type GroupProps } from './group'"
}
],
"registryDependencies": [
"group-recipe"
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "absolute-center-recipe",
"type": "registry:recipe",
"dependencies": [
"@pandacss/dev"
],
"files": [
{
"content": "import { defineRecipe } from '@pandacss/dev'\n\nexport const absoluteCenter = defineRecipe({\n className: 'absolute-center',\n base: {\n position: 'absolute',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n },\n defaultVariants: {\n axis: 'both',\n },\n variants: {\n axis: {\n horizontal: {\n insetStart: '50%',\n translate: '-50%',\n _rtl: {\n translate: '50%',\n },\n },\n vertical: {\n top: '50%',\n translate: '0 -50%',\n },\n both: {\n insetStart: '50%',\n top: '50%',\n translate: '-50% -50%',\n _rtl: {\n translate: '50% -50%',\n },\n },\n },\n },\n})\n",
"type": "registry:recipe",
"path": "absolute-center.ts",
"imports": "import { absoluteCenter } from './absolute-center'"
}
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "absolute-center",
"type": "registry:ui",
"dependencies": [
"@ark-ui/react",
"react"
],
"files": [
{
"content": "import { ark } from '@ark-ui/react/factory'\nimport type { ComponentProps } from 'react'\nimport { styled } from 'styled-system/jsx'\nimport { absoluteCenter } from 'styled-system/recipes'\n\nexport type AbsoluteCenterProps = ComponentProps<typeof AbsoluteCenter>\nexport const AbsoluteCenter = styled(ark.div, absoluteCenter)\n",
"type": "registry:ui",
"path": "absolute-center.tsx",
"exports": "export { AbsoluteCenter, type AbsoluteCenterProps } from './absolute-center'"
}
],
"registryDependencies": [
"absolute-center-recipe"
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "span",
"type": "registry:ui",
"dependencies": [
"react"
],
"files": [
{
"content": "import type { ComponentProps } from 'react'\nimport { styled } from 'styled-system/jsx'\n\nexport type SpanProps = ComponentProps<typeof Span>\nexport const Span = styled('span')\n",
"type": "registry:ui",
"path": "span.tsx",
"exports": "export { Span, type SpanProps } from './span'"
}
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "spinner-recipe",
"type": "registry:recipe",
"dependencies": [
"@pandacss/dev"
],
"files": [
{
"content": "import { defineRecipe } from '@pandacss/dev'\n\nexport const spinner = defineRecipe({\n className: 'spinner',\n base: {\n '--spinner-track-color': 'transparent',\n animation: 'spin',\n animationDuration: 'slowest',\n borderBottomColor: 'var(--spinner-track-color)',\n borderColor: 'currentColor',\n borderInlineStartColor: 'var(--spinner-track-color)',\n borderRadius: 'full',\n borderStyle: 'solid',\n borderWidth: '2px',\n display: 'inline-block',\n height: 'var(--spinner-size)',\n width: 'var(--spinner-size)',\n },\n defaultVariants: {\n size: 'md',\n },\n variants: {\n size: {\n inherit: { '--spinner-size': '1em' },\n xs: { '--spinner-size': 'sizes.3' },\n sm: { '--spinner-size': 'sizes.4' },\n md: { '--spinner-size': 'sizes.5' },\n lg: { '--spinner-size': 'sizes.6' },\n xl: { '--spinner-size': 'sizes.7' },\n '2xl': { '--spinner-size': 'sizes.8' },\n },\n },\n})\n",
"type": "registry:recipe",
"path": "spinner.ts",
"imports": "import { spinner } from './spinner'"
}
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "spinner",
"type": "registry:ui",
"dependencies": [
"@ark-ui/react",
"react"
],
"files": [
{
"content": "import { ark } from '@ark-ui/react/factory'\nimport type { ComponentProps } from 'react'\nimport { styled } from 'styled-system/jsx'\nimport { spinner } from 'styled-system/recipes'\n\nexport type SpinnerProps = ComponentProps<typeof Spinner>\nexport const Spinner = styled(ark.span, spinner)\n",
"type": "registry:ui",
"path": "spinner.tsx",
"exports": "export { Spinner, type SpinnerProps } from './spinner'"
}
],
"registryDependencies": [
"spinner-recipe"
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "loader",
"type": "registry:ui",
"dependencies": [
"react"
],
"files": [
{
"content": "'use client'\nimport { forwardRef } from 'react'\nimport type { HTMLStyledProps } from 'styled-system/jsx'\nimport { AbsoluteCenter } from './absolute-center'\nimport { Span } from './span'\nimport { Spinner } from './spinner'\n\nexport interface LoaderProps extends HTMLStyledProps<'span'> {\n /**\n * Whether the loader is visible\n * @default true\n */\n visible?: boolean | undefined\n /**\n * The spinner to display when loading\n */\n spinner?: React.ReactNode | undefined\n /**\n * The placement of the spinner\n * @default \"start\"\n */\n spinnerPlacement?: 'start' | 'end' | undefined\n /**\n * The text to display when loading\n */\n text?: React.ReactNode | undefined\n\n children?: React.ReactNode\n}\n\nexport const Loader = forwardRef<HTMLSpanElement, LoaderProps>(function Loader(props, ref) {\n const {\n spinner = <Spinner size=\"inherit\" borderWidth=\"0.125em\" color=\"inherit\" />,\n spinnerPlacement = 'start',\n children,\n text,\n visible = true,\n ...rest\n } = props\n\n if (!visible) return children\n\n if (text) {\n return (\n <Span ref={ref} display=\"contents\" {...rest}>\n {spinnerPlacement === 'start' && spinner}\n {text}\n {spinnerPlacement === 'end' && spinner}\n </Span>\n )\n }\n\n if (spinner) {\n return (\n <Span ref={ref} display=\"contents\" {...rest}>\n <AbsoluteCenter display=\"inline-flex\">{spinner}</AbsoluteCenter>\n <Span visibility=\"hidden\" display=\"contents\">\n {children}\n </Span>\n </Span>\n )\n }\n\n return (\n <Span ref={ref} display=\"contents\" {...rest}>\n {children}\n </Span>\n )\n})\n",
"type": "registry:ui",
"path": "loader.tsx",
"exports": "export { Loader, type LoaderProps } from './loader'"
}
],
"registryDependencies": [
"absolute-center",
"span",
"spinner"
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "button",
"type": "registry:ui",
"dependencies": [
"@ark-ui/react",
"react"
],
"files": [
{
"content": "'use client'\nimport { ark } from '@ark-ui/react/factory'\nimport { createContext, mergeProps } from '@ark-ui/react/utils'\nimport { type ComponentProps, forwardRef, useMemo } from 'react'\nimport { styled } from 'styled-system/jsx'\nimport { type ButtonVariantProps, button } from 'styled-system/recipes'\nimport { Group, type GroupProps } from './group'\nimport { Loader } from './loader'\n\ninterface ButtonLoadingProps {\n /**\n * If `true`, the button will show a loading spinner.\n * @default false\n */\n loading?: boolean | undefined\n /**\n * The text to show while loading.\n */\n loadingText?: React.ReactNode | undefined\n /**\n * The spinner to show while loading.\n */\n spinner?: React.ReactNode | undefined\n /**\n * The placement of the spinner\n * @default \"start\"\n */\n spinnerPlacement?: 'start' | 'end' | undefined\n}\n\ntype BaseButtonProps = ComponentProps<typeof BaseButton>\nconst BaseButton = styled(ark.button, button)\n\nexport interface ButtonProps extends BaseButtonProps, ButtonLoadingProps {}\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(function Button(props, ref) {\n const propsContext = useButtonPropsContext()\n const buttonProps = useMemo(\n () => mergeProps<ButtonProps>(propsContext, props),\n [propsContext, props],\n )\n\n const { loading, loadingText, children, spinner, spinnerPlacement, ...rest } = buttonProps\n return (\n <BaseButton\n type=\"button\"\n ref={ref}\n {...rest}\n data-loading={loading ? '' : undefined}\n disabled={loading || rest.disabled}\n >\n {!props.asChild && loading ? (\n <Loader spinner={spinner} text={loadingText} spinnerPlacement={spinnerPlacement}>\n {children}\n </Loader>\n ) : (\n children\n )}\n </BaseButton>\n )\n})\n\nexport interface ButtonGroupProps extends GroupProps, ButtonVariantProps {}\n\nexport const ButtonGroup = forwardRef<HTMLDivElement, ButtonGroupProps>(\n function ButtonGroup(props, ref) {\n const [variantProps, otherProps] = useMemo(() => button.splitVariantProps(props), [props])\n return (\n <ButtonPropsProvider value={variantProps}>\n <Group ref={ref} {...otherProps} />\n </ButtonPropsProvider>\n )\n },\n)\n\nconst [ButtonPropsProvider, useButtonPropsContext] = createContext<ButtonVariantProps>({\n name: 'ButtonPropsContext',\n hookName: 'useButtonPropsContext',\n providerName: '<PropsProvider />',\n strict: false,\n})\n",
"type": "registry:ui",
"path": "button.tsx",
"exports": "export { Button, ButtonGroup, type ButtonGroupProps, type ButtonProps } from './button'"
}
],
"registryDependencies": [
"button-recipe",
"group",
"loader"
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "input-recipe",
"type": "registry:recipe",
"dependencies": [
"@pandacss/dev"
],
"files": [
{
"content": "import type { RecipeConfig } from '@pandacss/dev'\n\nexport const input = {\n className: 'input',\n jsx: ['Input', 'Field.Input'],\n base: {\n appearance: 'none',\n borderRadius: 'l2',\n height: 'var(--input-height)',\n minHeight: 'var(--input-height)',\n minW: 'var(--input-height)',\n outline: '0',\n position: 'relative',\n textAlign: 'start',\n transition: 'colors',\n width: '100%',\n _disabled: {\n layerStyle: 'disabled',\n },\n },\n defaultVariants: {\n size: 'md',\n variant: 'outline',\n },\n variants: {\n variant: {\n outline: {\n borderWidth: '1px',\n borderColor: 'gray.outline.border',\n focusVisibleRing: 'inside',\n _invalid: {\n focusRingColor: 'error',\n borderColor: 'error',\n },\n },\n surface: {\n bg: 'gray.surface.bg',\n borderWidth: '1px',\n borderColor: 'gray.surface.border',\n focusVisibleRing: 'inside',\n\n _invalid: {\n focusRingColor: 'error',\n borderColor: 'error',\n },\n },\n subtle: {\n borderWidth: '1px',\n borderColor: 'transparent',\n bg: 'gray.subtle.bg',\n color: 'gray.subtle.fg',\n focusVisibleRing: 'inside',\n\n _invalid: {\n focusRingColor: 'error',\n borderColor: 'error',\n },\n },\n flushed: {\n borderBottomWidth: '1px',\n borderBottomColor: 'gray.outline.border',\n borderRadius: '0',\n color: 'fg.default',\n px: '0',\n _invalid: {\n borderColor: 'error',\n },\n _focus: {\n borderColor: 'colorPalette.solid.bg',\n boxShadowColor: 'colorPalette.solid.bg',\n boxShadow: '0 1px 0 0 var(--shadow-color)',\n _invalid: {\n borderColor: 'error',\n boxShadowColor: 'error',\n },\n },\n },\n },\n size: {\n '2xs': { textStyle: 'xs', px: '1.5', '--input-height': 'sizes.7' },\n xs: { textStyle: 'sm', px: '2', '--input-height': 'sizes.8' },\n sm: { textStyle: 'sm', px: '2.5', '--input-height': 'sizes.9' },\n md: { textStyle: 'md', px: '3', '--input-height': 'sizes.10' },\n lg: { textStyle: 'md', px: '3.5', '--input-height': 'sizes.11' },\n xl: { textStyle: 'lg', px: '4', '--input-height': 'sizes.12' },\n '2xl': { textStyle: '3xl', px: '4.5', '--input-height': 'sizes.16' },\n },\n },\n} satisfies RecipeConfig\n",
"type": "registry:recipe",
"path": "input.ts",
"imports": "import { input } from './input'"
}
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "input",
"type": "registry:ui",
"dependencies": [
"@ark-ui/react",
"react"
],
"files": [
{
"content": "import { Field } from '@ark-ui/react/field'\nimport type { ComponentProps } from 'react'\nimport { styled } from 'styled-system/jsx'\nimport { input } from 'styled-system/recipes'\n\nexport type InputProps = ComponentProps<typeof Input>\nexport const Input = styled(Field.Input, input)\n",
"type": "registry:ui",
"path": "input.tsx",
"exports": "export { Input, type InputProps } from './input'"
}
],
"registryDependencies": [
"input-recipe"
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "textarea-recipe",
"type": "registry:recipe",
"dependencies": [
"@pandacss/dev"
],
"files": [
{
"content": "import { defineRecipe } from '@pandacss/dev'\n\nexport const textarea = defineRecipe({\n className: 'textarea',\n base: {\n appearance: 'none',\n borderRadius: 'l2',\n minWidth: '0',\n outline: '0',\n position: 'relative',\n transition: 'colors',\n transitionProperty: 'box-shadow, border-color',\n width: '100%',\n _disabled: {\n layerStyle: 'disabled',\n },\n },\n defaultVariants: {\n size: 'md',\n variant: 'surface',\n },\n variants: {\n variant: {\n outline: {\n borderWidth: '1px',\n borderColor: 'gray.outline.border',\n focusVisibleRing: 'inside',\n _invalid: {\n borderColor: 'error',\n focusRingColor: 'error',\n },\n },\n surface: {\n bg: 'gray.surface.bg',\n borderWidth: '1px',\n borderColor: 'gray.surface.border',\n focusVisibleRing: 'inside',\n _invalid: {\n borderColor: 'error',\n focusRingColor: 'error',\n },\n },\n subtle: {\n borderWidth: '1px',\n borderColor: 'transparent',\n bg: 'gray.subtle.bg',\n color: 'gray.subtle.fg',\n focusVisibleRing: 'inside',\n _invalid: {\n borderColor: 'error',\n focusRingColor: 'error',\n },\n },\n flushed: {\n borderBottomWidth: '1px',\n borderBottomColor: 'gray.outline.border',\n borderRadius: '0',\n color: 'fg.default',\n px: '0',\n _invalid: {\n borderColor: 'error',\n },\n _focus: {\n borderColor: 'colorPalette.solid.bg',\n boxShadowColor: 'colorPalette.solid.bg',\n boxShadow: '0 1px 0 0 var(--shadow-color)',\n _invalid: {\n borderColor: 'error',\n boxShadowColor: 'error',\n },\n },\n },\n },\n size: {\n xs: { textStyle: 'sm', px: '2', py: '5px', scrollPaddingBottom: '5px' },\n sm: { textStyle: 'sm', px: '2.5', py: '7px', scrollPaddingBottom: '7px' },\n md: { textStyle: 'md', px: '3', py: '7px', scrollPaddingBottom: '7px' },\n lg: { textStyle: 'md', px: '3.5', py: '9px', scrollPaddingBottom: '9px' },\n xl: { textStyle: 'lg', px: '4', py: '9px', scrollPaddingBottom: '9px' },\n },\n },\n})\n",
"type": "registry:recipe",
"path": "textarea.ts",
"imports": "import { textarea } from './textarea'"
}
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "textarea",
"type": "registry:ui",
"dependencies": [
"@ark-ui/react",
"react"
],
"files": [
{
"content": "import { Field } from '@ark-ui/react/field'\nimport type { ComponentProps } from 'react'\nimport { styled } from 'styled-system/jsx'\nimport { textarea } from 'styled-system/recipes'\n\nexport type TextareaProps = ComponentProps<typeof Textarea>\nexport const Textarea = styled(Field.Textarea, textarea)\n",
"type": "registry:ui",
"path": "textarea.tsx",
"exports": "export { Textarea, type TextareaProps } from './textarea'"
}
],
"registryDependencies": [
"textarea-recipe"
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "badge-recipe",
"type": "registry:recipe",
"dependencies": [
"@pandacss/dev"
],
"files": [
{
"content": "import { defineRecipe } from '@pandacss/dev'\n\nexport const badge = defineRecipe({\n className: 'badge',\n base: {\n display: 'inline-flex',\n alignItems: 'center',\n borderRadius: 'l2',\n lineHeight: '1',\n fontWeight: 'medium',\n fontVariantNumeric: 'tabular-nums',\n whiteSpace: 'nowrap',\n userSelect: 'none',\n },\n defaultVariants: {\n variant: 'subtle',\n size: 'md',\n },\n variants: {\n variant: {\n solid: {\n bg: 'colorPalette.solid.bg',\n color: 'colorPalette.solid.fg',\n },\n surface: {\n bg: 'colorPalette.surface.bg',\n borderWidth: '1px',\n borderColor: 'colorPalette.surface.border',\n color: 'colorPalette.surface.fg',\n },\n subtle: {\n bg: 'colorPalette.subtle.bg',\n color: 'colorPalette.subtle.fg',\n },\n outline: {\n borderWidth: '1px',\n borderColor: 'colorPalette.outline.border',\n color: 'colorPalette.outline.fg',\n },\n },\n size: {\n sm: { fontSize: 'xs', px: '1.5', h: '4.5', gap: '0.5', _icon: { boxSize: '2.5' } },\n md: { fontSize: 'xs', px: '2', h: '5', gap: '1', _icon: { boxSize: '3' } },\n lg: { fontSize: 'xs', px: '2.5', h: '5.5', gap: '1', _icon: { boxSize: '3.5' } },\n xl: { fontSize: 'sm', px: '2.5', h: '6', gap: '1.5', _icon: { boxSize: '4' } },\n '2xl': { fontSize: 'md', px: '3', h: '7', gap: '1.5', _icon: { boxSize: '4.5' } },\n },\n },\n})\n",
"type": "registry:recipe",
"path": "badge.ts",
"imports": "import { badge } from './badge'"
}
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "badge",
"type": "registry:ui",
"dependencies": [
"@ark-ui/react",
"react"
],
"files": [
{
"content": "import { ark } from '@ark-ui/react/factory'\nimport type { ComponentProps } from 'react'\nimport { styled } from 'styled-system/jsx'\nimport { badge } from 'styled-system/recipes'\n\nexport type BadgeProps = ComponentProps<typeof Badge>\nexport const Badge = styled(ark.div, badge)\n",
"type": "registry:ui",
"path": "badge.tsx",
"exports": "export { Badge, type BadgeProps } from './badge'"
}
],
"registryDependencies": [
"badge-recipe"
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "dialog-recipe",
"type": "registry:recipe",
"dependencies": [
"@pandacss/dev",
"@ark-ui/react"
],
"files": [
{
"content": "import { dialogAnatomy } from '@ark-ui/react/anatomy'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nexport const dialog = defineSlotRecipe({\n className: 'dialog',\n slots: dialogAnatomy.extendWith('header', 'body', 'footer').keys(),\n base: {\n backdrop: {\n background: 'black.a7',\n height: '100dvh',\n left: '0',\n position: 'fixed',\n top: '0',\n width: '100dvw',\n zIndex: 'var(--z-index)',\n _open: {\n animationName: 'fade-in',\n animationTimingFunction: 'emphasized-in',\n animationDuration: 'normal',\n },\n _closed: {\n animationName: 'fade-out',\n animationTimingFunction: 'emphasized-out',\n animationDuration: 'fast',\n },\n },\n positioner: {\n '--dialog-z-index': 'zIndex.modal',\n display: 'flex',\n height: '100dvh',\n justifyContent: 'center',\n left: 0,\n overscrollBehaviorY: 'none',\n position: 'fixed',\n top: 0,\n width: '100dvw',\n zIndex: 'calc(var(--dialog-z-index) + var(--layer-index, 0))',\n },\n\n title: {\n fontWeight: 'semibold',\n textStyle: 'lg',\n },\n description: {\n color: 'fg.muted',\n textStyle: 'sm',\n },\n closeTrigger: {\n pos: 'absolute',\n top: '3',\n insetEnd: '3',\n },\n content: {\n '--dialog-z-index': 'zIndex.modal',\n bg: 'gray.surface.bg',\n borderRadius: 'l3',\n boxShadow: 'lg',\n display: 'flex',\n flexDirection: 'column',\n my: 'var(--dialog-margin, var(--dialog-base-margin))',\n outline: 0,\n position: 'relative',\n textStyle: 'sm',\n width: '100%',\n zIndex: 'calc(var(--dialog-z-index) + var(--layer-index, 0))',\n py: { base: '4', md: '6' },\n gap: { base: '4', md: '6' },\n _open: {\n animationDuration: 'slowest',\n },\n _closed: {\n animationDuration: 'normal',\n },\n },\n header: {\n display: 'flex',\n flexDirection: 'column',\n gap: '0.5',\n px: { base: '4', md: '6' },\n flex: '0',\n },\n body: {\n display: 'flex',\n flex: '1',\n flexDirection: 'column',\n alignItems: 'flex-start',\n px: { base: '4', md: '6' },\n },\n footer: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n flex: '0',\n gap: '3',\n px: { base: '4', md: '6' },\n },\n },\n defaultVariants: {\n size: 'md',\n scrollBehavior: 'outside',\n placement: 'center',\n motionPreset: 'scale',\n },\n variants: {\n motionPreset: {\n scale: {\n content: {\n _open: { animationName: 'scale-in, fade-in' },\n _closed: { animationName: 'scale-out, fade-out' },\n },\n },\n 'slide-in-bottom': {\n content: {\n _open: { animationName: 'slide-from-bottom, fade-in' },\n _closed: { animationName: 'slide-to-bottom, fade-out' },\n },\n },\n 'slide-in-top': {\n content: {\n _open: { animationName: 'slide-from-top, fade-in' },\n _closed: { animationName: 'slide-to-top, fade-out' },\n },\n },\n 'slide-in-left': {\n content: {\n _open: { animationName: 'slide-from-left, fade-in' },\n _closed: { animationName: 'slide-to-left, fade-out' },\n },\n },\n 'slide-in-right': {\n content: {\n _open: { animationName: 'slide-from-right, fade-in' },\n _closed: { animationName: 'slide-to-right, fade-out' },\n },\n },\n none: {},\n },\n size: {\n xs: { content: { maxW: 'xs' } },\n sm: { content: { maxW: 'sm' } },\n md: { content: { maxW: 'md' } },\n lg: { content: { maxW: 'lg' } },\n xl: { content: { maxW: 'xl' } },\n cover: {\n positioner: { padding: '8' },\n content: {\n width: '100%',\n height: '100%',\n '--dialog-margin': '0',\n },\n },\n full: {\n content: {\n maxW: '100dvw',\n minH: '100dvh',\n '--dialog-margin': '0',\n borderRadius: '0',\n },\n },\n },\n placement: {\n center: {\n positioner: {\n alignItems: 'center',\n },\n content: {\n '--dialog-base-margin': 'auto',\n mx: 'auto',\n },\n },\n top: {\n positioner: {\n alignItems: 'flex-start',\n },\n content: {\n '--dialog-base-margin': 'spacing.16',\n mx: 'auto',\n },\n },\n bottom: {\n positioner: {\n alignItems: 'flex-end',\n },\n content: {\n '--dialog-base-margin': 'spacing.16',\n mx: 'auto',\n },\n },\n },\n scrollBehavior: {\n inside: {\n positioner: {\n overflow: 'hidden',\n },\n content: {\n maxH: 'calc(100% - 7.5rem)',\n },\n body: {\n overflow: 'auto',\n },\n },\n outside: {\n positioner: {\n overflow: 'auto',\n pointerEvents: 'auto',\n },\n },\n },\n },\n})\n",
"type": "registry:recipe",
"path": "dialog.ts",
"imports": "import { dialog } from './dialog'"
}
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "dialog",
"type": "registry:ui",
"dependencies": [
"@ark-ui/react",
"react"
],
"files": [
{
"content": "'use client'\nimport { Dialog, useDialogContext } from '@ark-ui/react/dialog'\nimport { ark } from '@ark-ui/react/factory'\nimport { type ComponentProps, forwardRef } from 'react'\nimport { createStyleContext, styled } from 'styled-system/jsx'\nimport { dialog } from 'styled-system/recipes'\n\nconst { withRootProvider, withContext } = createStyleContext(dialog)\n\nexport type RootProps = ComponentProps<typeof Root>\nexport const Root = withRootProvider(Dialog.Root, {\n defaultProps: { unmountOnExit: true, lazyMount: true },\n})\nexport const RootProvider = withRootProvider(Dialog.RootProvider, {\n defaultProps: { unmountOnExit: true, lazyMount: true },\n})\nexport const Backdrop = withContext(Dialog.Backdrop, 'backdrop')\nexport const CloseTrigger = withContext(Dialog.CloseTrigger, 'closeTrigger')\nexport const Content = withContext(Dialog.Content, 'content')\nexport const Description = withContext(Dialog.Description, 'description')\nexport const Positioner = withContext(Dialog.Positioner, 'positioner')\nexport const Title = withContext(Dialog.Title, 'title')\nexport const Trigger = withContext(Dialog.Trigger, 'trigger')\nexport const Body = withContext(ark.div, 'body')\nexport const Header = withContext(ark.div, 'header')\nexport const Footer = withContext(ark.div, 'footer')\n\nconst StyledButton = styled(ark.button)\n\nexport const ActionTrigger = forwardRef<HTMLButtonElement, ComponentProps<typeof StyledButton>>(\n function ActionTrigger(props, ref) {\n const dialog = useDialogContext()\n return <StyledButton {...props} ref={ref} onClick={() => dialog.setOpen(false)} />\n },\n)\n\nexport { DialogContext as Context } from '@ark-ui/react/dialog'\n",
"type": "registry:ui",
"path": "dialog.tsx",
"exports": "export * as Dialog from './dialog'"
}
],
"registryDependencies": [
"dialog-recipe"
]
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "violet",
"type": "registry:color",
"dependencies": [
"@pandacss/dev"
],
"files": [
{
"content": "import { defineSemanticTokens } from '@pandacss/dev'\n\nexport const violet = defineSemanticTokens.colors({\n '1': { value: { _light: '#fdfcfe', _dark: '#14121f' } },\n '2': { value: { _light: '#faf8ff', _dark: '#1b1525' } },\n '3': { value: { _light: '#f4f0fe', _dark: '#291f43' } },\n '4': { value: { _light: '#ebe4ff', _dark: '#33255b' } },\n '5': { value: { _light: '#e1d9ff', _dark: '#3c2e69' } },\n '6': { value: { _light: '#d4cafe', _dark: '#473876' } },\n '7': { value: { _light: '#c2b5f5', _dark: '#56468b' } },\n '8': { value: { _light: '#aa99ec', _dark: '#6958ad' } },\n '9': { value: { _light: '#6e56cf', _dark: '#6e56cf' } },\n '10': { value: { _light: '#654dc4', _dark: '#7d66d9' } },\n '11': { value: { _light: '#6550b9', _dark: '#baa7ff' } },\n '12': { value: { _light: '#2f265f', _dark: '#e2ddfe' } },\n a1: { value: { _light: '#5500aa03', _dark: '#4422ff0f' } },\n a2: { value: { _light: '#4900ff07', _dark: '#853ff916' } },\n a3: { value: { _light: '#4400ee0f', _dark: '#8354fe36' } },\n a4: { value: { _light: '#4300ff1b', _dark: '#7d51fd50' } },\n a5: { value: { _light: '#3600ff26', _dark: '#845ffd5f' } },\n a6: { value: { _light: '#3100fb35', _dark: '#8f6cfd6d' } },\n a7: { value: { _light: '#2d01dd4a', _dark: '#9879ff83' } },\n a8: { value: { _light: '#2b00d066', _dark: '#977dfea8' } },\n a9: { value: { _light: '#2400b7a9', _dark: '#8668ffcc' } },\n a10: { value: { _light: '#2300abb2', _dark: '#9176fed7' } },\n a11: { value: { _light: '#1f0099af', _dark: '#baa7ff' } },\n a12: { value: { _light: '#0b0043d9', _dark: '#e3defffe' } },\n solid: {\n bg: {\n DEFAULT: { value: { _light: '{colors.violet.9}', _dark: '{colors.violet.9}' } },\n hover: { value: { _light: '{colors.violet.10}', _dark: '{colors.violet.10}' } },\n },\n fg: { DEFAULT: { value: { _light: 'white', _dark: 'white' } } },\n },\n subtle: {\n bg: {\n DEFAULT: { value: { _light: '{colors.violet.a3}', _dark: '{colors.violet.a3}' } },\n hover: { value: { _light: '{colors.violet.a4}', _dark: '{colors.violet.a4}' } },\n active: { value: { _light: '{colors.violet.a5}', _dark: '{colors.violet.a5}' } },\n },\n fg: { DEFAULT: { value: { _light: '{colors.violet.a11}', _dark: '{colors.violet.a11}' } } },\n },\n surface: {\n bg: {\n DEFAULT: { value: { _light: '{colors.violet.a2}', _dark: '{colors.violet.a2}' } },\n active: { value: { _light: '{colors.violet.a3}', _dark: '{colors.violet.a3}' } },\n },\n border: {\n DEFAULT: { value: { _light: '{colors.violet.a6}', _dark: '{colors.violet.a6}' } },\n hover: { value: { _light: '{colors.violet.a7}', _dark: '{colors.violet.a7}' } },\n },\n fg: { DEFAULT: { value: { _light: '{colors.violet.a11}', _dark: '{colors.violet.a11}' } } },\n },\n outline: {\n bg: {\n hover: { value: { _light: '{colors.violet.a2}', _dark: '{colors.violet.a2}' } },\n active: { value: { _light: '{colors.violet.a3}', _dark: '{colors.violet.a3}' } },\n },\n border: { DEFAULT: { value: { _light: '{colors.violet.a7}', _dark: '{colors.violet.a7}' } } },\n fg: { DEFAULT: { value: { _light: '{colors.violet.a11}', _dark: '{colors.violet.a11}' } } },\n },\n plain: {\n bg: {\n hover: { value: { _light: '{colors.violet.a3}', _dark: '{colors.violet.a3}' } },\n active: { value: { _light: '{colors.violet.a4}', _dark: '{colors.violet.a4}' } },\n },\n fg: { DEFAULT: { value: { _light: '{colors.violet.a11}', _dark: '{colors.violet.a11}' } } },\n },\n})\n",
"type": "registry:color",
"path": "colors/violet.ts"
}
],
"panda": {
"imports": [
{
"type": "registry:color",
"name": "violet",
"from": "colors/violet"
}
],
"extension": {
"theme": {
"extend": {
"semanticTokens": {
"colors": {
"violet": "$ref:violet"
}
}
}
}
}
}
},
{
"$schema": "https://park-ui.com/schema/registry-item.json",
"name": "neutral",
"type": "registry:color",
"dependencies": [
"@pandacss/dev"
],
"files": [
{
"content": "import { defineSemanticTokens } from '@pandacss/dev'\n\nexport const neutral = defineSemanticTokens.colors({\n '1': { value: { _light: '#fcfcfc', _dark: '#111111' } },\n '2': { value: { _light: '#f9f9f9', _dark: '#191919' } },\n '3': { value: { _light: '#f0f0f0', _dark: '#222222' } },\n '4': { value: { _light: '#e8e8e8', _dark: '#2a2a2a' } },\n '5': { value: { _light: '#e0e0e0', _dark: '#313131' } },\n '6': { value: { _light: '#d9d9d9', _dark: '#3a3a3a' } },\n '7': { value: { _light: '#cecece', _dark: '#484848' } },\n '8': { value: { _light: '#bbbbbb', _dark: '#606060' } },\n '9': { value: { _light: '#8d8d8d', _dark: '#6e6e6e' } },\n '10': { value: { _light: '#838383', _dark: '#7b7b7b' } },\n '11': { value: { _light: '#646464', _dark: '#b4b4b4' } },\n '12': { value: { _light: '#202020', _dark: '#eeeeee' } },\n a1: { value: { _light: '#00000003', _dark: '#00000000' } },\n a2: { value: { _light: '#00000006', _dark: '#ffffff09' } },\n a3: { value: { _light: '#0000000f', _dark: '#ffffff12' } },\n a4: { value: { _light: '#00000017', _dark: '#ffffff1b' } },\n a5: { value: { _light: '#0000001f', _dark: '#ffffff22' } },\n a6: { value: { _light: '#00000026', _dark: '#ffffff2c' } },\n a7: { value: { _light: '#00000031', _dark: '#ffffff3b' } },\n a8: { value: { _light: '#00000044', _dark: '#ffffff55' } },\n a9: { value: { _light: '#00000072', _dark: '#ffffff64' } },\n a10: { value: { _light: '#0000007c', _dark: '#ffffff72' } },\n a11: { value: { _light: '#0000009b', _dark: '#ffffffaf' } },\n a12: { value: { _light: '#000000df', _dark: '#ffffffed' } },\n solid: {\n bg: {\n DEFAULT: { value: { _light: '{colors.black}', _dark: '{colors.white}' } },\n hover: { value: { _light: '{colors.gray.12}', _dark: '{colors.gray.12}' } },\n },\n fg: { DEFAULT: { value: { _light: '{colors.white}', _dark: '{colors.black}' } } },\n },\n subtle: {\n bg: {\n DEFAULT: { value: { _light: '{colors.gray.a3}', _dark: '{colors.gray.a3}' } },\n hover: { value: { _light: '{colors.gray.a4}', _dark: '{colors.gray.a4}' } },\n active: { value: { _light: '{colors.gray.a5}', _dark: '{colors.gray.a5}' } },\n },\n fg: { DEFAULT: { value: { _light: '{colors.gray.12}', _dark: '{colors.gray.12}' } } },\n },\n surface: {\n bg: {\n DEFAULT: { value: { _light: '{colors.white}', _dark: '{colors.gray.1}' } },\n hover: { value: { _light: '{colors.gray.2}', _dark: '{colors.gray.2}' } },\n active: { value: { _light: '{colors.gray.3}', _dark: '{colors.gray.3}' } },\n },\n border: {\n DEFAULT: { value: { _light: '{colors.gray.6}', _dark: '{colors.gray.6}' } },\n hover: { value: { _light: '{colors.gray.7}', _dark: '{colors.gray.7}' } },\n },\n fg: { DEFAULT: { value: { _light: '{colors.gray.12}', _dark: '{colors.gray.12}' } } },\n },\n outline: {\n bg: {\n hover: { value: { _light: '{colors.gray.a2}', _dark: '{colors.gray.a2}' } },\n active: { value: { _light: '{colors.gray.a3}', _dark: '{colors.gray.a3}' } },\n },\n border: { DEFAULT: { value: { _light: '{colors.gray.6}', _dark: '{colors.gray.6}' } } },\n fg: { DEFAULT: { value: { _light: '{colors.gray.12}', _dark: '{colors.gray.12}' } } },\n },\n plain: {\n bg: {\n hover: { value: { _light: '{colors.gray.a3}', _dark: '{colors.gray.a3}' } },\n active: { value: { _light: '{colors.gray.a4}', _dark: '{colors.gray.a4}' } },\n },\n fg: { DEFAULT: { value: { _light: '{colors.gray.12}', _dark: '{colors.gray.12}' } } },\n },\n})\n",
"type": "registry:color",
"path": "colors/neutral.ts"
}
],
"panda": {
"imports": [
{
"type": "registry:color",
"name": "neutral",
"from": "colors/neutral"
}
],
"extension": {
"theme": {
"extend": {
"semanticTokens": {
"colors": {
"gray": "$ref:neutral"
}
}
}
}
}
}
}
]