From 57f55692a1285c6a29f6a6d78ed4f44f7e39c756 Mon Sep 17 00:00:00 2001 From: U Date: Fri, 9 Feb 2024 12:34:44 +0100 Subject: [PATCH] fix: remove light mode, default to dark mode --- src/app/globals.css | 16 ++++------------ src/components/features/cards.tsx | 4 ++-- src/components/features/index.tsx | 2 +- src/components/motion-card/index.tsx | 14 +++++++------- src/components/team/index.tsx | 2 +- src/components/trailer/index.tsx | 2 +- src/components/typed/index.tsx | 4 ++-- 7 files changed, 18 insertions(+), 26 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index a4c7c7e..f572322 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -7,18 +7,10 @@ @tailwind utilities; */ :root { - --foreground-rgb: 0, 0, 0; - --background-start-rgb: 255, 255, 255; - --background-end-rgb: 255, 255, 255; -} - -@media (prefers-color-scheme: dark) { - :root { - --foreground-rgb: 255, 255, 255; - --background-start-rgb: 0, 0, 0; - --background-end-rgb: 0, 0, 0; - scrollbar-color: rgba(200, 200, 200, 0.5) rgba(255, 255, 255, 0.1); - } + --foreground-rgb: 255, 255, 255; + --background-start-rgb: 0, 0, 0; + --background-end-rgb: 0, 0, 0; + scrollbar-color: rgba(200, 200, 200, 0.5) rgba(255, 255, 255, 0.1); } body { diff --git a/src/components/features/cards.tsx b/src/components/features/cards.tsx index 5f568c0..db9000e 100644 --- a/src/components/features/cards.tsx +++ b/src/components/features/cards.tsx @@ -25,7 +25,7 @@ export const HoverEffect = ({ {hoveredIndex === idx && ( diff --git a/src/components/features/index.tsx b/src/components/features/index.tsx index 1569373..9e691be 100644 --- a/src/components/features/index.tsx +++ b/src/components/features/index.tsx @@ -3,7 +3,7 @@ import { HoverEffect } from "./cards"; export default function Features() { return (
-

Play with Us

+

Play with Us

); diff --git a/src/components/motion-card/index.tsx b/src/components/motion-card/index.tsx index cc0c2a5..b4596fa 100644 --- a/src/components/motion-card/index.tsx +++ b/src/components/motion-card/index.tsx @@ -8,21 +8,21 @@ import Link from "next/link"; export function MotionCard() { return (
-

+

Earn Rewards

- + Collect your assets The first Game is a race to collect unique cards hidden in the Metacube. Those will yield special powers and abilities to the @@ -41,7 +41,7 @@ export function MotionCard() { To collect and interact with your assets, you will need a Starknet wallet. We recommend Argent X or Braavos. @@ -50,7 +50,7 @@ export function MotionCard() {
-

Our Team

+

Our Team

diff --git a/src/components/trailer/index.tsx b/src/components/trailer/index.tsx index 83da3bd..98ba588 100644 --- a/src/components/trailer/index.tsx +++ b/src/components/trailer/index.tsx @@ -11,7 +11,7 @@ export function Trailer() { return (
-

+

Watch the Trailer

diff --git a/src/components/typed/index.tsx b/src/components/typed/index.tsx index 84b09d6..a8a7e6d 100644 --- a/src/components/typed/index.tsx +++ b/src/components/typed/index.tsx @@ -8,7 +8,7 @@ export function TypewriterEffectSmoothDemo() { const words = [ { text: "Metacube", - className: "text-white-500 dark:text-white-500", + className: "text-white-500", }, ]; return ( @@ -16,7 +16,7 @@ export function TypewriterEffectSmoothDemo() {

Metacube

-

+

Join the Community