fix(web): add focus ring to form inputs #72
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ref:
docs/STYLE.md§ Components / Form InputsForm inputs should show a mauve focus ring on focus:
Several form components define
inputStylebut have no focus state handling:web/src/components/items/CreateItemPane.tsx(inputStyle, line ~526)web/src/components/items/EditItemPane.tsx(inputStyle, line ~126)web/src/pages/ProjectsPage.tsx(inputStyle, line ~377)web/src/pages/SettingsPage.tsx(inputStyle, line ~282)Options:
onFocus/onBlurhandlers with state-driven inline styles, or.silo-inputclass and add focus rules tosilo-base.css(the style guide's recommended approach for pseudo-class styling)