---
version: alpha
name: NammaKasa
description: "Light interface measured from nammakasa.in: Google Sans Flex type, red accents, tonal surfaces and pill-shaped controls."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#111827"
  on-background: "#111827"
  on-surface-variant: "#404040"
  on-surface-muted: "#6E7784"
  on-surface-subtle: "#9AA3B0"
  surface-container-low: "#E3E7EB"
  outline: "#E5E7EB"
  outline-variant: "#DDDDDD"
  primary: "#DD3333"
  on-primary: "#FFFFFF"
  secondary: "#F20825"
typography:
  headline-display:
    fontFamily: Google Sans Flex
    fontSize: 20px
    fontWeight: 700
    lineHeight: 1.38
  body-md:
    fontFamily: Google Sans Flex
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.63
  body-sm:
    fontFamily: Google Sans Flex
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.63
  caption:
    fontFamily: Google Sans Flex
    fontSize: 8px
    fontWeight: 400
  label-md:
    fontFamily: Google Sans Flex
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  label-sm:
    fontFamily: Google Sans Flex
    fontSize: 13px
    fontWeight: 600
    lineHeight: 1
rounded:
  sm: 12px
  md: 16px
  full: 9999px
spacing:
  xs: 4px
  sm: 8px
  md: 12px
  lg: 20px
  gutter: 8px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.body-md}"
    rounded: "{rounded.md}"
    padding: 0px
    height: 56px
  button-outline:
    textColor: "{colors.on-surface}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.sm}"
    padding: 0px
    height: 40px
  button-ghost:
    textColor: "{colors.on-surface}"
    typography: "{typography.label-md}"
    rounded: "{rounded.md}"
    padding: 0px
  input-field:
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: 0px
    padding: 0px
---

# NammaKasa Design System

## Overview

NammaKasa describes itself as: “Report a garbage black spot in Bengaluru in 30 seconds. GPS-stamped photos, mapped to your ward officials and tracked publicly until cleared.” The interface is light, built on **White (#FFFFFF)** with **Deep Blue (#111827)** text, and **Red (#DD3333)** as the main accent.

Type is set in **Google Sans Flex**. Headlines run large; body text is 14px. Depth comes from soft drop shadows. Controls are pill-shaped.

Measured from [nammakasa.in](https://nammakasa.in/) on November 22, 2026 at 1440×900 and 390×844 from 119 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 11 roles.

- **White (#FFFFFF):** Page background, seen 7 times. Token `background`, CSS `--bg-primary`.
- **Deep Blue (#111827):** Primary text and headings, seen 19 times. Token `on-surface`, CSS `--text-primary`.
- **Graphite (#404040):** Secondary text, seen 2 times. Token `on-surface-variant`.
- **Cool Slate (#6E7784):** Muted text and metadata, seen 2 times. Token `on-surface-muted`, CSS `--text-muted`.
- **Blue (#9AA3B0):** Subtle text and placeholders, seen 2 times. Token `on-surface-subtle`.
- **Cool Mist (#E3E7EB):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Cool Mist (#E5E7EB):** Borders and dividers, seen 1 time. Token `outline`, CSS `--border`.
- **Silver (#DDDDDD):** Secondary dividers, seen 1 time. Token `outline-variant`.
- **Red (#DD3333):** Primary buttons and calls to action, seen 7 times. Token `primary`, CSS `--red`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Vivid Red (#F20825):** Accent, seen 1 time. Token `secondary`.

## Typography

**Google Sans Flex** carries the whole interface. Fallback stack: `Google Sans Flex, -apple-system, BlinkMacSystemFont, Segoe UI`. Other loaded fonts: Google Sans Code.

- **headline-display:** Google Sans Flex 20px at weight 700, line height 1.38. Page title (h1).
- **body-md:** Google Sans Flex 14px at weight 400, line height 1.63. Body text.
- **body-sm:** Google Sans Flex 12px at weight 400, line height 1.63. Secondary and small text.
- **caption:** Google Sans Flex 8px at weight 400. Captions and fine print.
- **label-md:** Google Sans Flex 16px at weight 400, line height 1.5. Buttons, navigation and labels.
- **label-sm:** Google Sans Flex 13px at weight 600, line height 1. Small labels and badges.

## Layout

Spacing is mostly on a 4px grid (77% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.

- **Scale:** xs 4px, sm 8px, md 12px, lg 20px.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Breakpoints:** 390px, 480px, 640px, 768px, 1024px, 1280px, 1536px.

## Elevation & Depth

Raised elements use soft drop shadows. The most used recipes:

- `rgba(17, 24, 39, 0.14) 0px 2px 10px 0px`
- `rgba(0, 0, 0, 0.08) 0px 4px 12px 0px`
- `rgba(0, 0, 0, 0.25) 0px 4px 4px 0px`

## Shapes

Interactive controls are pill-shaped. Measured radii, most used first:

- **md (16px):** 36 elements.
- **full (9999px):** 28 elements.
- **sm (12px):** 4 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-primary (“Continue”):** #DD3333 fill, #FFFFFF text, 14px/600, 16px radius, padding 0px.
- **button-outline (“Find my location”):** transparent fill, #111827 text, 12px/400, 12px radius, padding 0px, border 1px solid #E5E7EB, shadow `rgba(0, 0, 0, 0.08) 0px 4px 12px 0px`.
- **button-ghost (“Communities”):** transparent fill, #111827 text, 16px/400, 16px radius, padding 0px.
- **input-field (“Search a place, ward or official”):** transparent fill, #111827 text, 14px/400, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #E3E7EB.
- Do keep text in 4 levels: #111827, #404040, #6E7784, #9AA3B0.
- Do reserve #DD3333 for primary actions and key highlights.
- Do reuse the measured spacing steps (8px, 12px, 20px).
- Do make buttons and chips fully rounded (9999px); most other elements use 16px corners.
- Don't use #9AA3B0 for body text; it reaches 2.55:1 on #FFFFFF. Keep it for large text or metadata.
- Don't introduce new font families beyond Google Sans Flex.
- Don't use #DD3333 for large backgrounds or body text.
- Don't make interface transitions slower than 0.38s.

## Motion

Interface transitions are quick: 0.15s, 0.18s, 0.16s, 0.2s. Longer ambient animations run 2s.

- **Easing:** `cubic-bezier(0.4, 0, 0.2, 1)`, `cubic-bezier(0.23, 1, 0.32, 1)`, `ease-out`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/nammakasa.in/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
