UNPKG

@dvcol/neo-svelte

Version:

Neomorphic ui library for svelte 5

14 lines (13 loc) 749 B
export declare const BorderRadiusSize: { readonly xs: "var(--neo-border-radius-xs, 0.25rem)"; readonly sm: "var(--neo-border-radius-sm, 0.375rem)"; readonly nm: "var(--neo-border-radius, 0.5rem)"; readonly md: "var(--neo-border-radius-md, 0.75rem)"; readonly lg: "var(--neo-border-radius-lg, 1rem)"; readonly xl: "var(--neo-border-radius-xl, 1.5rem)"; readonly xxl: "var(--neo-border-radius-xxl, 2rem)"; readonly '3xl': "var(--neo-border-radius-3xl, 3rem)"; }; export type BorderRadiusSizes = keyof typeof BorderRadiusSize; export type BorderRadiusInput = CSSStyleDeclaration['borderRadius'] | BorderRadiusSizes | boolean; export declare function computeBorderRadius(rounded?: BorderRadiusInput): string | undefined;