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

UI Kit consolidation : Colors #695

Open
Tracked by #640
nicolaskempf57 opened this issue Jan 31, 2022 · 3 comments
Open
Tracked by #640

UI Kit consolidation : Colors #695

nicolaskempf57 opened this issue Jan 31, 2022 · 3 comments
Labels
✨ Front Pour ce qui relève du design de l’interface

Comments

@nicolaskempf57
Copy link

nicolaskempf57 commented Jan 31, 2022

Pretty colors. WIP : knowing which is used, which isn't. What to do with those knowing that DSFR comes with others ?

Capture d’écran 2021-10-28 à 16 36 03

Text colors

Unused text colors :

  • text-blue-100
  • text-blue-200
  • text-blue-300
  • text-yellow-100
  • text-grey-50
  • text-grey-100
  • text-grey-200
  • text-grey-380
  • text-green-500

Unused bg colors :

  • bg-blue-200
  • bg-blue-500
  • bg-yellow-100
  • bg-grey-100
  • bg-grey-200
  • bg-grey-300
  • bg-green-400
  • bg-green-500

Unused variables :

  • @black
  • @blue-200
  • @yellow-100
  • @green-500

Deleting unused text or bg color classes by themselves is not very interesting, however deleting whole colors can be useful. It looks like yellow-100 and green-500 can safely be deleted.

@nicolaskempf57 nicolaskempf57 changed the title Colors UI Kit consolidation : Colors Jan 31, 2022
@agarrone agarrone added the ✨ Front Pour ce qui relève du design de l’interface label Feb 17, 2022
@nicolaskempf57
Copy link
Author

I think we can make another pass on this one to remove unused colors.

@agarrone
Copy link
Contributor

@nicolaskempf57 on peut clore ce ticket ?

@nicolaskempf57
Copy link
Author

Il faudrait refaire une passe pour supprimer les couleurs inutiles. Ça n'a jamais été refait

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Front Pour ce qui relève du design de l’interface
Projects
Status: No status
Development

No branches or pull requests

3 participants