mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-20 22:36:27 +00:00
The lit ring around a field was hand-copied into hanzo.ai, hanzo.chat and hanzo.app, and the copies had drifted: two lifted on focus and one did not, one derived the halo's corner and two stated it, and the round controls answered to nothing a preference could reach. Every number is a custom property whose fallback is the published value, so a surface tunes one axis without forking the file, and --density / --text-base carry a person's appearance preference into it by the same route they reach every other ramp. Four media queries answer for themselves — reduced motion, reduced transparency, more contrast, forced colours. A masked gradient survives a forced palette as a grey smear, so both decorative layers go and a system-coloured border carries the edge. Its own package rather than a subpath: chat pins @hanzo/ui below 8.0.52, so a subpath would be unreachable for one of the three surfaces this exists to keep identical. 15 tests, mutation-checked in three places.
14 lines
322 B
JSON
14 lines
322 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"noEmit": false,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./src"
|
|
},
|
|
"include": ["src"],
|
|
"exclude": ["node_modules", "dist", "dist-cjs", "types", "**/*.test.ts", "**/*.test.tsx"]
|
|
}
|