Interface : explorateur redimensionnable, bouton clair/sombre, titre et logo

- poignée entre l'explorateur et le canevas (souris, tactile, clavier), largeur mémorisée
- bouton clair/sombre à droite de la barre, synchronisé avec le menu d'Excalidraw
- dialogue Personnaliser : titre et logo PNG affiché en rond
- README

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013WSSWgbf7gUzTzEqhjqtzN
This commit was merged in pull request #3.
This commit is contained in:
claude BotandClaude Opus 5.5 committed 2026-10-07 15:01:54 +02:00
1 parent baa412d02e
commit 9ecaab550a
7 files changed
+489 -17

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
// Icônes de la barre de titre (traits, couleur héritée).
const svg = {
width: 18,
height: 18,
viewBox: "0 0 24 24",
fill: "none",
stroke: "currentColor",
strokeWidth: 2,
strokeLinecap: "round" as const,
strokeLinejoin: "round" as const,
"aria-hidden": true,
};
export const SunIcon = () => (
<svg {...svg}>
<circle cx="12" cy="12" r="4" />
<path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41" />
</svg>
);
export const MoonIcon = () => (
<svg {...svg}>
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" />
</svg>
);
export const SettingsIcon = () => (
<svg {...svg}>
<path d="M12 20h9" />
<path d="M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z" />
</svg>
);