Skip to content
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

chore(design-tokens): replace last batch legacy tokens #851

Merged
merged 16 commits into from
Apr 25, 2024

Conversation

hebernardEquisoft
Copy link
Contributor

@hebernardEquisoft hebernardEquisoft commented Apr 22, 2024

DS-1122

Description

Ici on vient replacer les dernières utilisations de LegacyTokens. Les changements contenu dans cette PR sont en collaboration avec @maboilard.

Tests fonctionnels

  • Valider le bon fonctionnement et le styling de chacune des componsantes

@hebernardEquisoft hebernardEquisoft requested a review from a team as a code owner April 22, 2024 13:39
Copy link

Storybook for this build: https://ds.equisoft.io/pr-851/

packages/react/src/components/modal/modal.tsx Outdated Show resolved Hide resolved
packages/react/src/components/modal/modal.tsx Outdated Show resolved Hide resolved
packages/react/src/components/modal/modal.tsx Outdated Show resolved Hide resolved
@@ -54,7 +54,7 @@ export type DatepickerTokenMap = {

export const defaultDatepickerTokens: DatepickerTokenMap = {
'datepicker-border-color': 'color-neutral-15',
'datepicker-box-shadow-color': 'transparent-20',
'datepicker-box-shadow-color': 'transparent-dark-20',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'avais raté ça, mais on dirait que c'est bizarre. C'est transparent ou ce l'est pas. Ça devrait être sur une autre échelle de couleurs, parce que le rgb se modifie pas de toute façon. Le dark est toujours 0/0/0 et le light 255/255/255. Ça semble plus être un grayscale que de la transparence.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouin c'est une solution temporaire pour la question de transparence!
Dans les tokens configurables on vient justement donner la possibilité d'ajouter de la transparence sur la couleur souhaité... Mais à rediscuter.

meriouma
meriouma previously approved these changes Apr 25, 2024
Copy link
Contributor

@meriouma meriouma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il va rester le conflit à régler, et te synchroniser avec Mathieu dans #784. Il ajoute 2 lignes qui utilisent theme.greys.grey alors il faudrait sûrement les changer pour les tokens que tu introduis ici.

@hebernardEquisoft hebernardEquisoft merged commit 29e6b59 into master Apr 25, 2024
20 checks passed
@hebernardEquisoft hebernardEquisoft deleted the dev/DS-1122 branch April 25, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants