feat: begin support for components and dark mode
This commit is contained in:
parent
abb957c573
commit
b5658750a9
12 changed files with 195 additions and 89 deletions
9
app/components/Code.tsx
Normal file
9
app/components/Code.tsx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { type ReactNode } from 'react'
|
||||
|
||||
export default function Code({ children }: { readonly children: ReactNode }) {
|
||||
return (
|
||||
<code className='bg-gray-100 dark:bg-zinc-700 p-0.5 rounded-md'>
|
||||
{children}
|
||||
</code>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue