Skip to content

Commit 9ac820f

Browse files
committed
chore: themes updated, colors changed based on devops hobbies logo
1 parent fd6aad8 commit 9ac820f

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

src/app/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ a {
7070
}
7171

7272
.dark {
73-
--background: 224 71.4% 4.1%;
73+
--background: rgb(51,53,58);
7474
--foreground: 210 20% 98%;
7575
--card: 224 71.4% 4.1%;
7676
--card-foreground: 210 20% 98%;

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default function RootLayout({
2424
return (
2525
<html lang="en" suppressHydrationWarning>
2626
<body className={inter.className}>
27-
<ThemeProvider attribute="class" defaultTheme="dark">
27+
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
2828
<Layout>{children}</Layout>
2929
</ThemeProvider>
3030
</body>

src/app/page.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default function Home() {
134134
},
135135
]
136136
return (
137-
<>
137+
<div id="content">
138138
<BentoGrid className="lg:grid-rows-3">
139139
{features.map((feature) => (
140140
<BentoCard key={feature.name} {...feature} />
@@ -147,7 +147,6 @@ export default function Home() {
147147
showNavigationDots={true}
148148
showNavigationArrows={true}
149149
/>
150-
151-
</>
150+
</div>
152151
)
153152
}

src/components/layout/hero.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { cn } from '@/lib'
55

66
import { FloatingDock } from '../ui/floating-dock'
77
import { Spotlight } from '../ui/Spotlight'
8+
import { ModeToggle } from '../mode-toggle'
89

910
export type IconProps = React.HTMLAttributes<SVGElement>
1011

@@ -56,7 +57,7 @@ function Hero() {
5657
{
5758
title: 'GitHub',
5859
icon: (
59-
<IconBrandGithub className="h-full w-full text-neutral-500 dark:text-neutral-300" />
60+
<ModeToggle />
6061
),
6162
href: '#',
6263
},
@@ -81,7 +82,7 @@ function Hero() {
8182
<FloatingDock items={links} />
8283
</div>
8384

84-
<h1 className="bg-opacity-50 bg-gradient-to-b from-neutral-50 to-neutral-400 bg-clip-text text-center text-4xl font-bold text-transparent md:text-7xl">
85+
<h1 className="bg-opacity-50 bg-gradient-to-b from-neutral-50 to-devops-orange bg-clip-text text-center text-4xl font-bold text-transparent md:text-7xl">
8586
DevOps <br /> Hobbies
8687
</h1>
8788
<p className="mx-auto mt-4 max-w-lg text-center text-base font-normal text-neutral-300">

src/components/magicui/bento-grid.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ function BentoCard({
4848
key={name}
4949
className={cn(
5050
'group relative col-span-3 flex flex-col justify-between overflow-hidden rounded-xl',
51-
// light styles
5251
'bg-background [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)]',
53-
// dark styles
5452
'transform-gpu dark:bg-background dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]',
5553
className,
5654
)}
5755
{...props}
5856
>
59-
<div>{background}</div>
57+
<div>
58+
{background}
59+
</div>
6060
<div className="pointer-events-none z-10 flex transform-gpu flex-col gap-1 p-6 transition-all duration-300 group-hover:-translate-y-10">
61-
<h3 className="text-xl font-semibold text-neutral-700 dark:text-neutral-300">
61+
<h3 className="text-xl font-semibold text-devops-orange dark:text-devops-orange">
6262
{name}
6363
</h3>
6464
<p className="max-w-lg text-neutral-400">{description}</p>

src/components/ui/repository-slider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export default function RepositorySlider({
201201
/>
202202
<span className="text-white/80 text-xs">{repo.language}</span>
203203
</div>
204-
<span className="text-white/60 text-xs">{repo.updated}</span>
204+
<span className="text-devops-orange/60 text-xs">{repo.updated}</span>
205205
</div>
206206
</div>
207207
</div>

tailwind.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ module.exports = {
5050
5: 'hsl(var(--chart-5))',
5151
},
5252
devops: {
53-
orange: '#FF7A00',
54-
darkBlack: '#1E1E1E',
53+
orange: '#ec660e',
54+
black: '#1E1E1E',
5555
},
5656
},
5757
},

0 commit comments

Comments
 (0)