Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Sep 3, 2023
1 parent 95b80a6 commit 83eafbd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,6 @@ Ce projet est co-maintenu par des agents de différentes administrations frança
- [Julien Bouquillon](@revolunet) - DNUM des ministeres sociaux
- [Dylan DECRULLE](@ddecrulle) - Insee

## Migration depuis [`@dataesr/react-dsfr`](https://github.com/dataesr/react-dsfr)?

Si votre projet utilise [`@dataesr/react-dsfr`](https://github.com/dataesr/react-dsfr) et que vous n'êtes pas enclin a migrer ver `@codegouvfr/react-dsfr` vous pouvez tout de même profiter de plusieurs fonctionalités de ce dernier:

- Profitez de [l'auto complétion des classes en `fr-*`](https://guides.react-dsfr.fr/class-names-type-safety).
- Utilisez [le système de couleur strictement typer](https://guides.react-dsfr.fr/css-in-js#colors).
- Utilisez le thème MUI.
- Utilisez [le système d'espacement](https://guides.react-dsfr.fr/css-in-js#fr.spacing) et de
[point de rupture](https://guides.react-dsfr.fr/css-in-js#fr.breakpoints).

[Voici un bac à sable pour expérimenter](https://stackblitz.com/edit/react-ts-fph9bh?file=App.tsx).

> 💡 Besoin de pages de connexion au DSFR? Allez voir [keycloak-theme-dsfr](https://github.com/codegouvfr/keycloak-theme-dsfr).
## Development
Expand Down
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,6 @@ This project is co-maintained by public servants from various French administrat
- [Julien Bouquillon](@revolunet) - DNUM des ministères sociaux
- [Dylan DECRULLE](@ddecrulle) - Insee

# Migrating from [`@dataesr/react-dsfr`](https://github.com/dataesr/react-dsfr)?

If your project is using [`@dataesr/react-dsfr`](https://github.com/dataesr/react-dsfr) and you're not willing to migrate to `@codegouvfr/react-dsfr` you can still benefit from some of this project features:

- The [`fr-*` classes autocompletion and type safety](https://guides.react-dsfr.fr/class-names-type-safety).
- Use [the type safe color system](https://guides.react-dsfr.fr/css-in-js#colors).
- Use the MUI theme.
- The [the spacing system](https://guides.react-dsfr.fr/css-in-js#fr.spacing) and
[breakpoints util for building responsive UI](https://guides.react-dsfr.fr/css-in-js#fr.breakpoints).

[Here is a playground to demonstrate it](https://stackblitz.com/edit/react-ts-fph9bh?file=App.tsx).

> 💡 Need ready to use, DSFR compliant login and register pages? Checkout [keycloak-theme-dsfr](https://github.com/codegouvfr/keycloak-theme-dsfr).
## Development
Expand Down

0 comments on commit 83eafbd

Please sign in to comment.