fix(tui): derive session surface colors from hues (#37401)

This commit is contained in:
James Long 2026-07-16 20:16:13 -04:00 committed by GitHub
commit f76e18201a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 67 additions and 36 deletions

View file

@ -64,4 +64,5 @@ test("provides reactive property, variant, state, and context accessors", () =>
setResolved(resolveTheme(selectTheme(DEFAULT_THEME, "dark")))
expect(theme.text()).toBe(resolved().contexts["@context:elevated"]!.text.default)
expect(theme.decrease(theme.background.surface.offset(), 1)).toBe(resolved().hue.neutral[700])
})