cover-cache #6

Merged
eric merged 5 commits from cover-cache into main 2025-09-09 21:13:31 +02:00
3 changed files with 5 additions and 3 deletions
Showing only changes of commit 78c3dfa686 - Show all commits

View File

@@ -1,9 +1,9 @@
/* App.css ou index.css */
@import "tailwindcss";
@tailwind base;
/* @tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind utilities; */
/* Styles custom */
.log-container {

View File

@@ -39,7 +39,7 @@ export default function App() {
return (
<div className={theme}>
<header className="flex items-center justify-between p-4 bg-neutral-800">
<h1 className="text-xl font-bold">Mon Logger</h1>
<h1 className="text-xl font-bold">PMO-Music logs</h1>
<button
className="px-4 py-2 bg-blue-600 rounded hover:bg-blue-500"
onClick={toggleTheme}

View File

@@ -13,6 +13,8 @@ type LogsProps = {
theme: "light" | "dark";
};
export function Logs({ logs, theme }: LogsProps) {
const levelClass = (level: LogEntry["level"]) => {
switch (level) {