You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
A keyboard or TV remote focus on MSSettingsNavRow, and on a tappable MSSettingsRow, now draws a ring, so a remote user can see which settings row is focused; a host colours it through the new MagicStarterNavigationTheme.settingsRowFocusClassName. Neither recipe had a focus: class, so a focused row looked exactly like the others; a host app's Apple TV QA walk could not find focus anywhere in Settings. The default is focus:ring-2 focus:ring-inset in primary-500 (primary-400 dark): inset because MSSettingsSection clips its rows, which would cut an outside ring at the card edges, and an inset ring also takes no wind_kit focus lift. It is a theme field rather than a recipe constant because a host whose focus colour is not its primary (one that keeps the gold for selection, as a switch's on state) has no other way to restyle a starter row. A row without onTap gets no focus classes, because a focus: class alone makes a WDiv a focus stop. lib/src/configuration/magic_starter_theme.dart, lib/src/magic_starter_manager.dart, lib/src/ui/components/settings_nav_row/settings_nav_row.dart, lib/src/ui/components/settings_nav_row/settings_nav_row.recipe.dart, lib/src/ui/components/settings_row/settings_row.dart, test/ui/components/settings_nav_row/settings_nav_row_test.dart, test/ui/components/settings_row/settings_row_test.dart, test/configuration/magic_starter_theme_test.dart, doc/basics/components.md, doc/basics/views-and-layouts.md (#313)