codeimage
codeimage copied to clipboard
🚀 - Sandpack dark theme
Which @codeimage/* package(s) are relevant/releated to the feature request?
highlight
Description
Which @codeimage/* package(s) are relevant/releated to the feature request?
highlight
Description
This task consist of creating a new theme for CodeImage editor using CodeMirror API.
https://github.com/codesandbox/sandpack/blob/main/sandpack-themes/src/sandpackDark.ts
Instructions for contributions
- Follow the CONTRIBUTING.md instructions to prepare your environment.
NOTE If your intention is to only develop a new theme, you don't need to use docker or install everything. You will work only on @codeimage/highlight package
- Move to packages/highlight. You will see a How to create a new theme section in the README.md file .
- Run the
pnpm generate:theme
script and put thesandpackDark
theme name - Open the theme playground with
pnpm dev
(from the highlight package) orpnpm dev --filter=@codeimage/highlight
(from the root folder)
For further help you can ask for help in the comments below