Skip to content

Commit 5f80cb5

Browse files
committed
Updated callout colors
1 parent b994786 commit 5f80cb5

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/components/mdx/Callout.tsx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,27 @@ import {
55
LightBulbIcon,
66
ExclamationTriangleIcon
77
} from '@heroicons/react/24/outline';
8+
import { NotebookPen } from 'lucide-react';
89

910
const styles = {
1011
note: {
1112
container:
12-
'border-sky-500/20 bg-sky-50/50 dark:border-sky-500/30 dark:bg-sky-500/10',
13+
'border-sky-500/20 bg-sky-50/50 dark:border-[#002533] dark:bg-[#001118]',
1314
icon: 'text-sky-500',
1415

15-
body: 'text-sky-800 [--tw-prose-background:theme(colors.sky.50)] prose-a:text-sky-900 prose-code:text-sky-900 dark:text-slate-300 dark:prose-code:text-slate-300'
16+
body: 'text-sky-800 [--tw-prose-background:theme(colors.sky.50)] prose-a:text-sky-900 prose-code:text-sky-900 dark:text-[#85cfe9] dark:prose-code:text-[#85cfe9]'
1617
},
1718
info: {
1819
container:
19-
'dark:bg-slate-900 border-slate-300 dark:border-slate-200/20',
20-
icon: 'text-inherit',
21-
body: 'text-sky-800 [--tw-prose-background:theme(colors.sky.50)] prose-a:text-sky-900 prose-code:text-sky-900 dark:text-slate-300 dark:prose-code:text-slate-300'
20+
'border-sky-500/20 bg-sky-50/50 dark:border-[#002533] dark:bg-[#001118]',
21+
icon: 'text-sky-500',
22+
body: 'text-sky-800 [--tw-prose-background:theme(colors.sky.50)] prose-a:text-sky-900 prose-code:text-sky-900 dark:text-[#85cfe9] dark:prose-code:text-[#85cfe9]'
2223
},
2324
tip: {
2425
container:
25-
'border-sky-500/20 bg-sky-50/50 dark:border-sky-500/30 dark:bg-sky-500/10',
26+
'border-sky-500/20 bg-sky-50/50 dark:border-[#002533] dark:bg-[#001118]',
2627
icon: 'text-sky-500',
27-
body: 'text-sky-800 [--tw-prose-background:theme(colors.sky.50)] prose-a:text-sky-900 prose-code:text-sky-900 dark:text-slate-300 dark:prose-code:text-slate-300'
28+
body: 'text-sky-800 [--tw-prose-background:theme(colors.sky.50)] prose-a:text-sky-900 prose-code:text-sky-900 dark:text-[#85cfe9] dark:prose-code:text-[#85cfe9]'
2829
},
2930
warning: {
3031
container:
@@ -36,7 +37,7 @@ const styles = {
3637

3738
const icons = {
3839
note: (props: {className?: string}) => (
39-
<InformationCircleIcon className={props.className} />
40+
<NotebookPen className={props.className} />
4041
),
4142
info: (props: {className?: string}) => (
4243
<InformationCircleIcon className={props.className} />

0 commit comments

Comments
 (0)