{
  "name": "Rosemary",
  "version": "0.2.0",
  "about": "The design system behind ashleyzhu.com, written for people and AI agents. Use roles and scale steps, never literal values.",
  "guidance": "https://ashleyzhu.com/rosemary",
  "color": {
    "roles": {
      "surface-page": {
        "light": {
          "ref": "oat.0",
          "hex": "#fefefc"
        },
        "dark": {
          "ref": "oat.975",
          "hex": "#18130f"
        }
      },
      "surface-raised": {
        "light": {
          "ref": "oat.0",
          "hex": "#fefefc"
        },
        "dark": {
          "ref": "oat.950",
          "hex": "#26201c"
        }
      },
      "surface-sunken": {
        "light": {
          "ref": "oat.50",
          "hex": "#f9f6f1"
        },
        "dark": {
          "ref": "oat.950",
          "hex": "#26201c"
        }
      },
      "text-default": {
        "light": {
          "ref": "oat.950",
          "hex": "#26201c"
        },
        "dark": {
          "ref": "oat.100",
          "hex": "#eeebe5"
        }
      },
      "text-soft": {
        "light": {
          "ref": "oat.800",
          "hex": "#514941"
        },
        "dark": {
          "ref": "oat.300",
          "hex": "#c6c0b6"
        }
      },
      "text-faint": {
        "light": {
          "ref": "oat.700",
          "hex": "#675f57"
        },
        "dark": {
          "ref": "oat.500",
          "hex": "#958e85"
        }
      },
      "text-accent": {
        "light": {
          "ref": "walnut.700",
          "hex": "#7e5638"
        },
        "dark": {
          "ref": "walnut.300",
          "hex": "#dcba99"
        }
      },
      "text-on-accent": {
        "light": {
          "ref": "oat.0",
          "hex": "#fefefc"
        },
        "dark": {
          "ref": "oat.975",
          "hex": "#18130f"
        }
      },
      "border-hairline": {
        "light": {
          "ref": "oat.200",
          "hex": "#ddd7cc"
        },
        "dark": {
          "ref": "oat.900",
          "hex": "#3c342d"
        }
      },
      "border-control": {
        "light": {
          "ref": "oat.600",
          "hex": "#7e766d"
        },
        "dark": {
          "ref": "oat.600",
          "hex": "#7e766d"
        }
      },
      "accent": {
        "light": {
          "ref": "walnut.700",
          "hex": "#7e5638"
        },
        "dark": {
          "ref": "walnut.300",
          "hex": "#dcba99"
        }
      },
      "accent-hover": {
        "light": {
          "ref": "walnut.800",
          "hex": "#644129"
        },
        "dark": {
          "ref": "walnut.200",
          "hex": "#edd2b6"
        }
      },
      "accent-wash": {
        "light": {
          "ref": "walnut.100",
          "hex": "#fbe8d2"
        },
        "dark": {
          "ref": "walnut.900",
          "hex": "#492e1c"
        }
      },
      "text-on-accent-wash": {
        "light": {
          "ref": "walnut.800",
          "hex": "#644129"
        },
        "dark": {
          "ref": "walnut.200",
          "hex": "#edd2b6"
        }
      },
      "focus-ring": {
        "light": {
          "ref": "walnut.600",
          "hex": "#976d4b"
        },
        "dark": {
          "ref": "walnut.600",
          "hex": "#976d4b"
        }
      },
      "success-icon": {
        "light": {
          "ref": "basil.600",
          "hex": "#4f8755"
        },
        "dark": {
          "ref": "basil.400",
          "hex": "#85b785"
        }
      },
      "success-wash": {
        "light": {
          "ref": "basil.50",
          "hex": "#e9fee7"
        },
        "dark": {
          "ref": "basil.950",
          "hex": "#102816"
        }
      },
      "warning-icon": {
        "light": {
          "ref": "saffron.600",
          "hex": "#977002"
        },
        "dark": {
          "ref": "saffron.400",
          "hex": "#c5a34e"
        }
      },
      "warning-wash": {
        "light": {
          "ref": "saffron.50",
          "hex": "#fff7dc"
        },
        "dark": {
          "ref": "saffron.950",
          "hex": "#2f1e00"
        }
      },
      "danger-icon": {
        "light": {
          "ref": "poppy.600",
          "hex": "#ba5443"
        },
        "dark": {
          "ref": "poppy.400",
          "hex": "#ec8873"
        }
      },
      "danger-wash": {
        "light": {
          "ref": "poppy.50",
          "hex": "#fff4f1"
        },
        "dark": {
          "ref": "poppy.950",
          "hex": "#3b1310"
        }
      },
      "info-icon": {
        "light": {
          "ref": "cornflower.600",
          "hex": "#4f79af"
        },
        "dark": {
          "ref": "cornflower.400",
          "hex": "#7fabdf"
        }
      },
      "info-wash": {
        "light": {
          "ref": "cornflower.50",
          "hex": "#f1f8fe"
        },
        "dark": {
          "ref": "cornflower.950",
          "hex": "#142237"
        }
      }
    },
    "illustration": {
      "il-line": {
        "ref": "walnut.800",
        "hex": "#644129"
      },
      "il-wood-hi": {
        "ref": "ginger.200",
        "hex": "#ecd69b"
      },
      "il-wood": {
        "ref": "ginger.300",
        "hex": "#dcbd76"
      },
      "il-wood-lo": {
        "ref": "ginger.400",
        "hex": "#c8a24f"
      },
      "il-wood-deep": {
        "ref": "ginger.500",
        "hex": "#b3872a"
      },
      "il-cream": {
        "ref": "walnut.100",
        "hex": "#fbe8d2"
      },
      "il-cream-lo": {
        "ref": "walnut.200",
        "hex": "#edd2b6"
      },
      "il-in-back": {
        "ref": "walnut.100",
        "hex": "#fbe8d2"
      },
      "il-in-wall": {
        "ref": "walnut.300",
        "hex": "#dcba99"
      },
      "il-in-floor": {
        "ref": "walnut.200",
        "hex": "#edd2b6"
      },
      "il-sage": {
        "ref": "sage.400",
        "hex": "#9daf87"
      },
      "il-sage-lo": {
        "ref": "sage.500",
        "hex": "#83976d"
      },
      "il-teal": {
        "ref": "eucalyptus.500",
        "hex": "#5d9d92"
      },
      "il-teal-lo": {
        "ref": "eucalyptus.600",
        "hex": "#43857a"
      },
      "il-terracotta": {
        "ref": "cinnamon.500",
        "hex": "#cb7551"
      },
      "il-terracotta-lo": {
        "ref": "cinnamon.600",
        "hex": "#af5e3b"
      },
      "il-plum": {
        "ref": "plum.700",
        "hex": "#7f4f67"
      },
      "il-wisteria": {
        "ref": "wisteria.400",
        "hex": "#ae9cd6"
      },
      "il-ink": {
        "ref": "oat.950",
        "hex": "#26201c"
      },
      "il-ink-lo": {
        "ref": "oat.975",
        "hex": "#18130f"
      },
      "il-glow": {
        "ref": "ginger.200",
        "hex": "#ecd69b"
      }
    }
  },
  "type": {
    "name": "Rosemary",
    "version": "0.2.0",
    "faces": {
      "display": {
        "family": "Caudex",
        "fallback": "Georgia, \"Times New Roman\", serif",
        "weights": [
          400,
          700
        ]
      },
      "text": {
        "family": "Instrument Sans",
        "fallback": "system-ui, -apple-system, \"Helvetica Neue\", Arial, sans-serif",
        "weights": [
          400,
          700
        ],
        "widths": [
          75,
          100
        ]
      },
      "mono": {
        "family": null,
        "fallback": "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace"
      }
    },
    "scale": {
      "viewport": [
        360,
        1280
      ],
      "body": [
        17,
        18
      ],
      "ratio": [
        1.2,
        1.25
      ],
      "floor": 13,
      "steps": [
        -2,
        -1,
        0,
        1,
        2,
        3,
        4,
        5
      ]
    },
    "steps": {
      "0": {
        "css": "clamp(1.0625rem, 1.038rem + 0.1087vw, 1.125rem)",
        "phonePx": 17,
        "desktopPx": 18,
        "leading": 1.65
      },
      "1": {
        "css": "clamp(1.275rem, 1.2236rem + 0.2283vw, 1.4063rem)",
        "phonePx": 20.4,
        "desktopPx": 22.5,
        "leading": 1.45
      },
      "2": {
        "css": "clamp(1.53rem, 1.4409rem + 0.3962vw, 1.7578rem)",
        "phonePx": 24.48,
        "desktopPx": 28.13,
        "leading": 1.25
      },
      "3": {
        "css": "clamp(1.836rem, 1.6946rem + 0.6283vw, 2.1973rem)",
        "phonePx": 29.38,
        "desktopPx": 35.16,
        "leading": 1.15
      },
      "4": {
        "css": "clamp(2.2032rem, 1.9906rem + 0.9450vw, 2.7466rem)",
        "phonePx": 35.25,
        "desktopPx": 43.95,
        "leading": 1.05
      },
      "5": {
        "css": "clamp(2.6438rem, 2.3349rem + 1.3728vw, 3.4332rem)",
        "phonePx": 42.3,
        "desktopPx": 54.93,
        "leading": 1
      },
      "-2": {
        "css": "0.8125rem",
        "phonePx": 13,
        "desktopPx": 13,
        "leading": 1.5
      },
      "-1": {
        "css": "clamp(0.8854rem, 0.8797rem + 0.0254vw, 0.9rem)",
        "phonePx": 14.17,
        "desktopPx": 14.4,
        "leading": 1.5
      }
    },
    "display": {
      "display-l": {
        "css": "clamp(3.6rem, 2.2696rem + 5.9130vw, 7rem)",
        "phonePx": 57.6,
        "desktopPx": 112,
        "leading": 0.95
      },
      "display": {
        "css": "clamp(2.8rem, 2.0174rem + 3.4783vw, 4.8rem)",
        "phonePx": 44.8,
        "desktopPx": 76.8,
        "leading": 1.05
      }
    },
    "styles": {
      "hero": {
        "size": "display-l",
        "face": "display",
        "weight": 400,
        "tracking": "-0.03em",
        "use": "The homepage name."
      },
      "display": {
        "size": "display",
        "face": "display",
        "weight": 400,
        "tracking": "-0.02em",
        "use": "Page titles: About, Writing and Studio."
      },
      "title": {
        "step": 4,
        "face": "display",
        "weight": 400,
        "tracking": "-0.01em",
        "use": "Case study titles."
      },
      "heading": {
        "step": 3,
        "face": "display",
        "weight": 400,
        "tracking": "-0.005em",
        "use": "Section headings."
      },
      "subheading": {
        "step": 2,
        "face": "display",
        "weight": 400,
        "tracking": "0",
        "use": "Subsections and card titles."
      },
      "lede": {
        "step": 1,
        "face": "text",
        "weight": 400,
        "tracking": "0",
        "use": "The opening paragraph under a title."
      },
      "quote": {
        "step": 1,
        "face": "display",
        "weight": 400,
        "tracking": "0",
        "use": "Pull quotes. One per case study at most."
      },
      "body": {
        "step": 0,
        "face": "text",
        "weight": 400,
        "tracking": "0",
        "use": "Reading text."
      },
      "small": {
        "step": -1,
        "face": "text",
        "weight": 500,
        "tracking": "0.01em",
        "use": "Navigation, eyebrows, buttons and tags."
      },
      "caption": {
        "step": -2,
        "face": "text",
        "weight": 400,
        "tracking": "0.005em",
        "use": "Figure captions, dates and meta."
      }
    }
  },
  "space": {
    "name": "Rosemary",
    "version": "0.2.0",
    "viewport": [
      360,
      1280
    ],
    "fixed": {
      "space-1": {
        "px": 4,
        "css": "0.25rem"
      },
      "space-2": {
        "px": 8,
        "css": "0.5rem"
      },
      "space-3": {
        "px": 12,
        "css": "0.75rem"
      },
      "space-4": {
        "px": 16,
        "css": "1rem"
      },
      "space-5": {
        "px": 24,
        "css": "1.5rem"
      },
      "space-6": {
        "px": 32,
        "css": "2rem"
      }
    },
    "layout": {
      "content": "34rem",
      "wide": "56rem"
    },
    "breakpoints": {
      "cards": "44rem",
      "shelf": "72rem"
    },
    "radius": {
      "s": "2px",
      "m": "4px",
      "round": "50%"
    },
    "border": {
      "hairline": "1px",
      "focus": "2px"
    },
    "shadow": {
      "overlay": {
        "light": "0 2px 6px -2px rgb(47 29 18 / 0.12), 0 18px 40px -16px rgb(47 29 18 / 0.32)",
        "dark": "0 18px 44px -12px rgb(0 0 0 / 0.7)"
      }
    },
    "fluid": {
      "gap-s": {
        "phonePx": 24,
        "desktopPx": 32,
        "css": "clamp(1.5rem, 1.3043rem + 0.8696vw, 2rem)"
      },
      "gap-m": {
        "phonePx": 32,
        "desktopPx": 48,
        "css": "clamp(2rem, 1.6087rem + 1.7391vw, 3rem)"
      },
      "gap-l": {
        "phonePx": 48,
        "desktopPx": 80,
        "css": "clamp(3rem, 2.2174rem + 3.4783vw, 5rem)"
      },
      "gap-xl": {
        "phonePx": 64,
        "desktopPx": 128,
        "css": "clamp(4rem, 2.4348rem + 6.9565vw, 8rem)"
      },
      "gutter": {
        "phonePx": 16,
        "desktopPx": 48,
        "css": "clamp(1rem, 0.2174rem + 3.4783vw, 3rem)"
      }
    }
  },
  "motion": {
    "name": "Rosemary",
    "version": "0.2.0",
    "duration": {
      "quick": {
        "ms": 150,
        "use": "Hover and press on controls: color, border and underline changes."
      },
      "settle": {
        "ms": 350,
        "use": "Prints, shelf objects, the side sheet and page changes."
      },
      "slow": {
        "ms": 700,
        "use": "Scroll reveals and the lightbulb."
      }
    },
    "stagger": {
      "ms": 80
    },
    "ease": {
      "out": {
        "curve": [
          0.2,
          0.8,
          0.2,
          1
        ],
        "use": "Settle: controls, sheets, reveals and page changes."
      },
      "spring": {
        "curve": [
          0.3,
          1.5,
          0.5,
          1
        ],
        "use": "A small overshoot, for objects you touch."
      },
      "in-out": {
        "curve": [
          0.45,
          0,
          0.55,
          1
        ],
        "use": "Loops and swaying, such as the clothesline."
      }
    },
    "layer": {
      "base": {
        "z": 0,
        "use": "The page."
      },
      "raised": {
        "z": 1,
        "use": "Inside a component: the tape over a print. Add one for a further step."
      },
      "sticky": {
        "z": 10,
        "use": "Sticky bars, such as the case study table of contents."
      },
      "fixture": {
        "z": 20,
        "use": "Things hung in the room: the lightbulb."
      },
      "float": {
        "z": 30,
        "use": "Fixed controls: the field notebook and its toast."
      },
      "skip": {
        "z": 40,
        "use": "The skip link, always on top."
      }
    }
  },
  "icons": {
    "source": {
      "library": "Phosphor",
      "package": "@phosphor-icons/core",
      "version": "2.1.1",
      "license": "MIT"
    },
    "sizes": {
      "16": {
        "weight": "bold",
        "use": "Beside small text, captions and tags."
      },
      "20": {
        "weight": "regular",
        "use": "Beside body text, in links and in buttons."
      },
      "24": {
        "weight": "regular",
        "use": "Standing alone: previous, next, close."
      }
    },
    "names": [
      "arrow-right",
      "arrow-left",
      "external",
      "close",
      "menu",
      "mail",
      "download",
      "calendar",
      "play",
      "sparkle",
      "sun",
      "moon",
      "success",
      "warning",
      "danger",
      "info",
      "linkedin",
      "medium",
      "instagram",
      "lock"
    ]
  }
}
