yarcl
    Preparing search index...

    Variable compactConst

    compact: {
        borders: { width: "1px" };
        colors: {
            danger: { dark: "#f87171"; light: "#b91c1c" };
            info: { dark: "#60a5fa"; light: "#1d4ed8" };
            neutral: { dark: "#9aa5b1"; light: "#52606d" };
            primary: { dark: "#2dd4bf"; light: "#0f766e" };
            success: { dark: "#4ade80"; light: "#15803d" };
            warning: { dark: "#facc15"; light: "#a16207" };
        };
        components: { Drawer: { size: "sm" } };
        defaults: {
            color: "primary";
            density: "compact";
            errorColor: "danger";
            floatingShadow: "md";
            gap: "md";
            helperStyle: "caption";
            labelStyle: "label";
            modalSize: "md";
            padding: "lg";
            radius: "sm";
            size: "md";
            softVariant: "soft";
            textStyle: "body";
            variant: "solid";
        };
        density: {
            comfortable: {
                fontSize: "0.8125rem";
                paddingX: "0.625rem";
                paddingY: "0.375rem";
            };
            compact: { fontSize: "0.75rem"; paddingX: "0.5rem"; paddingY: "0.25rem" };
        };
        focusRing: { color: "info"; offset: "1px"; width: "2px" };
        modalSizes: {
            full: "100vw";
            lg: "48rem";
            md: "32rem";
            sm: "24rem";
            xl: "64rem";
        };
        motion: {
            base: "200ms";
            easing: "cubic-bezier(0.2, 0, 0, 1)";
            fast: "120ms";
        };
        neutrals: {
            bg: { dark: "#0b0f14"; light: "#eef1f4" };
            border: { dark: "#2a333d"; light: "#cbd2d9" };
            muted: { dark: "#9aa5b1"; light: "#52606d" };
            surface: { dark: "#141a21"; light: "#ffffff" };
            text: { dark: "#e4e7eb"; light: "#1f2933" };
        };
        radii: {
            lg: "4px";
            md: "3px";
            rounded: "9999px";
            sm: "2px";
            square: "0";
            xl: "6px";
        };
        shadows: {
            lg: "0 8px 24px light-dark(rgb(15 23 42 / 0.18), rgb(0 0 0 / 0.6))";
            md: "0 2px 8px light-dark(rgb(15 23 42 / 0.14), rgb(0 0 0 / 0.55))";
            sm: "0 1px 0 light-dark(rgb(15 23 42 / 0.05), rgb(0 0 0 / 0.4))";
        };
        sizes: {
            lg: {
                fontSize: "0.875rem";
                height: "2.25rem";
                iconSize: "1rem";
                paddingX: "0.875rem";
            };
            md: {
                fontSize: "0.8125rem";
                height: "1.75rem";
                iconSize: "0.875rem";
                paddingX: "0.625rem";
            };
            sm: {
                fontSize: "0.75rem";
                height: "1.5rem";
                iconSize: "0.75rem";
                paddingX: "0.5rem";
            };
            xl: {
                fontSize: "1rem";
                height: "2.75rem";
                iconSize: "1.125rem";
                paddingX: "1rem";
            };
            xs: {
                fontSize: "0.6875rem";
                height: "1.25rem";
                iconSize: "0.75rem";
                paddingX: "0.375rem";
            };
        };
        spacing: {
            lg: "0.75rem";
            md: "0.5rem";
            sm: "0.25rem";
            xl: "1rem";
            xs: "0.125rem";
        };
        typography: {
            families: {
                mono: "\"IBM Plex Mono\", ui-monospace, Menlo, Consolas, monospace";
                sans: "\"IBM Plex Sans\", \"Segoe UI\", system-ui, -apple-system, sans-serif";
            };
            headings: {
                h1: "display";
                h2: "heading";
                h3: "heading";
                h4: "subheading";
                h5: "subheading";
                h6: "label";
            };
            styles: {
                body: {
                    family: "sans";
                    lineHeight: 1.45;
                    size: "0.8125rem";
                    weight: 400;
                };
                caption: {
                    family: "sans";
                    lineHeight: 1.4;
                    size: "0.75rem";
                    weight: 400;
                };
                code: { family: "mono"; lineHeight: 1.45; size: "0.75rem"; weight: 400 };
                display: {
                    family: "sans";
                    lineHeight: 1.25;
                    size: "1.5rem";
                    weight: 600;
                };
                heading: {
                    family: "sans";
                    lineHeight: 1.3;
                    size: "1.125rem";
                    weight: 600;
                };
                label: {
                    family: "sans";
                    letterSpacing: "0.02em";
                    lineHeight: 1.35;
                    size: "0.75rem";
                    weight: 600;
                };
                subheading: {
                    family: "sans";
                    lineHeight: 1.35;
                    size: "0.9375rem";
                    weight: 600;
                };
            };
        };
        variants: {
            ghost: { background: "none"; border: "none"; text: "color" };
            outline: { background: "none"; border: "neutral"; text: "neutral" };
            soft: { background: "tint"; border: "none"; text: "color" };
            solid: { background: "fill"; border: "color"; text: "on" };
        };
        zIndex: { dialog: 1200; dropdown: 1000; toast: 1300; tooltip: 1100 };
    } = ...

    Dense and businesslike: teal on cool gray, small 28px controls, tight spacing, 13px text, compact tables, nearly flat.

    Type Declaration

    • Readonlyborders: { width: "1px" }
    • Readonlycolors: {
          danger: { dark: "#f87171"; light: "#b91c1c" };
          info: { dark: "#60a5fa"; light: "#1d4ed8" };
          neutral: { dark: "#9aa5b1"; light: "#52606d" };
          primary: { dark: "#2dd4bf"; light: "#0f766e" };
          success: { dark: "#4ade80"; light: "#15803d" };
          warning: { dark: "#facc15"; light: "#a16207" };
      }
    • Readonlycomponents: { Drawer: { size: "sm" } }
    • Readonlydefaults: {
          color: "primary";
          density: "compact";
          errorColor: "danger";
          floatingShadow: "md";
          gap: "md";
          helperStyle: "caption";
          labelStyle: "label";
          modalSize: "md";
          padding: "lg";
          radius: "sm";
          size: "md";
          softVariant: "soft";
          textStyle: "body";
          variant: "solid";
      }
    • Readonlydensity: {
          comfortable: {
              fontSize: "0.8125rem";
              paddingX: "0.625rem";
              paddingY: "0.375rem";
          };
          compact: { fontSize: "0.75rem"; paddingX: "0.5rem"; paddingY: "0.25rem" };
      }
    • ReadonlyfocusRing: { color: "info"; offset: "1px"; width: "2px" }
    • ReadonlymodalSizes: { full: "100vw"; lg: "48rem"; md: "32rem"; sm: "24rem"; xl: "64rem" }
    • Readonlymotion: { base: "200ms"; easing: "cubic-bezier(0.2, 0, 0, 1)"; fast: "120ms" }
    • Readonlyneutrals: {
          bg: { dark: "#0b0f14"; light: "#eef1f4" };
          border: { dark: "#2a333d"; light: "#cbd2d9" };
          muted: { dark: "#9aa5b1"; light: "#52606d" };
          surface: { dark: "#141a21"; light: "#ffffff" };
          text: { dark: "#e4e7eb"; light: "#1f2933" };
      }
    • Readonlyradii: { lg: "4px"; md: "3px"; rounded: "9999px"; sm: "2px"; square: "0"; xl: "6px" }
    • Readonlyshadows: {
          lg: "0 8px 24px light-dark(rgb(15 23 42 / 0.18), rgb(0 0 0 / 0.6))";
          md: "0 2px 8px light-dark(rgb(15 23 42 / 0.14), rgb(0 0 0 / 0.55))";
          sm: "0 1px 0 light-dark(rgb(15 23 42 / 0.05), rgb(0 0 0 / 0.4))";
      }
    • Readonlysizes: {
          lg: {
              fontSize: "0.875rem";
              height: "2.25rem";
              iconSize: "1rem";
              paddingX: "0.875rem";
          };
          md: {
              fontSize: "0.8125rem";
              height: "1.75rem";
              iconSize: "0.875rem";
              paddingX: "0.625rem";
          };
          sm: {
              fontSize: "0.75rem";
              height: "1.5rem";
              iconSize: "0.75rem";
              paddingX: "0.5rem";
          };
          xl: {
              fontSize: "1rem";
              height: "2.75rem";
              iconSize: "1.125rem";
              paddingX: "1rem";
          };
          xs: {
              fontSize: "0.6875rem";
              height: "1.25rem";
              iconSize: "0.75rem";
              paddingX: "0.375rem";
          };
      }
    • Readonlyspacing: { lg: "0.75rem"; md: "0.5rem"; sm: "0.25rem"; xl: "1rem"; xs: "0.125rem" }
    • Readonlytypography: {
          families: {
              mono: "\"IBM Plex Mono\", ui-monospace, Menlo, Consolas, monospace";
              sans: "\"IBM Plex Sans\", \"Segoe UI\", system-ui, -apple-system, sans-serif";
          };
          headings: {
              h1: "display";
              h2: "heading";
              h3: "heading";
              h4: "subheading";
              h5: "subheading";
              h6: "label";
          };
          styles: {
              body: {
                  family: "sans";
                  lineHeight: 1.45;
                  size: "0.8125rem";
                  weight: 400;
              };
              caption: { family: "sans"; lineHeight: 1.4; size: "0.75rem"; weight: 400 };
              code: { family: "mono"; lineHeight: 1.45; size: "0.75rem"; weight: 400 };
              display: { family: "sans"; lineHeight: 1.25; size: "1.5rem"; weight: 600 };
              heading: {
                  family: "sans";
                  lineHeight: 1.3;
                  size: "1.125rem";
                  weight: 600;
              };
              label: {
                  family: "sans";
                  letterSpacing: "0.02em";
                  lineHeight: 1.35;
                  size: "0.75rem";
                  weight: 600;
              };
              subheading: {
                  family: "sans";
                  lineHeight: 1.35;
                  size: "0.9375rem";
                  weight: 600;
              };
          };
      }
    • Readonlyvariants: {
          ghost: { background: "none"; border: "none"; text: "color" };
          outline: { background: "none"; border: "neutral"; text: "neutral" };
          soft: { background: "tint"; border: "none"; text: "color" };
          solid: { background: "fill"; border: "color"; text: "on" };
      }
    • ReadonlyzIndex: { dialog: 1200; dropdown: 1000; toast: 1300; tooltip: 1100 }