Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
switch.ts2.07 kB
import { switchAnatomy } from "@ark-ui/react"; import { defineSlotRecipe } from "@pandacss/dev"; export const switchRecipe = defineSlotRecipe({ className: "switchRecipe", jsx: ["Switch", /Switch\.+/], slots: switchAnatomy.keys(), base: { root: { alignItems: "center", display: "flex", position: "relative", }, control: { alignItems: "center", background: "bg.emphasized", borderRadius: "full", cursor: "pointer", display: "inline-flex", flexShrink: "0", transitionDuration: "normal", transitionProperty: "background", transitionTimingFunction: "default", _checked: { background: "colorPalette.default", }, }, label: { color: "fg.default", fontWeight: "medium", }, thumb: { background: "bg.default", borderRadius: "full", boxShadow: "xs", transitionDuration: "normal", transitionProperty: "transform, background", transitionTimingFunction: "default", _checked: { transform: "translateX(100%)", background: { _osLight: "bg.default", _osDark: "colorPalette.fg" }, }, }, }, defaultVariants: { size: "md", }, variants: { size: { sm: { root: { gap: "2", }, control: { width: "7", p: "0.5", }, thumb: { width: "3", height: "3", }, label: { textStyle: "sm", }, }, md: { root: { gap: "3", }, control: { width: "9", p: "0.5", }, thumb: { width: "4", height: "4", }, label: { textStyle: "md", }, }, lg: { root: { gap: "4", }, control: { width: "11", p: "0.5", }, thumb: { width: "5", height: "5", }, label: { textStyle: "lg", }, }, }, }, });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Southclaws/storyden'

If you have feedback or need assistance with the MCP directory API, please join our Discord server