Skip to content

033 - Theme Config

Design system theme configuration. This is an example of a MAML document.

maml
{
  name: "insidious Theme"
  # Color palette
  colors: {
    primary: "#c5fcf3"
    secondary: "#58be72"
    accent: "#7bda6c"
    background: "#ffffff"
    text: "#333333"

    error: "#dc3545"
    warning: "#ffc107"
    success: "#28a745"
  }

  # Typography
  typography: {
    font_family: "\"JetBrains Mono\", monospace"
    base_size: 14
    line_height: 1.75
    headings: {
      font_family: "Inter, sans-serif"
      weight: 800
    }
  }

  spacing: {
    unit: 4
    scale: [
      0
      4
      8
      16
      24
      32
      48
    ]
  }
  border_radius: 12
}

See Also