Daylight is a simple personal habit tracker for one calm user. It exists to make a small daily ritual feel warm and encouraging: the user adds the habits they care about, marks them complete each day, watches daily progress fill up, and reviews how the week went. The product is deliberately narrow — a first version focused on exactly three working pages (a dashboard with daily progress, a habits page to add and complete habits, and a weekly insights page) plus a public Landing entry that explains Daylight and establishes the user's identity before protected habit work.
The audience is a single individual tracking personal habits for their own encouragement, not a team, coach, or administrator. Daylight's tone is friendly and upbeat, its surfaces are clean and rounded, and its accent colour is teal, with coral reserved for streaks and small wins.
This document is the System Requirements Document for Daylight; it specifies the product's features, workflows, pages, personas, and delivery boundaries in full.
Daylight is delivered as a React web application backed by a shared FastAPI service and a MariaDB database. The frontend renders four destinations: a public Landing page, and three protected working pages — dashboard, habits page, and weekly insights page. The backend owns habit records and daily completion records per user; the database persists them. There is one active human actor, the Habit tracker user, who owns all of their own habit data.
Current accepted behavior:
The three working pages require the user to be signed in; Landing is reachable anonymously and is the only place identity is established or verified. There is no sharing, social, coaching, notification, or administrative surface in this version.
Removed from scope
Daylight is a first-party application: the React frontend and the shared FastAPI backend own all product behavior, and MariaDB owns the durable habit and completion state. The user's habit list and daily completions are private to that user, so the application owns identity: the user establishes access on the anonymous Landing page on first use and verifies it there when returning, and the three working pages are reachable only after that. Landing is the sole anonymous entry boundary; it cannot be reached from inside the protected pages as a place to do habit work, and the protected pages cannot establish access to themselves.
The first version is deliberately bounded to these four destinations. Everything the user does with habits — adding, completing, viewing daily progress, reviewing the week — happens inside the three working pages. No future features are committed in this document; anything beyond these pages is out of current scope.
FR-1 — Product identity. As a Habit tracker user, I should use Daylight as a simple personal habit tracker, so that my habit tracking lives in one calm place. (explicit)
FR-2 — Daily progress on the dashboard. As a Habit tracker user, I should see my daily progress on the dashboard, so that I know how today is going. (explicit)
FR-3 — Add habits on the habits page. As a Habit tracker user, I should add habits on the habits page, so that I can track what matters to me. (explicit)
FR-4 — Complete habits on the habits page. As a Habit tracker user, I should complete habits on the habits page, so that I can record today's wins. (explicit)
FR-5 — Weekly insights. As a Habit tracker user, I should review a weekly insights page, so that I can see how my week of habits went. (explicit)
FR-6 — Clean, friendly design with teal accents. As a Habit tracker user, I should experience a clean, friendly design with teal accents, so that the daily ritual feels warm and encouraging. (explicit)
FR-7 — Focused first version. As a Habit tracker user, I should see only the dashboard, habits page, and weekly insights page as working pages, so that the product stays simple. (explicit)
FR-8 — First-use enrollment on Landing. As a Habit tracker user, I should enroll on Landing before doing protected habit work, so that my habits and completions belong to me. (required_inference)
FR-9 — Returning verification on Landing. As a Habit tracker user, I should verify my identity on Landing when I return, so that I can resume my own habit data. (required_inference)
The creative direction is authoritative for this section.
#FFF6E9#FFFFFF#12312E#0E8C7F#FF6B4A#5C7A76The public entry is a full-bleed two-block hero. The left 60% of the first screen is a solid teal (#0E8C7F) block carrying an oversized three-line Sora headline at up to 88px, stacked and spanning the viewport height on desktop, with the coral (#FF6B4A) pill CTA "Start today" sitting under the headline inside the teal block. The right block is cream (#FFF6E9) and holds a large coral-ringed day-progress circle as the hero subject. The same day ring repeats on the dashboard, tying the entry promise to the daily ritual. Flat spot illustration shapes — sun, plant, checkmark — in teal and coral accent the blocks. On mobile the blocks stack, the headline scales down to 40px, and all readable text and controls remain whole within the viewport.
Interaction Model: Animated Motion Tempo: expressive Hero Dimensionality: layered_2d
Landing Hero Motion Brief
prefers-reduced-motion, the hero renders in its final composed arrangement — blocks, headline, ring, and CTA fully visible and static, with no entrance animation and the ring shown at its resting fill.clamp(...)) to fit; no other element covers any part of them. Imagery and decoration may be cropped, bled, or overlapped as the direction asks, but never over readable text or controls.docker-compose.yml with the backend, database, and frontend services; the backend serves all feature APIs on its existing process and port.
Daylight habit ritual
Track your habits each day and see your week in one calm place.
A few minutes a day is enough.
A first-time visit? Set up your Daylight in a moment.
Habit data is private to your account. No sharing or social features — just you and your week.

Daylight habit ritual
Track your habits each day and see your week in one calm place.
A few minutes a day is enough.
A first-time visit? Set up your Daylight in a moment.
Habit data is private to your account. No sharing or social features — just you and your week.
No comments yet. Be the first!