From e93280eb18f704afa00bced9b12a0b86f8e01162 Mon Sep 17 00:00:00 2001 From: claude Date: Fri, 20 Nov 2026 13:04:34 +0100 Subject: [PATCH] =?UTF-8?q?Interface=20:=20ic=C3=B4nes=20Papicons=20et=20c?= =?UTF-8?q?ouleurs=20d'Excalicloud?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aligne Up And Down sur Excalicloud pour que les deux outils se ressemblent. - Icônes : jeu Papicons 0.2.3 (formes pleines) repris d'Excalicloud (papicons.ts, icons.tsx, folderIcons.tsx) ; icônes propres à Up And Down (types de fichiers, verrou, clé, utilisateurs, nuage, etc.) redessinées dans le même esprit. - Couleurs : thème clair sur la palette d'Excalidraw 0.18 comme Excalicloud (accent #6965db, surfaces #ececf4) ; dossiers dans la couleur d'accent. Thème sombre inchangé (déjà commun aux deux outils). - Ergonomie : rayons 8/6 px, barre du haut 48 px, boutons sur fond surface-low sans bordure, champs au même fond. - Avis tiers et README : Papicons (MIT). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LNfwm4sxyNKUC5XjUyrD88 --- README.md | 2 +- THIRD_PARTY_NOTICES.md | 3 +- frontend/src/folderIcons.tsx | 67 +--- frontend/src/icons.tsx | 706 ++++++++++++++++------------------- frontend/src/papicons.ts | 156 ++++++++ frontend/src/styles.css | 62 +-- 6 files changed, 538 insertions(+), 458 deletions(-) create mode 100644 frontend/src/papicons.ts diff --git a/README.md b/README.md index 9624e18..1770b1e 100644 --- a/README.md +++ b/README.md @@ -87,4 +87,4 @@ Envoi par morceaux (reprise après coupure, proxys à limite de corps), liens de ## Licence -MIT, voir [`LICENSE`](LICENSE). Une partie du code (authentification OIDC, explorateur, icônes Tabler) est reprise d'Excalicloud, voir [`THIRD_PARTY_NOTICES.md`](THIRD_PARTY_NOTICES.md). +MIT, voir [`LICENSE`](LICENSE). Une partie du code (authentification OIDC, explorateur, icônes Papicons) est reprise d'Excalicloud, voir [`THIRD_PARTY_NOTICES.md`](THIRD_PARTY_NOTICES.md). diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md index 1f1a01c..5b81459 100644 --- a/THIRD_PARTY_NOTICES.md +++ b/THIRD_PARTY_NOTICES.md @@ -1,7 +1,8 @@ # Composants tiers - **Excalicloud** (MIT, vLab-BZH) : paquet d'authentification OIDC (`internal/auth`), organisation du stockage (espaces personnels, favoris, corbeille, tags, partage) et composants de l'explorateur. -- **Icônes Tabler** (MIT, Paweł Kuna) : tracés repris dans `frontend/src/icons.tsx` et `folderIcons.tsx`. +- **Papicons** 0.2.3 (MIT, Association Papillon, icônes de Tom Things, ) : tracés copiés sans modification dans `frontend/src/papicons.ts`, utilisés par `icons.tsx` et `folderIcons.tsx` (même jeu qu'Excalicloud). +- **Icônes Tabler** (MIT, Paweł Kuna) : tracés de certaines icônes de dossiers dans `folderIcons.tsx`. - **React** (MIT, Meta), **Vite** (MIT). - Aperçu : **highlight.js** (BSD-3-Clause), **react-markdown** et **remark-gfm** (MIT, unified), **PapaParse** (MIT). diff --git a/frontend/src/folderIcons.tsx b/frontend/src/folderIcons.tsx index ea4c282..2546911 100644 --- a/frontend/src/folderIcons.tsx +++ b/frontend/src/folderIcons.tsx @@ -1,8 +1,11 @@ -// Icônes proposées pour les dossiers (jeu Tabler, comme icons.tsx). Le nom est +// Icônes proposées pour les dossiers : Papicons quand le jeu a l'équivalent, sinon +// tracé au trait (dessins Tabler). Le nom est // enregistré côté serveur (.meta.json) : ne pas renommer une clé existante. -import { FolderIcon, icon } from "./icons"; +import type { ComponentType } from "react"; +import { FolderIcon, icon, pap } from "./icons"; +import * as P from "./papicons"; -type Icon = ReturnType; +type Icon = ComponentType<{ size?: number }>; export const FOLDER_ICONS: { name: string; label: string; Icon: Icon }[] = [ { @@ -106,12 +109,7 @@ export const FOLDER_ICONS: { name: string; label: string; Icon: Icon }[] = [ { name: "world", label: "Internet", - Icon: icon( - <> - - - , - ), + Icon: pap(P.Globe), }, { name: "shield", @@ -121,13 +119,7 @@ export const FOLDER_ICONS: { name: string; label: string; Icon: Icon }[] = [ { name: "lock", label: "Confidentiel", - Icon: icon( - <> - - - - , - ), + Icon: pap(P.Lock), }, { name: "desktop", @@ -142,7 +134,7 @@ export const FOLDER_ICONS: { name: string; label: string; Icon: Icon }[] = [ { name: "code", label: "Code", - Icon: icon(), + Icon: pap(P.Code), }, { name: "tool", @@ -152,12 +144,7 @@ export const FOLDER_ICONS: { name: string; label: string; Icon: Icon }[] = [ { name: "file-text", label: "Documents", - Icon: icon( - <> - - - , - ), + Icon: pap(P.Paper), }, { name: "book", @@ -172,21 +159,12 @@ export const FOLDER_ICONS: { name: string; label: string; Icon: Icon }[] = [ { name: "chart", label: "Indicateurs", - Icon: icon( - <> - - - - - , - ), + Icon: pap(P.Pie), }, { name: "bulb", label: "Idées", - Icon: icon( - , - ), + Icon: pap(P.Sparkles), }, { name: "users", @@ -208,22 +186,12 @@ export const FOLDER_ICONS: { name: string; label: string; Icon: Icon }[] = [ { name: "calendar", label: "Planning", - Icon: icon( - <> - - - , - ), + Icon: pap(P.Calendar), }, { name: "photo", label: "Images", - Icon: icon( - <> - - - , - ), + Icon: pap(P.Gallery), }, { name: "flag", @@ -233,12 +201,7 @@ export const FOLDER_ICONS: { name: string; label: string; Icon: Icon }[] = [ { name: "archive", label: "Archives", - Icon: icon( - <> - - - , - ), + Icon: pap(P.Archive), }, ]; diff --git a/frontend/src/icons.tsx b/frontend/src/icons.tsx index 331c327..8c21023 100644 --- a/frontend/src/icons.tsx +++ b/frontend/src/icons.tsx @@ -1,440 +1,390 @@ -// Icônes au trait, dans le style d'Excalidraw (jeu Tabler, trait fin, couleur héritée). -import type { ReactNode } from "react"; +// Icônes de l'interface : jeu Papicons (formes pleines, couleur héritée via currentColor), +// identique à celui d'Excalicloud (frontend/src/icons.tsx) pour que les deux outils se ressemblent. +// Les tracés Papicons sont dans papicons.ts ; les quelques icônes absentes du jeu sont +// dessinées ici dans le même esprit (formes pleines arrondies, ou trait épais à bouts ronds). +import { useId, type ReactNode } from "react"; +import * as P from "./papicons"; +import type { PapPath } from "./papicons"; -export const icon = (paths: ReactNode) => - function Icon({ size = 16, className }: { size?: number; className?: string }) { +type IconProps = { size?: number; className?: string }; + +/** Identifiant de masque SVG unique et sûr dans url(#…). */ +function useMaskId() { + return "m" + useId().replace(/[^a-zA-Z0-9_-]/g, ""); +} + +function Svg({ size = 16, className, children }: IconProps & { children: ReactNode }) { + return ( + + {children} + + ); +} + +const paths = (p: PapPath[]) => + p.map((x, i) => ); + +/** Icône Papicons telle quelle. */ +export const pap = (p: PapPath[], transform?: string) => + function Icon({ size, className }: IconProps) { + return ( + + {paths(p)} + + ); + }; + +/** Icône au trait, pour les icônes de dossiers sans équivalent Papicons (trait 2, plus appuyé que Tabler). */ +export const icon = (children: ReactNode) => + function Icon({ size = 16, className }: IconProps) { + return ( + + {children} + + ); + }; + +/** Icône pleine dessinée ici. */ +const solid = (children: ReactNode) => + function Icon({ size, className }: IconProps) { + return {children}; + }; + +/** Icône au trait épais (graisse des flèches Papicons), pour les symboles absents du jeu. */ +const line = (children: ReactNode) => + function Icon({ size = 16, className }: IconProps) { return ( - {paths} + {children} ); }; -export const SunIcon = icon( +/** Icône Papicons avec une pastille en bas à droite (le fond est évidé autour de la pastille). */ +const badged = (base: PapPath[], badge: PapPath[]) => + function Icon({ size }: IconProps) { + const id = useMaskId(); + return ( + + + + + + {paths(base)} + {paths(badge)} + + ); + }; + +// Thème, barre du haut, panneaux. +/** Soleil dessiné ici : celui de Papicons ressemble trop à la roue dentée des Paramètres. */ +export const SunIcon = solid( <> - - + + , ); +export const MoonIcon = pap(P.Moon); +export const SettingsIcon = pap(P.Gears); +export const MenuIcon = pap(P.Menu); +export const CloseIcon = pap(P.Cross); +export const UpdateIcon = pap(P.Sparkles); +export const UserIcon = pap(P.User); +export const LogoutIcon = pap(P.Logout); +export const InfoIcon = pap(P.Info); +export const LinkIcon = pap(P.Link); +export const SearchIcon = pap(P.Search); -export const MoonIcon = icon(); +// Fichiers et dossiers. +export const FolderIcon = pap(P.Folder); +export const FileIcon = pap(P.Paper); +export const FilePlusIcon = badged(P.Paper, P.Add); +export const FolderPlusIcon = badged(P.Folder, P.Add); +export const FolderUploadIcon = badged(P.Folder, P.ArrowUpBox); +export const MoveIcon = badged(P.Folder, P.ArrowRightBox); +export const UploadIcon = pap(P.ArrowUpBox); +export const DownloadIcon = pap(P.ArrowDownBox); +/** Dossier parent (« .. »). */ +export const UpIcon = pap(P.ArrowLeftUp); +export const EditIcon = pap(P.PenAlt); +export const SelectAllIcon = pap(P.Tasks); +export const DeselectIcon = pap(P.Placeholder); +/** Menu d'actions « … » : points à l'horizontale. */ +export const DotsIcon = pap(P.Dots, "rotate(90 12 12)"); -export const SettingsIcon = icon( - <> - - - , -); +// Vues de l'explorateur. +export const ListIcon = pap(P.List); +export const GridIcon = pap(P.Grid); +export const GalleryIcon = pap(P.Gallery); -export const MenuIcon = icon(); - -export const CloseIcon = icon(); - -export const FilePlusIcon = icon( - <> - - - - , -); - -export const FolderPlusIcon = icon( - <> - - - , -); - -export const UploadIcon = icon( - <> - - - , -); - -export const FolderUploadIcon = icon( - <> - - - , -); - -export const FolderIcon = icon( - , -); - -export const UpIcon = icon(); - -export const SearchIcon = icon( - <> - - - , -); - -export const ListIcon = icon(); - -export const GridIcon = icon( - <> - - - - - , -); - -export const RefreshIcon = icon( - <> - - - , -); - -export const DotsIcon = icon( - <> - - - - , -); - -export const TrashIcon = icon( - , -); - -/** Poubelle qui contient des éléments : une feuille et une boule de papier dépassent du bord. */ -export const TrashFullIcon = icon( - <> - - - - , -); - -export const RestoreIcon = icon(); - -export const FileIcon = icon( - <> - - - , -); - -export const SelectAllIcon = icon( - <> - - - , -); - -export const DeselectIcon = icon(); - -export const MoveIcon = icon( - <> - - - , -); - -export const SaveIcon = icon( - <> - - - - , -); - -export const UpdateIcon = icon( - <> - - - , -); - -export const CopyIcon = icon( - <> - - - , -); - -export const EditIcon = icon(); - -export const HistoryIcon = icon( - <> - - - , -); - -export const DownloadIcon = icon( - <> - - - , -); - -export const StarIcon = icon( - , -); - -/** Étoile pleine (favori). */ -export function StarFilledIcon({ size = 16 }: { size?: number }) { +// Poubelle. +export const TrashIcon = pap(P.Trash); +/** Poubelle qui contient des éléments : pastille pleine sur le couvercle. */ +export function TrashFullIcon({ size }: IconProps) { + const id = useMaskId(); return ( - - - + + + + + + {paths(P.Trash)} + + ); } -export const TagIcon = icon( +// Favoris : étoile pleine (favori) ou évidée (pas favori), même silhouette. +export const StarFilledIcon = pap(P.Star); +export function StarIcon({ size }: IconProps) { + const id = useMaskId(); + return ( + + + + + {paths(P.Star)} + + + {paths(P.Star)} + + ); +} + +// Actions sans équivalent dans Papicons. +export const RefreshIcon = line( <> - - + + , ); -export const ShareIcon = icon( +export const RestoreIcon = line(); + +export const HistoryIcon = line( <> - - - - + + , ); -export const EyeIcon = icon( +export const SortIcon = line(); + +export const CopyIcon = function CopyIcon({ size }: IconProps) { + const id = useMaskId(); + return ( + + + + + + + + + ); +}; + +export const SaveIcon = function SaveIcon({ size }: IconProps) { + const id = useMaskId(); + return ( + + + + + + + + + ); +}; + +export const TagIcon = solid( + , +); + +export const ShareIcon = solid( <> - - + + + + , ); -/** Punaise : panneau épinglé ou flottant (comme le bouton d'ancrage des panneaux d'Excalidraw). */ -export const PinIcon = icon(); +export const EyeIcon = solid( + , +); -/** Espace personnel de l'utilisateur. */ -export const UserIcon = icon( +/** Punaise : panneau épinglé ou flottant. */ +export const PinIcon = solid( + + + + , +); + +// Métadonnées des schémas (vue Galerie, panneau Détails). +export const ClockIcon = pap(P.Clock); +export const TextIcon = pap(P.Font); +export const PhotoIcon = pap(P.Camera); +export const ArrowIcon = pap(P.ArrowRightUp); +/** Taille du fichier. */ +export const SizeIcon = pap(P.Archive); + +export const ShapesIcon = solid( <> - - + + + , ); -export const LogoutIcon = icon( +export const FrameIcon = line(); + +// --- Propres à Up And Down : types de fichiers, aperçu, comptes ---------------------- +// Même esprit : Papicons quand l'équivalent existe, sinon formes pleines ou trait épais. + +/** Feuille Papicons dont un motif est évidé (types de fichiers). */ +const page = (glyph: ReactNode) => + function Icon({ size, className }: IconProps) { + const id = useMaskId(); + return ( + + + + + {glyph} + + + {paths(P.Paper)} + + ); + }; + +export const FileTextIcon = page(); +export const FileCodeIcon = page(); +export const FileZipIcon = page( <> - - + + + , +); +export const FileMusicIcon = page( + <> + + + , +); +export const FileVideoIcon = page(); +export const FilePdfIcon = page( + , +); +export const FileSheetIcon = page(); +export const FileSlidesIcon = page(); +export const FileImageIcon = page( + <> + + , ); -// Vue Galerie et ses métadonnées. -export const GalleryIcon = icon( +export const PlayIcon = solid(); + +export const ChevronLeftIcon = line(); +export const ChevronRightIcon = line(); +export const ChevronDownIcon = line(); + +export const LockIcon = pap(P.Lock); + +export const KeyIcon = line( <> - - - + + , ); -export const ClockIcon = icon( +export const UsersIcon = solid( <> - - + + + + , ); -export const ShapesIcon = icon( +export const ShieldIcon = solid( + , +); + +export const CheckIcon = line(); + +export const PlusIcon = pap(P.Add); + +export const HomeIcon = solid( + , +); + +export const TableIcon = line( <> - - - + + , ); -export const TextIcon = icon(); +const cloud = "M7 19.5a5 5 0 0 1-.6-9.96 6.5 6.5 0 0 1 12.4 1.56A4.25 4.25 0 0 1 17.5 19.5z"; +export const CloudIcon = solid(); +/** Nuage avec une flèche vers le haut évidée : logo par défaut. */ +export function CloudUpIcon({ size, className }: IconProps) { + const id = useMaskId(); + return ( + + + + + + + + ); +} -export const PhotoIcon = icon( - <> - - - - , -); +export const ExpandIcon = line(); -export const FrameIcon = icon(); +export const CopyLinkIcon = CopyIcon; -export const ArrowIcon = icon(); - -export const SizeIcon = icon( - <> - - - , -); - -export const SortIcon = icon(); - -export const InfoIcon = icon( - <> - - - , -); - -export const LinkIcon = icon( - , -); - -// --- Types de fichiers, aperçu, comptes --------------------------------------------- - -const page = ; - -export const FileTextIcon = icon( - <> - {page} - - , -); - -export const FileCodeIcon = icon( - <> - {page} - - , -); - -export const FileZipIcon = icon( - <> - {page} - - - , -); - -export const FileMusicIcon = icon( - <> - {page} - - - , -); - -export const FileVideoIcon = icon( - <> - {page} - - , -); - -export const FilePdfIcon = icon( - <> - {page} - - , -); - -export const FileSheetIcon = icon( - <> - {page} - - , -); - -export const FileSlidesIcon = icon( - <> - {page} - - , -); - -export const FileImageIcon = icon( - <> - {page} - - - , -); - -export const PlayIcon = icon(); - -export const ChevronLeftIcon = icon(); -export const ChevronRightIcon = icon(); -export const ChevronDownIcon = icon(); - -export const LockIcon = icon( - <> - - - , -); - -export const KeyIcon = icon( - <> - - - , -); - -export const UsersIcon = icon( - <> - - - , -); - -export const ShieldIcon = icon(); - -export const CheckIcon = icon(); - -export const PlusIcon = icon(); - -export const HomeIcon = icon( - <> - - - , -); - -export const TableIcon = icon( - <> - - - , -); - -export const CloudIcon = icon(); - -export const CloudUpIcon = icon( - <> - - - , -); - -export const ExpandIcon = icon(); - -export const CopyLinkIcon = icon( - <> - - - , -); - -export const WarningIcon = icon( - <> - - - , -); +export function WarningIcon({ size, className }: IconProps) { + const id = useMaskId(); + return ( + + + + + + + + + ); +} diff --git a/frontend/src/papicons.ts b/frontend/src/papicons.ts new file mode 100644 index 0000000..a1c36d1 --- /dev/null +++ b/frontend/src/papicons.ts @@ -0,0 +1,156 @@ +// Tracés extraits de Papicons 0.2.3 (@getpapillon/papicons, https://github.com/PapillonApp/papicons), +// icônes de Tom Things pour Papillon. Licence MIT, (c) 2025 Association Papillon : voir THIRD_PARTY_NOTICES.md. +// Grille 24 x 24, formes pleines. Seules les icônes utilisées par Excalicloud sont reprises. + +export type PapPath = { d: string; evenodd?: boolean }; + +export const Add: PapPath[] = [ + { d: "M20.414 10.515c.375.374.586.916.586 1.485s-.21 1.112-.585 1.486a1.8 1.8 0 0 1-1.415.515l-.35-.025-5.035-.36.36 5.035.026.349c.038.53-.14 1.04-.515 1.415-.374.375-.917.585-1.486.585s-1.111-.211-1.485-.586A1.79 1.79 0 0 1 10 19.001l.026-.35.36-5.036-5.037.36L5 14a1.79 1.79 0 0 1-1.413-.515C3.21 13.111 3 12.57 3 12s.21-1.112.585-1.486A1.8 1.8 0 0 1 5 10l.35.024 5.034.36L10 5c-.039-.53.138-1.04.514-1.415C10.888 3.21 11.431 3 12 3s1.111.211 1.485.586c.376.375.553.883.515 1.413l-.026.35-.359 5.036 5.036-.36L19 10a1.79 1.79 0 0 1 1.413.515" }, +]; + +export const Archive: PapPath[] = [ + { d: "M12.935 9.076c3.192-.1 4.79-.15 5.381.368.066.057.089.08.148.144.536.576.536 1.92.536 4.605 0 2.641 0 3.962-.774 4.819a3 3 0 0 1-.214.214c-.857.774-2.178.774-4.819.774h-2.386c-2.641 0-3.962 0-4.819-.774a3 3 0 0 1-.214-.214C5 18.155 5 16.834 5 14.193c0-2.686 0-4.03.536-4.605.06-.064.082-.087.148-.144.592-.517 2.189-.468 5.381-.368a30 30 0 0 0 1.87 0M12 12c-.713 0-1.275.017-1.695.037C9.668 12.068 9 12.363 9 13s.668.932 1.305.963c.42.02.982.037 1.695.037s1.275-.017 1.695-.037C14.332 13.932 15 13.637 15 13s-.668-.932-1.305-.963A35 35 0 0 0 12 12m6.65-8c.745 0 1.35.605 1.35 1.35 0 .663-.48 1.224-1.138 1.297C17.547 6.795 15.151 7 12 7c-3.15 0-5.546-.205-6.862-.353A1.29 1.29 0 0 1 4 5.351C4 4.605 4.605 4 5.35 4z" }, +]; + +export const ArrowDownBox: PapPath[] = [ + { d: "M21 12c0 1.483-.072 2.748-.178 3.805-.274 2.723-2.293 4.743-5.016 5.016a38 38 0 0 1-3.806.18c-1.483 0-2.748-.073-3.805-.18-2.723-.273-4.742-2.293-5.016-5.016A38 38 0 0 1 3 12c0-1.483.073-2.749.179-3.806.274-2.722 2.294-4.741 5.016-5.015A38 38 0 0 1 12 3c1.483 0 2.75.073 3.806.179 2.723.274 4.742 2.293 5.016 5.015C20.928 9.251 21 10.517 21 12m-4.122.828a1 1 0 1 0-1.414-1.414l-2.366 2.367.268-5.228.017-.322a1.23 1.23 0 0 0-.355-.944c-.25-.25-.606-.39-.978-.39s-.728.14-.978.39-.373.59-.355.944l.017.322.26 5.046-2.185-2.185a1 1 0 0 0-1.414 1.414l4.034 4.035c.39.39 1.024.39 1.415 0z", evenodd: true }, +]; + +export const ArrowLeftUp: PapPath[] = [ + { d: "M4.5 15a1.5 1.5 0 0 0 3 0V9.621l9.44 9.44a1.5 1.5 0 1 0 2.12-2.122L9.622 7.5h5.38a1.5 1.5 0 0 0 0-3H6A1.5 1.5 0 0 0 4.5 6z" }, +]; + +export const ArrowRightBox: PapPath[] = [ + { d: "M12 3c1.483 0 2.748.073 3.805.179 2.723.274 4.743 2.293 5.017 5.015C20.928 9.251 21 10.517 21 12s-.072 2.748-.178 3.805c-.274 2.723-2.294 4.743-5.017 5.016a38 38 0 0 1-3.805.18c-1.483 0-2.749-.073-3.805-.18-2.723-.274-4.742-2.293-5.016-5.016A38 38 0 0 1 3 12c0-1.483.073-2.749.179-3.806.274-2.722 2.293-4.741 5.016-5.015A38 38 0 0 1 12 3m.828 4.122a1 1 0 1 0-1.414 1.414l2.367 2.367-5.228-.27-.322-.016a1.23 1.23 0 0 0-.944.356c-.25.25-.39.606-.39.977 0 .372.14.728.39.978s.59.374.944.355l.322-.016 5.046-.261-2.185 2.185a1 1 0 0 0 1.414 1.415l4.035-4.035c.391-.39.391-1.024 0-1.415z", evenodd: true }, +]; + +export const ArrowRightUp: PapPath[] = [ + { d: "M19.5 15a1.5 1.5 0 0 1-3 0V9.621l-9.44 9.44a1.5 1.5 0 1 1-2.12-2.122L14.378 7.5H9a1.5 1.5 0 1 1 0-3h9A1.5 1.5 0 0 1 19.5 6z" }, +]; + +export const ArrowUpBox: PapPath[] = [ + { d: "M21 12c0-1.483-.072-2.748-.178-3.805-.274-2.722-2.293-4.742-5.016-5.016A38 38 0 0 0 12 3c-1.483 0-2.748.073-3.805.179-2.723.274-4.742 2.293-5.016 5.016A38 38 0 0 0 3 12c0 1.483.073 2.75.179 3.806.274 2.723 2.294 4.742 5.016 5.015 1.057.107 2.322.18 3.805.18a38 38 0 0 0 3.806-.18c2.723-.274 4.742-2.292 5.016-5.015.106-1.057.178-2.323.178-3.806m-4.122-.828a1 1 0 0 1-1.414 1.414l-2.366-2.367.268 5.228.017.323c.018.353-.105.693-.355.943s-.606.39-.978.39-.728-.14-.978-.39-.373-.59-.355-.943l.017-.323.26-5.045-2.185 2.184a1 1 0 0 1-1.414-1.414l4.034-4.035c.39-.39 1.024-.39 1.415 0z", evenodd: true }, +]; + +export const Calendar: PapPath[] = [ + { d: "M3 6.125C3 4.399 4.4 3 6.125 3h11.75C19.601 3 21 4.4 21 6.125 21 7.161 20.16 8 19.125 8H4.875A1.875 1.875 0 0 1 3 6.125M18.174 10.005a3 3 0 0 1 2.821 2.821c.003.048.002.101.002.174H17a4 4 0 0 0-4 4v3.99c-.373.009-.804.01-1.313.01h-2.4c-2.133 0-3.2 0-4.022-.396a4 4 0 0 1-1.869-1.869C3 17.913 3 16.846 3 14.714c0-1.6 0-2.399.297-3.016a3 3 0 0 1 1.401-1.401C5.315 10 6.115 10 7.714 10h10.065c.205 0 .308 0 .395.005" }, + { d: "M17 15h3.64c-.181.397-.426.766-.73 1.089-.04.042-.083.084-.168.169l-2.4 2.4c-1.087 1.087-1.665 1.66-2.342 1.978V17a2 2 0 0 1 1.796-1.99z" }, +]; + +export const Camera: PapPath[] = [ + { d: "M12 11a2 2 0 1 1 0 4 2 2 0 0 1 0-4" }, + { d: "M12 4c1.73 0 3.103.853 3.963 2.153l-.102-.01c2.674.213 4.812 2.038 5.048 4.71A24 24 0 0 1 21 13a24 24 0 0 1-.09 2.148c-.237 2.671-2.375 4.496-5.049 4.708A49 49 0 0 1 12 20c-1.51 0-2.793-.058-3.861-.144-2.674-.213-4.812-2.037-5.048-4.709A24 24 0 0 1 3 13c0-.796.035-1.51.09-2.148.237-2.671 2.375-4.496 5.049-4.708q-.052.003-.103.01C8.896 4.851 10.27 4 12 4m0 5a4 4 0 1 0 0 8 4 4 0 0 0 0-8", evenodd: true }, +]; + +export const Clock: PapPath[] = [ + { d: "M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18m0 3a1 1 0 0 0-1 1v3.93c0 .334-.167.647-.445.832l-2.11 1.406a1 1 0 0 0 1.11 1.665l2.11-1.407A3 3 0 0 0 13 10.93V7a1 1 0 0 0-1-1", evenodd: true }, +]; + +export const Code: PapPath[] = [ + { d: "M7.898 4.009c.52-.104 1.088.021 1.56.336s.806.79.91 1.31-.03 1.043-.355 1.463l-.221.286-3.553 4.605 3.553 4.604.22.287c.326.42.46.942.355 1.462-.103.52-.437.996-.909 1.31-.472.316-1.04.441-1.56.337a1.8 1.8 0 0 1-1.213-.89l-.18-.314q-1.612-2.826-3.226-5.65l-.178-.314a1.44 1.44 0 0 1-.182-.615v-.436a1.44 1.44 0 0 1 .182-.613l.178-.314 3.226-5.65.18-.313a1.8 1.8 0 0 1 1.213-.891M13.94 4.345c.472-.315 1.04-.44 1.559-.336.52.104.95.429 1.214.89l.18.314 3.225 5.65.179.314c.141.248.2.54.181.83.02.293-.04.585-.181.834l-.179.313-3.225 5.65-.18.314a1.8 1.8 0 0 1-1.214.89c-.52.105-1.087-.02-1.56-.335-.472-.315-.805-.791-.909-1.31-.104-.52.03-1.043.355-1.463l.22-.287 3.553-4.604-3.553-4.605-.22-.286a1.8 1.8 0 0 1-.355-1.463c.104-.52.437-.995.91-1.31" }, +]; + +export const Cross: PapPath[] = [ + { d: "M17.958 3.958c.53 0 1.059.23 1.456.628.397.397.628.926.628 1.456s-.23 1.02-.628 1.372l-.317.282L14.253 12l4.844 4.304.317.282c.397.353.628.841.628 1.372 0 .53-.23 1.059-.628 1.456-.397.397-.926.628-1.456.628s-1.02-.23-1.372-.628l-.282-.317L12 14.253l-4.304 4.844-.282.317a1.82 1.82 0 0 1-1.372.628c-.53 0-1.059-.23-1.456-.628-.398-.397-.628-.926-.628-1.456s.23-1.02.628-1.372l.317-.282L9.746 12 4.903 7.696l-.317-.282a1.82 1.82 0 0 1-.628-1.372c0-.53.23-1.059.628-1.456.397-.398.926-.628 1.456-.628s1.02.23 1.372.628l.282.317L12 9.746l4.304-4.843.282-.317a1.82 1.82 0 0 1 1.372-.628" }, +]; + +export const Dots: PapPath[] = [ + { d: "M10 12a2 2 0 1 1 4 0 2 2 0 0 1-4 0M10 6a2 2 0 1 1 4 0 2 2 0 0 1-4 0M10 18a2 2 0 1 1 4 0 2 2 0 0 1-4 0" }, +]; + +export const Folder: PapPath[] = [ + { d: "M18.295 12c1.462 0 2.194 0 2.618.373.19.166.334.378.42.614.193.531-.073 1.213-.603 2.575-.71 1.822-1.066 2.733-1.725 3.353a4 4 0 0 1-1.018.695c-.816.39-1.795.39-3.75.39H9.831c-1.945 0-2.917 0-3.727-.382a4 4 0 0 1-1.12-.787c-.634-.633-.964-1.548-1.624-3.378-.468-1.3-.702-1.952-.521-2.459a1.5 1.5 0 0 1 .458-.651C3.714 12 4.405 12 5.788 12zM8.7 4c.484 0 .726 0 .947.05a2 2 0 0 1 1.063.638c.148.171.262.385.49.812s.341.64.49.812a2 2 0 0 0 1.063.637c.22.05.463.051.947.051H17a3 3 0 0 1 3 3H4V8.571c0-1.464 0-2.197.25-2.77A3 3 0 0 1 5.8 4.25C6.374 4 7.106 4 8.57 4z" }, +]; + +export const Font: PapPath[] = [ + { d: "M8.303 5.71c1.362-3.297 6.032-3.297 7.394 0l2.29 5.542 2.817 5.885a2 2 0 1 1-3.608 1.726l-.878-1.834H7.682l-.878 1.834a2 2 0 1 1-3.608-1.726l2.816-5.885zm1.39 7.112-.022.051-.024.049-.051.107h4.808l-.052-.107-.023-.049-.021-.05L12 7.236z" }, +]; + +export const Gallery: PapPath[] = [ + { d: "M12 3c1.483 0 2.748.072 3.805.179 2.723.273 4.743 2.293 5.016 5.016C20.927 9.252 21 10.517 21 12s-.073 2.748-.179 3.805c-.274 2.723-2.293 4.743-5.016 5.016A38 38 0 0 1 12 21c-1.483 0-2.748-.073-3.805-.179-2.723-.274-4.743-2.293-5.016-5.016A38 38 0 0 1 3 12c0-1.483.072-2.748.179-3.805.273-2.723 2.293-4.743 5.016-5.016A38 38 0 0 1 12 3M9.842 13.212a2 2 0 0 0-2.683 0l-1.628 1.47a1.1 1.1 0 0 0-.362.923c.179 1.777 1.45 3.047 3.226 3.226.988.1 2.187.169 3.605.169s2.617-.07 3.605-.169c1.217-.122 2.195-.758 2.747-1.717.357-.617.082-1.366-.447-1.844l-.063-.058a2 2 0 0 0-2.683 0l-.212.191a2 2 0 0 1-2.681 0zM15 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4" }, +]; + +export const Gears: PapPath[] = [ + { d: "M12 3c.593 0 1.309.202 1.892.412.66.238.99.948.822 1.63l-.183.746c-.098.4.114.809.47 1.016.357.207.814.184 1.112-.102l.555-.531c.508-.486 1.287-.557 1.824-.104.473.4 1.006.92 1.302 1.433.297.514.48 1.235.59 1.845.124.69-.328 1.33-1.002 1.527l-.739.215c-.396.115-.643.5-.643.913 0 .412.246.797.642.913l.741.216c.674.197 1.125.835 1 1.526-.11.61-.292 1.331-.589 1.845-.296.514-.829 1.032-1.302 1.433-.537.453-1.316.383-1.824-.103l-.555-.532c-.298-.286-.754-.31-1.112-.103-.356.207-.569.616-.47 1.016l.183.747c.167.682-.161 1.393-.822 1.63-.583.21-1.3.412-1.892.412-.594 0-1.309-.201-1.892-.411-.66-.238-.99-.949-.822-1.631l.182-.748c.098-.4-.114-.809-.47-1.015-.358-.206-.814-.183-1.112.103l-.554.532c-.508.486-1.288.556-1.824.103-.473-.4-1.006-.92-1.302-1.433-.297-.514-.48-1.235-.59-1.845-.125-.69.327-1.33 1-1.526l.74-.216c.396-.115.644-.5.644-.913 0-.412-.248-.798-.644-.913l-.74-.215c-.673-.196-1.124-.836-1-1.527.11-.61.293-1.331.59-1.845.296-.514.829-1.032 1.302-1.433.537-.453 1.316-.382 1.824.104l.554.531c.298.285.754.309 1.112.102.356-.207.568-.615.47-1.016l-.182-.746c-.167-.682.161-1.392.822-1.63.583-.21 1.298-.412 1.891-.412m0 6a3 3 0 1 0 0 6 3 3 0 0 0 0-6", evenodd: true }, +]; + +export const Globe: PapPath[] = [ + { d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2M4.74 9a.24.24 0 0 0-.22.16A8 8 0 0 0 12 20c.509 0 1-.328 1-.837a1.837 1.837 0 0 0-1.837-1.836H8.826a1.044 1.044 0 0 1 0-2.087h.043c.6 0 1.087-.486 1.087-1.087v-.51c0-.881-.714-1.596-1.596-1.596h-.358a1.523 1.523 0 0 1-1.523-1.524C6.479 9.683 5.796 9 4.955 9zm7.778-1.774a1.703 1.703 0 0 0 1.185 2.925h1.873A2.425 2.425 0 0 1 18 12.576v.924c0 .294.084.567.23.798.457.723 1.428.168 1.602-.669q.166-.79.168-1.629a7.99 7.99 0 0 0-3.654-6.717c-.679-.44-1.556-.262-2.136.3z", evenodd: true }, +]; + +export const Grid: PapPath[] = [ + { d: "M7 13c.552 0 1.036.023 1.454.058 1.364.114 2.374 1.124 2.488 2.488.035.418.058.902.058 1.454s-.023 1.036-.058 1.454c-.114 1.363-1.124 2.374-2.488 2.488C8.036 20.977 7.552 21 7 21s-1.036-.023-1.454-.058c-1.364-.114-2.374-1.125-2.488-2.488A17 17 0 0 1 3 17c0-.552.023-1.036.058-1.454.114-1.364 1.124-2.374 2.488-2.488C5.964 13.023 6.448 13 7 13M17 13c.552 0 1.036.023 1.454.058 1.363.114 2.374 1.124 2.488 2.488.035.418.058.902.058 1.454s-.023 1.036-.058 1.454c-.114 1.363-1.125 2.374-2.488 2.488-.418.035-.902.058-1.454.058s-1.036-.023-1.454-.058c-1.364-.114-2.374-1.125-2.488-2.488A18 18 0 0 1 13 17c0-.552.023-1.036.058-1.454.114-1.364 1.124-2.374 2.488-2.488.418-.035.902-.058 1.454-.058M7 3c.552 0 1.036.023 1.454.058 1.364.114 2.374 1.124 2.488 2.488.035.418.058.902.058 1.454s-.023 1.036-.058 1.454c-.114 1.364-1.124 2.374-2.488 2.488C8.036 10.977 7.552 11 7 11s-1.036-.023-1.454-.058c-1.364-.114-2.374-1.124-2.488-2.488A17 17 0 0 1 3 7c0-.552.023-1.036.058-1.454.114-1.364 1.124-2.374 2.488-2.488C5.964 3.023 6.448 3 7 3M17 3c.552 0 1.036.023 1.454.058 1.363.114 2.374 1.124 2.488 2.488.035.418.058.902.058 1.454s-.023 1.036-.058 1.454c-.114 1.364-1.125 2.374-2.488 2.488-.418.035-.902.058-1.454.058s-1.036-.023-1.454-.058c-1.364-.114-2.374-1.124-2.488-2.488A18 18 0 0 1 13 7c0-.552.023-1.036.058-1.454.114-1.364 1.124-2.374 2.488-2.488C15.964 3.023 16.448 3 17 3" }, +]; + +export const Info: PapPath[] = [ + { d: "M12 3c1.483 0 2.748.073 3.805.179 2.723.274 4.743 2.293 5.017 5.015C20.928 9.251 21 10.517 21 12s-.072 2.748-.178 3.805c-.274 2.723-2.294 4.743-5.017 5.016a38 38 0 0 1-3.805.18c-1.483 0-2.749-.073-3.805-.18-2.723-.274-4.742-2.293-5.016-5.016A38 38 0 0 1 3 12c0-1.483.073-2.749.179-3.806.274-2.722 2.293-4.741 5.016-5.015A38 38 0 0 1 12 3m0 8a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-5a1 1 0 0 0-1-1m0-4a1 1 0 1 0 0 2 1 1 0 0 0 0-2", evenodd: true }, +]; + +export const Link: PapPath[] = [ + { d: "M9.415 10.429a1.5 1.5 0 0 1 2.12 2.12 10 10 0 0 0-.223.231c-.56.6-.606 1.602.24 2.546q.528.593 1.276 1.344.476.475.888.86c1.203 1.123 2.568 1.096 3.232.432.606-.606.867-1.051.975-1.33.1-.258.075-.384.067-.42a.3.3 0 0 0-.092-.155l-.007-.008.012.01.017.011.012.01q.003.001.006.004l.005.002a1.5 1.5 0 0 1 1.653-2.503l-.58.882c.553-.84.58-.88.582-.881l.002.002.005.003.01.006q.008.007.02.014l.05.037q.057.041.134.105a3.32 3.32 0 0 1 1.09 1.775c.327 1.389-.222 2.94-1.839 4.557-2.274 2.274-5.565 1.352-7.4-.36a39 39 0 0 1-2.354-2.396c-1.571-1.755-2.108-4.55-.194-6.597q.139-.149.293-.301" }, + { d: "M5.981 4.112c2.274-2.274 5.566-1.35 7.4.362a39 39 0 0 1 2.353 2.395c1.572 1.755 2.11 4.55.196 6.596q-.14.15-.293.303a1.5 1.5 0 0 1-2.122-2.122q.119-.117.224-.23c.561-.6.606-1.602-.24-2.546a35.758 35.758 0 0 0-2.165-2.203c-1.203-1.123-2.566-1.097-3.23-.433-.606.606-.867 1.051-.975 1.33-.1.257-.076.383-.068.42a.3.3 0 0 0 .092.156l.007.008q0-.001-.012-.01l-.016-.013-.013-.008-.006-.005-.005-.002a1.5 1.5 0 0 1-1.653 2.502l.58-.881c-.552.837-.58.88-.582.881l-.002-.002-.005-.002-.009-.007-.02-.014-.051-.036a3.263 3.263 0 0 1-.496-.462A3.3 3.3 0 0 1 4.14 8.67c-.325-1.389.223-2.94 1.84-4.558" }, +]; + +export const List: PapPath[] = [ + { d: "M12 3c1.483 0 2.748.073 3.805.179 2.723.273 4.742 2.293 5.016 5.015C20.927 9.251 21 10.517 21 12s-.073 2.748-.179 3.805c-.274 2.723-2.293 4.743-5.016 5.016A38 38 0 0 1 12 21c-1.483 0-2.749-.073-3.806-.179-2.722-.274-4.742-2.293-5.015-5.016A38 38 0 0 1 3 12c0-1.483.072-2.749.179-3.806.274-2.722 2.293-4.741 5.015-5.015A38 38 0 0 1 12 3m-.5 12c-1.31 0-2.281.025-2.937.052C7.86 15.08 7 15.298 7 16s.86.92 1.563.948c.656.027 1.626.052 2.937.052s2.281-.025 2.938-.052C15.139 16.92 16 16.702 16 16s-.86-.92-1.562-.948A74 74 0 0 0 11.5 15m-1-4c-.91 0-1.609.02-2.111.043-.657.03-1.389.3-1.389.957 0 .658.732.927 1.389.957C8.89 12.98 9.59 13 10.5 13s1.609-.02 2.111-.043c.657-.03 1.389-.3 1.389-.957 0-.658-.732-.927-1.389-.957A46 46 0 0 0 10.5 11M12 7a90 90 0 0 0-3.347.055C7.927 7.082 7 7.274 7 8s.927.918 1.653.945C9.383 8.973 10.487 9 12 9s2.617-.027 3.347-.055C16.073 8.918 17 8.726 17 8s-.927-.918-1.653-.945A90 90 0 0 0 12 7" }, +]; + +export const Lock: PapPath[] = [ + { d: "M12.324 3.866c3.316.171 5.504 2.964 5.636 6.349q.029.78.035 1.68c.656.043 1.117.14 1.505.364a3 3 0 0 1 1.098 1.098c.402.696.402 1.63.402 3.5s0 2.804-.402 3.5a3 3 0 0 1-1.098 1.098c-.696.402-1.63.402-3.5.402H8c-1.87 0-2.804 0-3.5-.402a3 3 0 0 1-1.098-1.098C3 19.661 3 18.727 3 16.857s0-2.804.402-3.5A3 3 0 0 1 4.5 12.26c.387-.223.849-.32 1.504-.365q.002-.336.007-.655l.029-1.024C6.176 6.72 8.503 3.857 12 3.857zM12 6.857c-1.497 0-2.872 1.172-2.962 3.474q-.026.707-.033 1.526h5.99a51 51 0 0 0-.033-1.526c-.09-2.302-1.465-3.474-2.962-3.474", evenodd: true }, +]; + +export const Logout: PapPath[] = [ + { d: "M7.5 3c1.272 0 2.281.143 3.045.321 1.234.288 2.004 1.367 2.15 2.626q.069.582.131 1.346c.065.811-.634 1.47-1.443 1.38L11 8.634c-.884-.098-1.732.167-2.357.794-.626.623-.976 1.557-.976 2.539s.35 1.916.976 2.539c.625.626 1.473.891 2.357.794l.382-.041c.81-.089 1.512.568 1.448 1.382a38 38 0 0 1-.136 1.413c-.146 1.259-.916 2.338-2.15 2.626C9.78 20.857 8.772 21 7.5 21s-2.282-.143-3.045-.321c-1.234-.288-2.004-1.367-2.15-2.626C2.152 16.74 2 14.743 2 12s.152-4.74.305-6.053c.146-1.259.916-2.338 2.15-2.626C5.218 3.143 6.228 3 7.5 3m8.396 4.384a1 1 0 0 1 1.414 0l3.773 3.773a1 1 0 0 1 0 1.414l-3.773 3.773a1 1 0 0 1-1.414-1.414L17.824 13l-6.442.281L11 13.3a1.25 1.25 0 0 1-.943-.361c-.25-.25-.39-.603-.39-.972 0-.37.14-.722.39-.972s.59-.377.943-.361l.382.016 6.655.29-2.141-2.141a1 1 0 0 1 0-1.414" }, +]; + +export const Menu: PapPath[] = [ + { d: "M12 17c2.472 0 3.263.043 4.429.085 1.114.04 2.571.3 2.571 1.415s-1.457 1.375-2.571 1.415C15.263 19.957 14.472 20 12 20s-3.263-.043-4.429-.085C6.457 19.875 5 19.615 5 18.5s1.457-1.375 2.571-1.415C8.737 17.043 9.528 17 12 17M12 11c2.472 0 2.263.043 3.429.085 1.114.04 2.571.3 2.571 1.415s-1.457 1.375-2.571 1.415c-1.166.042-.957.085-3.429.085s-2.263-.043-3.429-.085C7.457 13.875 6 13.615 6 12.5s1.457-1.375 2.571-1.415C9.737 11.043 9.528 11 12 11M12 5c2.472 0 4.263.043 5.429.085 1.114.04 2.571.3 2.571 1.415s-1.457 1.375-2.571 1.415A152 152 0 0 1 12 8c-2.472 0-4.263-.043-5.429-.085C5.457 7.875 4 7.615 4 6.5s1.457-1.375 2.571-1.415C7.737 5.043 9.528 5 12 5" }, +]; + +export const Moon: PapPath[] = [ + { d: "M11 3.857c.79 0 1 1.185.464 1.764a5.5 5.5 0 0 0 7.77 7.772c.58-.536 1.766-.325 1.766.464.003 4.97-4.03 8-9 8a9 9 0 0 1-9-9c0-4.97 3.03-9 8-9" }, +]; + +export const Paper: PapPath[] = [ + { d: "M12 7.828a4 4 0 0 0 4 4c.932 0 1.398 0 1.765.152a2 2 0 0 1 1.083 1.082c.152.368.152.834.152 1.766V15c0 2.828 0 4.243-.879 5.122S15.828 21 13 21h-2c-2.828 0-4.242 0-5.121-.878C5 19.242 5 17.828 5 14.999v-4c0-2.808 0-4.212.674-5.221a4 4 0 0 1 1.103-1.104c.39-.26.837-.42 1.402-.518 1.538-.267 2.307-.401 2.99.09.073.053.165.13.23.193C12 5.028 12 5.961 12 7.828" }, + { d: "M14 6.365c0-1.004 0-1.506.304-1.636s.666.219 1.39.915l2.792 2.688c.316.304.501.701.507 1.14.003.186-.147.356-.334.356H16l-.204-.011A2 2 0 0 1 14 7.827z" }, +]; + +export const PenAlt: PapPath[] = [ + { d: "M19.145 14.688a.4.4 0 0 1 .157.054c.229.125.343 1.145.573 3.184l.029.26c.122 1.088.184 1.633-.128 1.966q-.027.029-.057.055c-.337.308-.887.247-1.988.127l-.263-.029c-2.065-.226-3.097-.34-3.223-.566a.4.4 0 0 1-.055-.154c-.044-.254.746-1.036 2.327-2.598s2.371-2.343 2.628-2.299M12.326 8.006a1.19 1.19 0 0 1 1.676-.012c1.7 1.68 2.692 2.933 3.205 3.65.307.43.366.974.111 1.437-.332.602-.958 1.53-2.082 2.64s-2.062 1.729-2.672 2.057c-.468.252-1.018.194-1.454-.11-.725-.507-1.994-1.487-3.694-3.166a1.163 1.163 0 0 1 .012-1.656zM8.494 4.923c.681-.413 1.51-.325 2.151.147.552.406.585 1.207.098 1.688l-4.58 4.526c-.49.484-1.292.451-1.706-.099-.478-.634-.567-1.452-.149-2.126.365-.586.951-1.374 1.873-2.285s1.72-1.49 2.313-1.85" }, +]; + +export const Pie: PapPath[] = [ + { d: "M11 12a1 1 0 0 0 1 1h4.477c2.117 0 3.175 0 3.736 1.074s.1 1.738-.824 3.065A9 9 0 1 1 6.862 4.612c1.326-.924 1.99-1.386 3.064-.825S11 5.407 11 7.523z" }, + { d: "M13 7.247c0-1.777 0-2.665.823-3.264.112-.082.336-.203.466-.252.95-.362 1.507 0 2.62.726a9.05 9.05 0 0 1 2.634 2.634c.726 1.113 1.088 1.67.726 2.62-.049.13-.17.354-.252.466-.599.823-1.487.823-3.264.823-1.647 0-2.47 0-3.024-.455a2 2 0 0 1-.274-.274C13 9.717 13 8.894 13 7.247" }, +]; + +export const Placeholder: PapPath[] = [ + { d: "M4 17.357a1.5 1.5 0 0 1 1.5 1.5v.5H6a1.5 1.5 0 0 1 0 3H5a2.5 2.5 0 0 1-2.5-2.5v-1a1.5 1.5 0 0 1 1.5-1.5M13 19.357a1.5 1.5 0 0 1 0 3h-2a1.5 1.5 0 0 1 0-3zM20 17.357a1.5 1.5 0 0 1 1.5 1.5v1a2.5 2.5 0 0 1-2.5 2.5h-1a1.5 1.5 0 0 1 0-3h.5v-.5a1.5 1.5 0 0 1 1.5-1.5M4 10.357a1.5 1.5 0 0 1 1.5 1.5v2a1.5 1.5 0 0 1-3 0v-2a1.5 1.5 0 0 1 1.5-1.5M20 10.357a1.5 1.5 0 0 1 1.5 1.5v2a1.5 1.5 0 0 1-3 0v-2a1.5 1.5 0 0 1 1.5-1.5M6 3.357a1.5 1.5 0 1 1 0 3h-.5v.5a1.5 1.5 0 0 1-3 0v-1a2.5 2.5 0 0 1 2.5-2.5zM19 3.357a2.5 2.5 0 0 1 2.5 2.5v1a1.5 1.5 0 0 1-3 0v-.5H18a1.5 1.5 0 0 1 0-3zM13 3.357a1.5 1.5 0 0 1 0 3h-2a1.5 1.5 0 0 1 0-3z" }, +]; + +export const Search: PapPath[] = [ + { d: "M10 3a7 7 0 0 1 5.573 11.232l4.078 3.548c1.28 1.114.492 3.22-1.205 3.22a1.84 1.84 0 0 1-1.43-.685l-3.453-4.29A7 7 0 1 1 10 3m0 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8", evenodd: true }, +]; + +export const Sparkles: PapPath[] = [ + { d: "M12.647 16.859c-1.087 2.185-1.63 3.278-2.412 3.543a2 2 0 0 1-1.284 0c-.782-.265-1.325-1.358-2.412-3.543-1.156-.202-1.735-.302-1.876-.35-1.888-.626-1.801-3.326.123-3.831.144-.038.68-.097 1.753-.213 1.064-2.252 1.596-3.378 2.365-3.66a2 2 0 0 1 1.378 0c.77.282 1.301 1.408 2.365 3.66 1.176.114 1.765.172 1.91.208 1.958.49 2.038 3.246.11 3.849-.142.044-.768.142-2.02.337M14.294 9.114l-.25-.14c-.944-.531-1.416-.796-1.549-1.114a1 1 0 0 1 .081-.925c.186-.29.697-.47 1.718-.827.768-1.43 1.152-2.146 1.682-2.343a1.5 1.5 0 0 1 1.047 0c.53.197.915.912 1.683 2.343 1.021.358 1.532.537 1.718.827a1 1 0 0 1 .08.925c-.132.318-.604.583-1.547 1.113l-.251.141c-.79 1.39-1.184 2.085-1.726 2.269a1.5 1.5 0 0 1-.96 0c-.542-.183-.937-.879-1.726-2.269" }, +]; + +export const Star: PapPath[] = [ + { d: "m7.82 8.84-1.563 5.203L12 17.68l5.744-3.637L16.18 8.84z" }, + { d: "M12 17.68c2.723 2.55 4.084 3.826 5.08 3.639a2 2 0 0 0 1.091-.6c.693-.74.347-2.573-.345-6.239l-.082-.437z" }, + { d: "m16.18 8.84 1.564 5.203c2.305-1.066 3.459-1.599 3.76-2a2 2 0 0 0-.651-2.965c-.443-.238-1.713-.238-4.254-.238zM7.82 8.84h8.36l-.564-1.192C14.05 4.335 13.266 2.68 12 2.68s-2.05 1.656-3.616 4.97zM6.174 14.48c-.692 3.666-1.038 5.499-.345 6.24a2 2 0 0 0 1.09.599c.997.187 2.359-1.088 5.081-3.639l-5.743-3.637zM6.257 14.043 7.82 8.84h-.419c-2.54 0-3.81 0-4.254.238a2 2 0 0 0-.652 2.965c.302.401 1.455.934 3.762 2" }, +]; + +export const Tasks: PapPath[] = [ + { d: "M12 3c1.483 0 2.748.073 3.805.179 2.723.274 4.743 2.293 5.017 5.015C20.928 9.251 21 10.517 21 12s-.072 2.748-.178 3.805c-.274 2.723-2.294 4.743-5.017 5.016a38 38 0 0 1-3.805.18c-1.483 0-2.749-.073-3.805-.18-2.723-.274-4.742-2.293-5.016-5.016A38 38 0 0 1 3 12c0-1.483.073-2.749.179-3.806.274-2.722 2.293-4.741 5.016-5.015A38 38 0 0 1 12 3m5.63 4.223a1 1 0 0 0-1.407.148l-5.773 7.136-2.213-2.214-.077-.068a1 1 0 0 0-1.338 1.482l2.214 2.214a2 2 0 0 0 2.97-.156l5.772-7.136a1 1 0 0 0-.149-1.406", evenodd: true }, +]; + +export const Trash: PapPath[] = [ + { d: "M14.876 10.29c2.406-.085 3.608-.127 4.233.586.626.713.433 1.87.047 4.187l-.321 1.923c-.4 2.395-.598 3.592-1.437 4.303S15.344 22 12.917 22h-1.835c-2.427 0-3.641 0-4.48-.71-.84-.712-1.039-1.91-1.438-4.304l-.32-1.924c-.386-2.315-.58-3.473.046-4.186.625-.713 1.828-.67 4.234-.587.934.033 1.917.054 2.876.054s1.942-.021 2.876-.054M8.5 12a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0v-6a1 1 0 0 0-1-1m3.5 0a1 1 0 0 0-1 1v6a1 1 0 1 0 2 0v-6a1 1 0 0 0-1-1m3.5 0a1 1 0 0 0-1 1v6a1 1 0 1 0 2 0v-6a1 1 0 0 0-1-1M12 2c1.275 0 2.271.276 2.97.854.722.597.978 1.388 1.022 2.083.024.376-.013.74-.073 1.063h2.73C19.395 6 20 6.605 20 7.35c0 .663-.48 1.224-1.138 1.297C17.547 8.795 15.151 9 12 9c-3.15 0-5.546-.205-6.862-.353A1.29 1.29 0 0 1 4 7.351C4 6.605 4.605 6 5.35 6h2.731a4.3 4.3 0 0 1-.073-1.063c.044-.695.3-1.486 1.021-2.083C9.73 2.276 10.725 2 12 2m0 2c-1.018 0-1.488.224-1.696.396-.186.153-.28.362-.3.667-.02.302.043.638.133.937h3.726c.09-.3.152-.635.133-.937-.02-.305-.114-.514-.3-.667C13.488 4.224 13.018 4 12 4" }, +]; + +export const User: PapPath[] = [ + { d: "M17 8A5 5 0 1 1 7 8a5 5 0 0 1 10 0M4.345 18.582c.052-.358.077-.537.094-.628.41-2.155 2.06-3.414 4.247-3.24.091.008.35.04.868.105.85.107 1.705.181 2.446.181s1.595-.073 2.446-.18c.518-.066.777-.098.868-.106 2.187-.174 3.837 1.085 4.247 3.24.017.09.042.27.094.628.017.124.026.185.03.236a2 2 0 0 1-1.89 2.18c-.05.002-.113.002-.238.002H6.444c-.125 0-.188 0-.238-.003a2 2 0 0 1-1.89-2.18c.004-.05.013-.111.03-.235" }, +]; diff --git a/frontend/src/styles.css b/frontend/src/styles.css index fcdf6b2..e888c8d 100644 --- a/frontend/src/styles.css +++ b/frontend/src/styles.css @@ -1,29 +1,31 @@ /* Up And Down : interface de gestion de fichiers. - Jetons de couleur en tête, clair et sombre ; mise en page responsive (la barre - latérale devient un tiroir sous 860 px). */ + Jetons de couleur en tête, clair et sombre, alignés sur Excalicloud : en clair la + palette de l'interface d'Excalidraw 0.18, en sombre la palette commune aux deux outils. + Mise en page responsive (la barre latérale devient un tiroir sous 860 px). */ :root { - --bg: #f6f7fb; + --bg: #ffffff; --panel: #ffffff; - --panel-2: #f1f3f9; - --hover: #eef1f8; - --fg: #1a1d29; - --muted: #6b7185; - --border: #e3e6ef; - --accent: #2f6fed; - --accent-hover: #2159d1; - --accent-soft: #e4ecff; + --panel-2: #ececf4; /* --color-surface-low : boutons, champs */ + --hover: #f1f0ff; /* --color-surface-high */ + --fg: #1b1b1f; + --muted: #7a7a7a; + --border: #ebebeb; + --accent: #6965db; + --accent-hover: #5753d0; + --accent-soft: #e0dfff; --accent-fg: #ffffff; --danger: #c92a2a; --danger-soft: #ffe3e3; --ok: #2b8a3e; --warn: #e67700; - --folder: #f0b429; - --shadow: 0 1px 2px rgb(20 25 50 / 0.06), 0 4px 14px rgb(20 25 50 / 0.06); - --shadow-lg: 0 20px 50px rgb(20 25 50 / 0.22); - --radius: 10px; - --radius-sm: 7px; + --folder: var(--accent); /* dossiers dans la couleur d'accent, comme Excalicloud */ + --shadow: 0 0 0.93px 0 rgb(0 0 0 / 0.17), 0 0 3.13px 0 rgb(0 0 0 / 0.08), 0 7px 14px 0 rgb(0 0 0 / 0.05); + --shadow-lg: 0 100px 80px rgb(0 0 0 / 0.07), 0 41.8px 33.4px rgb(0 0 0 / 0.05), 0 22.3px 17.9px rgb(0 0 0 / 0.042), + 0 12.5px 10px rgb(0 0 0 / 0.035), 0 6.65px 5.3px rgb(0 0 0 / 0.028), 0 2.77px 2.2px rgb(0 0 0 / 0.02); + --radius: 0.5rem; + --radius-sm: 0.375rem; --btn: 2.25rem; - --topbar-h: 52px; + --topbar-h: 48px; --sidebar-w: 248px; --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; @@ -46,7 +48,7 @@ --danger-soft: #4a1d1d; --ok: #69db7c; --warn: #ffa94d; - --folder: #f5c14a; + --folder: var(--accent); --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 14px rgb(0 0 0 / 0.3); --shadow-lg: 0 20px 50px rgb(0 0 0 / 0.6); color-scheme: dark; @@ -112,14 +114,14 @@ button, display: inline-flex; align-items: center; justify-content: center; - gap: 0.45rem; + gap: 0.5rem; height: var(--btn); - padding: 0 0.8rem; + padding: 0 0.75rem; font: 500 13px/1 var(--font); color: var(--fg); - background: var(--panel); - border: 1px solid var(--border); - border-radius: var(--radius-sm); + background: var(--panel-2); + border: 1px solid transparent; + border-radius: var(--radius); cursor: pointer; text-decoration: none; white-space: nowrap; @@ -140,6 +142,10 @@ select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; } +button:active:not(:disabled), +.ex-btn:active { + border-color: var(--accent-hover); +} button:disabled { opacity: 0.45; cursor: default; @@ -180,7 +186,7 @@ button.big, padding: 0; background: transparent; border-color: transparent; - color: var(--muted); + color: var(--fg); text-decoration: none; } .icon-btn:hover:not(:disabled) { @@ -218,11 +224,15 @@ select { padding: 0 0.7rem; font: 14px var(--font); color: var(--fg); - background: var(--panel); + background: var(--panel-2); border: 1px solid var(--border); - border-radius: var(--radius-sm); + border-radius: var(--radius); min-width: 0; } +input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):hover, +select:hover { + border-color: var(--accent-hover); +} input:focus, select:focus { border-color: var(--accent);