Skip to content

Commit 2d68771

Browse files
Update Autofunction code block to match
1 parent 80a5c4f commit 2d68771

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

components/blocks/autofunction.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,16 @@
6363
}
6464

6565
.Header {
66-
@apply flex items-center px-3 py-1 bg-gray-20 text-gray-70 text-xs font-medium tracking-wide rounded-t-xl border-b border-gray-30;
66+
@apply flex items-center px-3 py-1 bg-gray-10 text-gray-70 text-sm font-mono font-medium tracking-wide rounded-t-xl border-b border-gray-30;
6767
min-height: 2.5rem;
6868
}
6969

7070
:global(.dark) .Header {
71-
@apply bg-gray-90 text-gray-50 border-gray-80;
71+
@apply bg-gray-90 text-gray-60 border-gray-80;
7272
}
7373

7474
.Language {
75-
@apply uppercase tracking-wider pr-4;
75+
@apply uppercase pr-4 font-mono;
7676
}
7777

7878
.CodeBlockContainer pre,

components/blocks/code.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
}
55

66
.Header {
7-
@apply flex items-center px-3 py-1 bg-gray-10 text-gray-70 text-sm font-mono text-sm font-medium tracking-wide rounded-t-md border-b border-gray-30;
7+
@apply flex items-center px-3 py-1 bg-gray-10 text-gray-70 text-sm font-mono font-medium tracking-wide rounded-t-xl border-b border-gray-30;
88
min-height: 2.5rem;
99
}
1010

@@ -30,7 +30,7 @@
3030
}
3131

3232
.Pre {
33-
@apply p-6 bg-gray-10 text-gray-80 font-medium rounded-md relative leading-relaxed;
33+
@apply p-6 bg-gray-10 text-gray-80 font-medium rounded-xl relative leading-relaxed;
3434
}
3535

3636
/* Dark mode background and text for Pre */

0 commit comments

Comments
 (0)