nextjs-starter icon indicating copy to clipboard operation
nextjs-starter copied to clipboard

How to use code block with dark background

Open FeynmanZhou opened this issue 1 year ago • 1 comments

Hi team,

I am using OnceUI to build my personal portfolio website. I didn't see any components of code block on the docs https://once-ui.com/docs/accordion.

How can I use code block with dark background?

Thanks

FeynmanZhou avatar Oct 12 '24 16:10 FeynmanZhou

@FeynmanZhou the CodeBlock component will be included in our next release (coming in a few weeks). until then, join our discord and i'll share the release candidate with you (theme adapts to your settings like any other component in the system).

lorant-one avatar Oct 13 '24 19:10 lorant-one

Great! I look forward to the new version. Just joined the Discord. @lorant-one

FeynmanZhou avatar Oct 19 '24 13:10 FeynmanZhou

@FeynmanZhou the CodeBlock is now available in the 0.4 version! you can view the demo in the docs

lorant-one avatar Oct 26 '24 18:10 lorant-one