diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 3e300bd..b359a7b 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -2,36 +2,31 @@ import {NavLink} from 'react-router-dom'; import {FaArchive, FaHome, FaList, FaMicrophone, FaUser} from "react-icons/fa"; export default function Navbar() { - const linkClasses = ({isActive}: { isActive: boolean }) => - isActive ? 'text-fuchsia-50 font-semibold' : 'text-fuchsia-50'; return (
- {/* The fixed bottom navbar */} - {/* The record button lifted up */} - +
); diff --git a/src/index.css b/src/index.css index 444f889..6a6bc85 100644 --- a/src/index.css +++ b/src/index.css @@ -1,13 +1,14 @@ @import "tailwindcss"; :root { + --background-color: var(--color-pink-900); font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; line-height: 1.5; font-weight: 400; color-scheme: light dark; color: rgba(255, 255, 255, 0.87); - background-color: #242424; + background-color: var(--background-color); font-synthesis: none; text-rendering: optimizeLegibility; @@ -15,6 +16,10 @@ -moz-osx-font-smoothing: grayscale; } +.border-background { + border-color: var(--background-color); +} + a { font-weight: 500; color: #646cff; @@ -59,7 +64,7 @@ button:focus-visible { @media (prefers-color-scheme: light) { :root { color: #213547; - background-color: #ffffff; + --background-color: #ffffff; } a:hover { color: #747bff;