Skip to content

Commit 0724ac6

Browse files
committed
ダークモードをちょっと明るくした
1 parent 86f8fbe commit 0724ac6

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

app/globals.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ mycdark:
5656
default: false;
5757
prefersdark: true;
5858
color-scheme: "dark";
59-
--color-base-100: oklch(20% 0.016 61.15);
60-
--color-base-200: oklch(16.5% 0.016 61.15);
61-
--color-base-300: oklch(10% 0.016 61.15);
59+
--color-base-100: oklch(23.0% 0.020 61.15);
60+
--color-base-200: oklch(19.0% 0.020 61.15);
61+
--color-base-300: oklch(10.0% 0.020 61.15);
6262
--color-base-content: oklch(85% 0.01 61.15);
6363
--color-primary: oklch(70% 0.139 61.15);
6464
--color-primary-content: oklch(26% 0.07 61.15);
6565
--color-secondary: oklch(65% 0.262 315);
6666
--color-secondary-content: oklch(18% 0.191 315);
6767
--color-accent: oklch(61% 0.181 190);
6868
--color-accent-content: oklch(18% 0.152 190);
69-
--color-neutral: oklch(30% 0.07 61.15);
69+
--color-neutral: oklch(33.0% 0.070 61.15);
7070
--color-neutral-content: oklch(85% 0.01 61.15);
7171
--color-info: oklch(54.615% 0.215 262.88);
7272
--color-info-content: oklch(90.923% 0.043 262.88);

app/page.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,8 @@ export default function Home() {
4343
key={group.id}
4444
href={`${group.id}-${group.pages[0].id}`}
4545
className={clsx(
46-
"card card-border card-md shadow-lg hover:shadow-xl transition-all hover:-translate-y-1",
47-
// lightテーマではbase-100の背景にbase-100のカードでも違和感ないんだけど、
48-
// darkテーマではそれだと見えないので、色を変えている
49-
"dark:bg-neutral dark:text-neutral-content"
46+
"card card-border card-md bg-base-200 shadow-lg",
47+
"hover:shadow-xl transition-all hover:-translate-y-1",
5048
)}
5149
>
5250
<div className="card-body">

0 commit comments

Comments
 (0)