UNPKG

sigma-ui

Version:
54 lines 6.62 kB
{ "inlineColors": { "light": {}, "dark": {} }, "cssVars": { "light": { "background": "0 0% 100%", "foreground": "240 10% 3.9%", "muted": "240 4.8% 95.9%", "muted-foreground": "240 3.8% 46.1%", "popover": "0 0% 100%", "popover-foreground": "240 10% 3.9%", "card": "0 0% 100%", "card-foreground": "240 10% 3.9%", "border": "240 5.9% 90%", "input": "0 0% 100%", "primary": "346.8 77.2% 49.8%", "primary-foreground": "355.7 100% 97.3%", "secondary": "240 4.8% 95.9%", "secondary-foreground": "240 5.9% 10%", "destructive": "0 84.2% 60.2%", "destructive-foreground": "0 0% 98%", "ring": "346.8 77.2% 49.8%" }, "dark": { "background": "20 14.3% 4.1%", "foreground": "0 0% 95%", "muted": "0 0% 15%", "muted-foreground": "240 5% 64.9%", "popover": "0 0% 9%", "popover-foreground": "0 0% 95%", "card": "24 9.8% 10%", "card-foreground": "0 0% 95%", "border": "240 3.7% 15.9%", "input": "20 14.3% 4.1%", "primary": "346.8 77.2% 49.8%", "primary-foreground": "355.7 100% 97.3%", "secondary": "240 3.7% 15.9%", "secondary-foreground": "0 0% 98%", "destructive": "0 62.8% 30.6%", "destructive-foreground": "0 85.7% 97.3%", "ring": "346.8 77.2% 49.8%" } }, "templates": { "tailwind": { "withVariables": "@import \"tailwindcss\";\n@config \"../../tailwind.config.js\";\n\n@layer base {\n /* Override Tailwind 4 default hover cursor for buttons and button-like elements */\n button:not(:disabled),\n [role=\"button\"]:not(:disabled) {\n cursor: pointer;\n }\n\n :root {\n --backdrop-filter-blur: 32px;\n --radius: 0.5rem;\n\n --background: 0 0% 100%;\n --foreground: 240 10% 3.9%;\n --muted: 240 4.8% 95.9%;\n --muted-foreground: 240 3.8% 46.1%;\n --popover: 0 0% 100%;\n --popover-foreground: 240 10% 3.9%;\n --card: 0 0% 100%;\n --card-foreground: 240 10% 3.9%;\n --border: 240 5.9% 90%;\n --input: 0 0% 100%;\n --primary: 346.8 77.2% 49.8%;\n --primary-foreground: 355.7 100% 97.3%;\n --secondary: 240 4.8% 95.9%;\n --secondary-foreground: 240 5.9% 10%;\n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 0 0% 98%;\n --ring: 346.8 77.2% 49.8%;\n }\n \n .dark {\n --background: 20 14.3% 4.1%;\n --foreground: 0 0% 95%;\n --muted: 0 0% 15%;\n --muted-foreground: 240 5% 64.9%;\n --popover: 0 0% 9%;\n --popover-foreground: 0 0% 95%;\n --card: 24 9.8% 10%;\n --card-foreground: 0 0% 95%;\n --border: 240 3.7% 15.9%;\n --input: 20 14.3% 4.1%;\n --primary: 346.8 77.2% 49.8%;\n --primary-foreground: 355.7 100% 97.3%;\n --secondary: 240 3.7% 15.9%;\n --secondary-foreground: 0 0% 98%;\n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 85.7% 97.3%;\n --ring: 346.8 77.2% 49.8%;\n }\n\n * {\n @apply border-border;\n }\n\n body {\n @apply bg-background text-foreground;\n }\n\n .fade-slide-top-enter-active,\n .fade-slide-top-leave-active {\n transition: all 0.3s ease;\n }\n\n .fade-slide-top-enter-from,\n .fade-slide-top-leave-to {\n opacity: 0;\n filter: blur(4px);\n transform: translateY(8px);\n }\n}" }, "css": { "withVariables": "@layer base {\n /* Override preflight default hover cursor for buttons and button-like elements */\n button:not(:disabled),\n [role=\"button\"]:not(:disabled) {\n cursor: pointer;\n }\n \n :root {\n --backdrop-filter-blur: 32px;\n --radius: 0.5rem;\n --radius-full: 9999px;\n --radius-xl: calc(var(--radius) + 4px);\n --radius-lg: var(--radius);\n --radius-md: calc(var(--radius) - 2px);\n --radius-sm: calc(var(--radius) - 4px);\n --radius-xs: min(calc(var(--radius) / 2.5), 6px);\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n --shadow-md: \n 0 4px 6px -1px rgba(0, 0, 0, 0.02), \n 0 2px 4px -1px rgba(0, 0, 0, 0.02),\n 0 12px 24px rgba(0, 0, 0, 0.05);\n \n --background: 0 0% 100%;\n --foreground: 240 10% 3.9%;\n --muted: 240 4.8% 95.9%;\n --muted-foreground: 240 3.8% 46.1%;\n --popover: 0 0% 100%;\n --popover-foreground: 240 10% 3.9%;\n --card: 0 0% 100%;\n --card-foreground: 240 10% 3.9%;\n --border: 240 5.9% 90%;\n --input: 0 0% 100%;\n --primary: 346.8 77.2% 49.8%;\n --primary-foreground: 355.7 100% 97.3%;\n --secondary: 240 4.8% 95.9%;\n --secondary-foreground: 240 5.9% 10%;\n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 0 0% 98%;\n --ring: 346.8 77.2% 49.8%;\n }\n \n .dark {\n --background: 20 14.3% 4.1%;\n --foreground: 0 0% 95%;\n --muted: 0 0% 15%;\n --muted-foreground: 240 5% 64.9%;\n --popover: 0 0% 9%;\n --popover-foreground: 0 0% 95%;\n --card: 24 9.8% 10%;\n --card-foreground: 0 0% 95%;\n --border: 240 3.7% 15.9%;\n --input: 20 14.3% 4.1%;\n --primary: 346.8 77.2% 49.8%;\n --primary-foreground: 355.7 100% 97.3%;\n --secondary: 240 3.7% 15.9%;\n --secondary-foreground: 0 0% 98%;\n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 85.7% 97.3%;\n --ring: 346.8 77.2% 49.8%;\n }\n\n * {\n border-color: hsl(var(--border));\n }\n \n body {\n background-color: hsl(var(--background));\n color: hsl(var(--foreground));\n }\n\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n \n @keyframes fade-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n @keyframes spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }\n\n @keyframes collapsible-down {\n from {\n height: 0;\n }\n to {\n height: var(--reka-collapsible-content-height);\n }\n }\n\n @keyframes collapsible-up {\n from {\n height: var(--reka-collapsible-content-height);\n }\n to {\n height: 0;\n }\n }\n\n .animate-fade-in {\n animation: fade-in 0.5s ease;\n }\n\n .animate-spin {\n animation: spin 1s linear infinite;\n }\n\n .fade-slide-top-enter-active,\n .fade-slide-top-leave-active {\n transition: all 0.3s ease;\n }\n\n .fade-slide-top-enter-from,\n .fade-slide-top-leave-to {\n opacity: 0;\n filter: blur(4px);\n transform: translateY(8px);\n }\n}" } } }