Update theme to use brand color instead of hardcoded red

This commit is contained in:
2025-01-12 15:29:41 -06:00
parent ea965b6834
commit 937fd33cee
3 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -7,13 +7,13 @@ function Home() {
return ( return (
<> <>
<div> <div>
<h1 className={"text-red-600"}>Home</h1> <h1 className={"text-brand"}>Home</h1>
</div> </div>
<p> <p>
ARFF ARFF BARK BARK ARFF ARFF BARK BARK
</p> </p>
<Link to="/inventory"> <Link to="/inventory">
<button className="bg-red-600 rounded text-white font-bold px-4 py-2">Inventory</button> <button className="bg-brand rounded text-white font-bold px-4 py-2">Inventory</button>
</Link> </Link>
</> </>
+2 -2
View File
@@ -7,13 +7,13 @@ function Inventory() {
return ( return (
<> <>
<div> <div>
<h1 className={"text-red-600"}>Inventory</h1> <h1 className={"text-brand"}>Inventory</h1>
</div> </div>
<p> <p>
ARFF ARFF BARK BARK ARFF ARFF BARK BARK
</p> </p>
<Link to="/"> <Link to="/">
<button className="bg-red-600 rounded text-white font-bold px-4 py-2">Home</button> <button className="bg-brand rounded text-white font-bold px-4 py-2">Home</button>
</Link> </Link>
</> </>
+5 -1
View File
@@ -2,7 +2,11 @@
export default { export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"], content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: { theme: {
extend: {}, extend: {
colors: {
brand: "#D40404",
},
},
}, },
plugins: [], plugins: [],
} }