-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Listbox): add bgcolor to selected indicator #1033
Conversation
Storybook for this build: https://ds.equisoft.io/pr-1033/ |
Webapp for this build: https://ds.equisoft.io/pr-1033/webapp/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Petit questionnement, sinon LGTM.
@@ -179,6 +179,7 @@ const ListItem = styled.li<ListItemProps>` | |||
|
|||
${({ $selected, $multiselect }) => (!$multiselect && $selected && css` | |||
&::before { | |||
background-color: ${({ theme }) => theme.component['listbox-item-indicator-selected-background-color']}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je pense que le nom de token est pas bon. Ça devrait peut-être être juste listbox-item-selected-indicator-color
ou listbox-item-indicator-selected-color
. Le terme background-color
est trop lié à comment c'est implémenté et non ce que ça représente je crois.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maboilard Voir le commentaire de Max
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas de problème pour moi. Si c'est plus logique comme ça, allons-y avec listbox-item-indicator-selected-color
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maboilard parfait assures-toi de faire la modification dans figma
cef2d04
to
c647bff
Compare
* fix(Listbox): add bgcolor to selected indicator * fix(Listbox): fix lint * fix(Listbox): fix token name
DS-1268
Il manquait la couleur background sur l'indicateur de l'option sélectionnée.
Avant:
Après: