// Smarana Theme Definitions
// Centralized color palettes for Light and Dark modes

#let palettes = (
  dark: (
    atomic: (
      outer: rgb("#121a15"),
      card: rgb("#202c24"),
      stroke: rgb("#2f4236"),
      accent: rgb("#a6da95"),
      tag-bg: rgb("#27382d"),
      line: rgb("#384f40"),
      text: rgb("#cad3f5"),
      meta: rgb("#cdd6f4"),
      summary: rgb("#b8c0e0"),
    ),
    capture: (
      outer: rgb("#141824"),
      card: rgb("#1e2333"),
      stroke: rgb("#2c344a"),
      accent: rgb("#8aadf4"),
      tag-bg: rgb("#2a3247"),
      line: rgb("#364059"),
      text: rgb("#cad3f5"),
      meta: rgb("#cdd6f4"),
    ),
    fleeting: (
      outer: rgb("#1f140f"),
      card: rgb("#30261f"),
      stroke: rgb("#4a3729"),
      accent: rgb("#eed49f"),
      tag-bg: rgb("#4a3729"),
      line: rgb("#594435"),
      text: rgb("#cad3f5"),
      meta: rgb("#cdd6f4"),
    ),
    appendix: (
      outer: rgb("#18131e"),
      card: rgb("#241e2d"),
      stroke: rgb("#3a2f4a"),
      accent: rgb("#c6a0f6"),
      tag-bg: rgb("#2f2640"),
      line: rgb("#4a3d5e"),
      text: rgb("#cad3f5"),
      meta: rgb("#cdd6f4"),
    )
  ),
  light: (
    atomic: (
      outer: rgb("#f8fafc"),
      card: rgb("#f0fdf4"),
      stroke: rgb("#86efac"),
      accent: rgb("#166534"),
      tag-bg: rgb("#dcfce7"),
      line: rgb("#86efac"),
      text: rgb("#052e16"),
      meta: rgb("#15803d"),
      summary: rgb("#15803d"),
    ),
    capture: (
      outer: rgb("#f8fafc"),
      card: rgb("#eff6ff"),
      stroke: rgb("#93c5fd"),
      accent: rgb("#1e40af"),
      tag-bg: rgb("#dbeafe"),
      line: rgb("#93c5fd"),
      text: rgb("#0f172a"),
      meta: rgb("#475569"),
    ),
    fleeting: (
      outer: rgb("#f8fafc"),
      card: rgb("#fffbeb"),
      stroke: rgb("#fbbf24"),
      accent: rgb("#92400e"),
      tag-bg: rgb("#fef3c7"),
      line: rgb("#fbbf24"),
      text: rgb("#451a03"),
      meta: rgb("#b45309"),
    ),
    appendix: (
      outer: rgb("#f8f5ff"),
      card: rgb("#f3e8ff"),
      stroke: rgb("#c084fc"),
      accent: rgb("#6b21a8"),
      tag-bg: rgb("#e9d5ff"),
      line: rgb("#c084fc"),
      text: rgb("#3b0764"),
      meta: rgb("#7c3aed"),
    )
  )
)
