Background
There are some visual inconsistencies between Select and the rest of form items (Combobox, TextInput, Lookup):
- Padding is not the same as flagged in T340858: Select: unify padding with TextInput
- Background color: It will finally remain @background-color-interactive-subtle while TextInput, Combobox, and Lookup will use @background-color-base
- Placeholder text: Select uses color-base while TextInput, Combobox, and Lookup use color-placeholder
We need to evaluate updating the Select component to unify its styles with the ones in the rest of form items.
Known use cases
| On Wikifunctions they use a combination of TextInput, Select, and Lookup component to let contributors edit a Wikifunctions object (a typed JSON) via a GUI. | |
Design spec
- Left padding 8px
- Default state: @color-subtle, @background-color-interactive-subtle, @border-color-interactive
- Hover on default state: @color-subtle, @background-color-interactive-subtle--hover, @border-color-interactive--hover
- Filled state: @color-base, @background-color-interactive-subtle, @border-color-interactive
- Hover on filled state: @color-base, @background-color-interactive-subtle--hover, @border-color-interactive--hover
Open questions
Do we want to use @background-color-base for the Select's background?No, we will finally use @background-color-interactive-subtle in Select
Acceptance criteria (or Done)
Design
- Design the Figma spec sheet and add it in this task
- Update the component in the Figma library. This step will be done by a DST member.
Code
- Implement the component updates in Codex




