-
archive.local
+
+
);
}
diff --git a/web/src/app/globals.css b/web/src/app/globals.css
index f1d8c73..425ad71 100644
--- a/web/src/app/globals.css
+++ b/web/src/app/globals.css
@@ -1 +1,6 @@
@import "tailwindcss";
+
+@theme {
+ --color-accent: #ffe74c;
+ --color-secondary: #333745;
+}
diff --git a/web/src/components/Header.tsx b/web/src/components/Header.tsx
new file mode 100644
index 0000000..02e8ec7
--- /dev/null
+++ b/web/src/components/Header.tsx
@@ -0,0 +1,7 @@
+export const Header = () => {
+ return (
+
+ );
+};
diff --git a/web/src/components/ui/Button.tsx b/web/src/components/ui/Button.tsx
index e17fbdc..8baa666 100644
--- a/web/src/components/ui/Button.tsx
+++ b/web/src/components/ui/Button.tsx
@@ -2,22 +2,35 @@ import { clsx } from "clsx";
import { forwardRef, JSX } from "react";
const sizeClasses = {
+ small: "py-1 px-2",
medium: "py-2 px-4",
};
-export type ButtonProps = JSX.IntrinsicElements["button"] & {
+const colorClasses = {
+ primary:
+ "border-neutral-800 not-disabled:hover:bg-neutral-800 not-disabled:hover:text-white/90",
+ danger:
+ "border-red-500 text-red-600 not-disabled:hover:bg-red-600 not-disabled:hover:text-white/90",
+};
+
+export type ButtonProps = Omit
& {
size?: keyof typeof sizeClasses;
+ color?: keyof typeof colorClasses;
};
export const Button = forwardRef(
- ({ size = "medium", className, children, ...props }, ref) => {
+ (
+ { size = "medium", color = "primary", className, children, ...props },
+ ref,
+ ) => {
return (