Skip to content

Commit

Permalink
fix colors
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskalmar committed Apr 27, 2023
1 parent eecaee6 commit 0baaaa9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/components/navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const MenuItem = ({ href, label }: { href: string; label: string }) => {

export const Navigation = () => {
return (
<nav className="bg-white shadow dark:bg-gray-800">
<div className="container mx-auto flex items-center justify-center p-6 capitalize text-gray-600 dark:text-gray-300">
<nav className=" bg-gray-800 shadow">
<div className="container mx-auto flex items-center justify-center p-6 capitalize text-gray-300">
<MenuItem href="/" label="home" />
<MenuItem href="/pricing" label="pricing" />
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/components/pricing-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export const PricingList = () => {
const [selectedPlan, setSelectedPlan] = useState("pro");

return (
<div className="bg-white dark:bg-gray-900">
<div className=" bg-gray-900">
<div className="container mx-auto px-6 py-8">
<p className="text-center text-xl text-gray-500 dark:text-gray-300">
<p className="text-center text-xl text-gray-300">
Lorem ipsum dolor sit amet consectetur adipisicing elit.
</p>
<h2 className="mt-4 text-center text-3xl font-semibold capitalize text-gray-800 dark:text-white lg:text-4xl">
<h2 className="mt-4 text-center text-3xl font-semibold capitalize text-white lg:text-4xl">
Pricing Plans
</h2>

Expand Down
6 changes: 2 additions & 4 deletions src/components/toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ export const Toggle = ({
className="peer sr-only"
onClick={onClick}
/>
<div className="peer h-6 w-11 rounded-full bg-gray-200 after:absolute after:left-[2px] after:top-[2px] after:h-5 after:w-5 after:rounded-full after:border after:border-gray-300 after:bg-white after:transition-all after:content-[''] peer-checked:bg-blue-600 peer-checked:after:translate-x-full peer-checked:after:border-white peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:border-gray-600 dark:bg-gray-700 dark:peer-focus:ring-blue-800"></div>
<span className="ml-3 text-sm font-medium text-gray-900 dark:text-gray-300">
{label}
</span>
<div className="peer h-6 w-11 rounded-full border-gray-600 bg-gray-700 after:absolute after:left-[2px] after:top-[2px] after:h-5 after:w-5 after:rounded-full after:border after:border-gray-300 after:bg-white after:transition-all after:content-[''] peer-checked:bg-blue-600 peer-checked:after:translate-x-full peer-checked:after:border-white peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-800"></div>
<span className="ml-3 text-sm font-medium text-gray-300">{label}</span>
</label>
);
};

0 comments on commit 0baaaa9

Please sign in to comment.