mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-10-17 13:19:18 +02:00
An axe color-contrast pass in dark mode found 71 failures on the Supply Depot, 34 on /settings/models and 7 on /chat. Afterwards there is one, on the Supply Depot. - Muted text (#8f8f82) sat at 4.49:1 on cards and 3.85:1 on secondary surfaces. It is now #a0a093, still dimmer than secondary text. - Category chips paired a *-lighter background with *-dark text, and both tokens invert in dark mode. Tan, red, stone and olive came out at 2.9-3.5:1, and orange at 2.43:1 because its lighter shade stayed light. The chips use the semantic primary text token, as #1358 did for the Builder Tag controls, and dark orange-lighter inverts like the other families. Warning alerts sit on the same orange background and get the same text token. - Secondary (tan) buttons had white text on a lightened tan (2.97:1), and hover moved to the lightest tan. Dark tan stays dark enough for white text, and hover/active get btn-tan tokens like btn-green. The OTC badge on the same tan uses white text instead of desert-white, which turns dark in dark mode. - dark: utilities followed the OS color scheme rather than the in-app theme, so the chat KB index banner kept its light-blue background under Night Ops (1.05:1). A custom variant ties dark: to data-theme. - The Debug Info links used text-gray-500 (3.56:1) and now use the secondary text token. Fixes #1418 |
||
|---|---|---|
| .. | ||
| app | ||
| bin | ||
| commands | ||
| config | ||
| constants | ||
| database | ||
| docs | ||
| inertia | ||
| providers | ||
| public | ||
| resources | ||
| scripts | ||
| start | ||
| tests | ||
| types | ||
| util | ||
| views | ||
| .editorconfig | ||
| .env.example | ||
| ace.js | ||
| adonisrc.ts | ||
| eslint.config.js | ||
| package-lock.json | ||
| package.json | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| vite.config.ts | ||