nextjs-starter
nextjs-starter copied to clipboard
How to use code block with dark background
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 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).
Great! I look forward to the new version. Just joined the Discord. @lorant-one
@FeynmanZhou the CodeBlock is now available in the 0.4 version! you can view the demo in the docs