Update CONTRIBUTING.md

main
Michael Fix 5 years ago committed by GitHub
parent bc649fa0aa
commit 65e4ee19d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,8 +21,4 @@ Alternatively, you can also open this repository in Gitpod, an online IDE for Gi
### Adding themes/languages ### Adding themes/languages
We're happy to accept any PRs adding new themes and languages to Carbon! Currently there are a few ways to do so: We are not currently accepting new themes or languages into Carbon, except for in extenuating circumstances. Instead, we want to continue to provide ways for users to add their own themes and presets. Please feel free to still open an issue or PR for consideration, but know that there is a chance it will get closed without addition.
1. If the [theme](https://codemirror.net/demo/theme.html) or [language](https://codemirror.net/mode/index.html) is supported in Codemirror, all you have to do is add a [constant](https://github.com/carbon-app/carbon/blob/master/lib/constants.js) for it.
2. If it's not supported, you can add a Codemirror compliant [custom theme](https://github.com/carbon-app/carbon/tree/master/static/themes) or [custom mode](https://github.com/carbon-app/carbon/tree/master/lib/custom/modes) to implement it and add a constant like above.

Loading…
Cancel
Save