5d438bb70c
## Summary - **New Getting Started section** with quickstart guide and restructured navigation - **Halftone-style illustrations** for User Guide and Developer introduction cards using a Canvas 2D filter script - **Removed hero images** (`image:` frontmatter + `<Frame><img>` blocks) from all user-guide article pages - **Cleaned up translations** (13 languages): removed hero images and updated introduction cards to use halftone style - **Cleaned up twenty-ui pages**: removed outdated hero images from component docs - **Deleted orphaned images**: `table.png`, `kanban.png` - **Developer page**: fixed duplicate icon, switched to 3-column layout ## Test plan - [ ] Verify docs site builds without errors - [ ] Check User Guide introduction page renders halftone card images in both light and dark mode - [ ] Check Developer introduction page renders 3-column layout with distinct icons - [ ] Confirm article pages no longer show hero images at the top - [ ] Spot-check a few translated pages to ensure hero images are removed 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: github-actions <github-actions@twenty.com>
73 lines
2.0 KiB
Plaintext
73 lines
2.0 KiB
Plaintext
---
|
|
title: Icônes
|
|
---
|
|
|
|
<Frame>
|
|
<img src="/images/user-guide/objects/objects.png" alt="En-tête" />
|
|
</Frame>
|
|
|
|
Une liste d'icônes utilisées dans notre application.
|
|
|
|
## Icônes Tabler
|
|
|
|
Nous utilisons les icônes Tabler pour React dans toute l'application.
|
|
|
|
<Tabs>
|
|
<Tab title="Installation">
|
|
<br />
|
|
|
|
```
|
|
yarn add @tabler/icons-react
|
|
```
|
|
</Tab>
|
|
|
|
<Tab title="Propriétés">
|
|
Vous pouvez importer chaque icône en tant que composant. Voici un exemple :
|
|
|
|
<br />
|
|
|
|
```jsx
|
|
import { IconArrowLeft } from "@tabler/icons-react";
|
|
|
|
export const MonComposant = () => {
|
|
return <IconArrowLeft color="red" size={48} />;
|
|
};
|
|
```
|
|
</Tab>
|
|
|
|
<Tab title="Propriétés">
|
|
| Propriétés | Type | Description | Par défaut |
|
|
| ---------- | ------ | --------------------------------------------- | --------------- |
|
|
| taille | nombre | La hauteur et la largeur de l'icône en pixels | 24 |
|
|
| couleur | chaîne | La couleur des icônes | couleurCourante |
|
|
| trait | nombre | La largeur du trait de l'icône en pixels | 2 |
|
|
</Tab>
|
|
</Tabs>
|
|
|
|
## Icônes personnalisées
|
|
|
|
En plus des icônes Tabler, l'application utilise également certaines icônes personnalisées.
|
|
|
|
### Icône Carnet d'adresses
|
|
|
|
Affiche une icône de carnet d'adresses.
|
|
|
|
<Tabs>
|
|
<Tab title="Utilisation">
|
|
```jsx
|
|
import { IconAddressBook } from 'twenty-ui/display';
|
|
|
|
export const MonComposant = () => {
|
|
return <IconAddressBook size={24} stroke={2} />;
|
|
};
|
|
```
|
|
</Tab>
|
|
|
|
<Tab title="Propriétés">
|
|
| Propriétés | Type | Description | Par défaut |
|
|
| ---------- | ------ | --------------------------------------------- | ---------- |
|
|
| taille | nombre | La hauteur et la largeur de l'icône en pixels | 24 |
|
|
| trait | nombre | La largeur du trait de l'icône en pixels | 2 |
|
|
</Tab>
|
|
</Tabs>
|