Skip to content

Commit f1ac85c

Browse files
committed
fix: tailwind color
1 parent 10634b7 commit f1ac85c

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

src/app/globals.css

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
@import "tailwindcss";
22

3+
@theme {
4+
--color-black: #202020;
5+
--color-blue: #0c5ae9;
6+
--color-gray: #84929e;
7+
--color-sky: #00b0f0;
8+
--color-white: #ffffff;
9+
}
10+
311
@layer base {
412
body {
513
@apply font-sans;

src/app/layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export default function RootLayout({
100100
<body className={`${notoSansJp.variable} ${inter.variable}`}>
101101
{children}
102102

103-
<footer className="bg-blue-500">
103+
<footer className="bg-blue">
104104
<div className="container">
105105
<nav className="flex flex-col items-center gap-y-[32px] md:gap-y-[64px]">
106106
<DigicreLogo className="logo" />

src/app/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const menu = [
5050

5151
export default function Home() {
5252
return (
53-
<main className="bg-sky-500">
53+
<main className="bg-sky">
5454
<div className="container">
5555
<section className="flex flex-col items-center gap-y-[32px] md:gap-y-[64px]">
5656
<DigicreLogo className="logo" />

0 commit comments

Comments
 (0)