UMD Design System - Tokens - v1.0.1
    Preparing search index...

    Variable spacingConst

    spacing: {
        "2xl": "48px";
        "3xl": "56px";
        "4xl": "64px";
        "5xl": "72px";
        "6xl": "80px";
        "7xl": "96px";
        "8xl": "104px";
        lg: "32px";
        max: "120px";
        maxWidth: {
            large: string;
            larger: string;
            max: string;
            normal: string;
            small: string;
            smallest: string;
        };
        md: "24px";
        min: "8px";
        sm: "16px";
        xl: "40px";
        xs: "12px";
    } = ...

    Default spacing tokens with semantic naming.

    Type Declaration

    • Readonly2xl: "48px"
    • Readonly3xl: "56px"
    • Readonly4xl: "64px"
    • Readonly5xl: "72px"
    • Readonly6xl: "80px"
    • Readonly7xl: "96px"
    • Readonly8xl: "104px"
    • Readonlylg: "32px"
    • Readonlymax: "120px"
    • ReadonlymaxWidth: {
          large: string;
          larger: string;
          max: string;
          normal: string;
          small: string;
          smallest: string;
      }
    • Readonlymd: "24px"
    • Readonlymin: "8px"
    • Readonlysm: "16px"
    • Readonlyxl: "40px"
    • Readonlyxs: "12px"

    Spacing tokens with semantic names and corresponding pixel values.

    import { spacing } from '@universityofmaryland/web-token-library';
    spacing.md // '24px'

    1.0.0