Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Jul 4, 2024
1 parent a9177bc commit b7c9b05
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/mdx-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,28 @@ export function useMDXComponents(components: MDXComponents): MDXComponents {
} else if (t === 'TIP') {
title = <span className='text-emerald-500'>Tip</span>;
icon = (
<div className='border-l-emerald-500 border-l-2 text-emerald-500 pl-1 text-lg'>
<div className='border-l-emerald-500 border-l-2 text-emerald-500 pl-2 text-lg'>
<TbBulb />
</div>
);
} else if (t === 'IMPORTANT') {
title = <span className='text-purple-500'>Important</span>;
icon = (
<div className='border-l-purple-500 border-l-2 text-purple-500 pl-1 text-lg'>
<div className='border-l-purple-500 border-l-2 text-purple-500 pl-2 text-lg'>
<TbAlertOctagon />
</div>
);
} else if (t === 'WARNING') {
title = <span className='text-yellow-500'>Warning</span>;
icon = (
<div className='border-l-yellow-500 border-l-2 text-yellow-500 pl-1 text-lg'>
<div className='border-l-yellow-500 border-l-2 text-yellow-500 pl-2 text-lg'>
<TbAlertTriangle />
</div>
);
} else if (t === 'CAUTION') {
title = <span className='text-rose-500'>Caution</span>;
icon = (
<div className='border-l-rose-500 border-l-2 text-rose-500 pl-1 text-lg'>
<div className='border-l-rose-500 border-l-2 text-rose-500 pl-2 text-lg'>
<TbHandStop />
</div>
);
Expand Down

0 comments on commit b7c9b05

Please sign in to comment.