forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/layout/network-status-banner.tsxClear filter

2026-09-18

fix: 🎨 colored text reaches WCAG AA contrast - measured in light mode on the #F7F7F7 page: brand as text 2.5:1, warning 2.0:1, success 3.1:1, destructive 4.2:1 (AA needs 4.5:1) - new text tokens primary/success/warning/info/destructive-text: darker in light mode, equal to the fills in dark mode; fills stay as they are - light primary text is --brand-ink, or for a custom palette color the darkest-needed step of its hue (accentTextLightness, tested across hues) - every text-{primary,success,warning,info,destructive} utility moves to its -text token (253 uses); opacity variants stay decorative - token doc records the ruleBurak Boduroğlu · 9f9eebf
fix: 🎨 colored text reaches WCAG AA contrast
- measured in light mode on the #F7F7F7 page: brand as text 2.5:1,
  warning 2.0:1, success 3.1:1, destructive 4.2:1 (AA needs 4.5:1)
- new text tokens primary/success/warning/info/destructive-text: darker in
  light mode, equal to the fills in dark mode; fills stay as they are
- light primary text is --brand-ink, or for a custom palette color the
  darkest-needed step of its hue (accentTextLightness, tested across hues)
- every text-{primary,success,warning,info,destructive} utility moves to
  its -text token (253 uses); opacity variants stay decorative
- token doc records the rule

2026-09-12

feat: 🎨 recompose the screens onto the Figma design, and name what is missingBurak Boduroğlu · 777e8b5
feat: 🎨 recompose the screens onto the Figma design, and name what is missing

- the earlier migration recolored the app but left every layout alone, so
  the pages still read as the old product wearing new tokens; the screens
  are now built to the shape their Figma frame actually shows
- classes, courses and staff work move from tables and link lists to the
  designed card grids; exams, homework, the question bank and the user
  roster gain the tab rows the design puts above them, every one computed
  from data already fetched rather than a new round trip
- the admin home becomes the designed hero: a centered heading, a live
  student search and quick-link columns over an Analitik section
- teacher, student and parent homes gain what real data supports — a
  deduped student count and the pending appointment requests addressed to
  a teacher, a week of focus minutes for a student, and for a parent a
  child selector, an attendance card and a fee-plan card
- the marks report splits into Genel and Derslere göre, attendance leads
  with the four rates the design names, and the calendar's week view is a
  real timetable instead of a strip of coloured dots
- notification panel, a branded 404, a 403 and a 500 card, and a banner
  driven by the browser's own online/offline events
- where no endpoint can fill a value, the element is drawn and marked
  "yakında" rather than dropped, so a reader can tell a missing number
  from an unbuilt feature; controls that would do nothing are disabled
  beside the badge instead of sitting there inert
- a delta arrow with no baseline and a progress bar with no ratio carry
  no information, so they are left out rather than badged; settings keeps
  its three working tabs instead of growing four empty ones
- two recurring bugs fixed again where the new layouts met them: name
  cells with no truncate overlapping the column beside them, and two raw
  rose badges that had escaped the token sweep

Every screen was walked in a browser at 1440px and 393px against its
Figma frame, as each role it belongs to. Nothing here invents a value the
API cannot serve.