diff --git a/frontend/index.html b/frontend/index.html index 2e41ef8..17653d7 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -7,7 +7,7 @@ Loki - Agent local diff --git a/frontend/src/components/ActivityBar.tsx b/frontend/src/components/ActivityBar.tsx index 870cf2a..f4626a0 100644 --- a/frontend/src/components/ActivityBar.tsx +++ b/frontend/src/components/ActivityBar.tsx @@ -16,10 +16,10 @@ const items: { id: View; label: string; icon: React.ReactNode }[] = [ ]; const btn = (on: boolean) => - `flex h-10 w-10 items-center justify-center border-[3px] ${ + `flex h-10 w-10 items-center justify-center border ${ on ? "border-white bg-accent text-white shadow-accent-soft" - : "border-chrome-3 text-on-dark-2 hover:text-white" + : "border-chrome-3 text-on-dark-2 hover:text-ink" }`; /** Barre d'activité verticale (60px) sombre à gauche. */ @@ -31,7 +31,7 @@ export function ActivityBar({ onChange: (v: View) => void; }) { return ( -
+
{items.map((it) => ( -
+
M
diff --git a/frontend/src/components/Icon.tsx b/frontend/src/components/Icon.tsx index 1477cb2..4495912 100644 --- a/frontend/src/components/Icon.tsx +++ b/frontend/src/components/Icon.tsx @@ -104,20 +104,23 @@ export const CheckIcon = ({ size = 14, className }: Props) => ( ); -/** Logo Loki : carré orange à bordure blanche + carré interne (néo-brutaliste). */ +/** Logo Loki : carré teinté à filet accent + petit carré accent (maquette). */ export const LokiMark = ({ size = 30 }: { size?: number }) => (
); diff --git a/frontend/src/components/MessageContent.tsx b/frontend/src/components/MessageContent.tsx index b3180a4..4c8e57d 100644 --- a/frontend/src/components/MessageContent.tsx +++ b/frontend/src/components/MessageContent.tsx @@ -45,15 +45,15 @@ function CodeBlock({ lang, code }: { lang: string; code: string }) { }; return ( -
-
+
+
{lang || "code"} ))} -
+
{creating ? ( ) : ( @@ -53,7 +53,7 @@ export function FilesView() { return ( -
+
{fileTree.length ? : }
@@ -74,9 +74,9 @@ function WorkspaceTree({ nodes, depth }: { nodes: FileNode[]; depth: number }) { {nodes.map((node) => (
downloadFile(node.path, currentProject())} - className="flex items-center gap-1 border-2 border-line bg-base px-2 py-1 text-[11px] text-accent" + className="flex items-center gap-1 border border-line bg-base px-2 py-1 text-[11px] text-accent" title={`Télécharger ${node.name}`} > Télécharger @@ -102,7 +102,7 @@ function WorkspaceTree({ nodes, depth }: { nodes: FileNode[]; depth: number }) { )} @@ -162,7 +162,7 @@ function Page({ title, subtitle, children }: { title: string; subtitle: string; } function Empty({ text }: { text: string }) { - return
{text}
; + return
{text}
; } function formatSize(bytes: number): string { diff --git a/frontend/src/panels/ChatPanel.tsx b/frontend/src/panels/ChatPanel.tsx index 56eb73b..2ed87af 100644 --- a/frontend/src/panels/ChatPanel.tsx +++ b/frontend/src/panels/ChatPanel.tsx @@ -63,10 +63,10 @@ export function ChatPanel() { return (
{/* Barre de contexte */} -
+
⚑ Invite système - + {activeTools} outil{activeTools > 1 ? "s" : ""} @@ -130,9 +130,9 @@ export function ChatPanel() {
{/* Composer */} -
+
-
+