All Projects β†’ FarhadG β†’ Code Mirror Themes

FarhadG / Code Mirror Themes

πŸ“ A large collection of Code Mirror themes for your coding pleasure

Projects that are alternatives of or similar to Code Mirror Themes

codemirror-languageserver
Language Server integration for CodeMirror 6
Stars: ✭ 37 (-57.47%)
Mutual labels:  codemirror
Plantuml Editor
PlantUML online demo client
Stars: ✭ 313 (+259.77%)
Mutual labels:  codemirror
Codemirror Swiftui
CodeMirror-SwiftUI is a lightweight wrapper of CodeMirror for macOS and iOS packaged for SwiftUI.
Stars: ✭ 30 (-65.52%)
Mutual labels:  codemirror
codeRigade
Realtime collaborative code-editor
Stars: ✭ 17 (-80.46%)
Mutual labels:  codemirror
notebook
Web based Clojure notebook application/-library.
Stars: ✭ 96 (+10.34%)
Mutual labels:  codemirror
Angular Admin
πŸ”Admin client for surmon.me blog powered by @angular and Bootstrap4
Stars: ✭ 352 (+304.6%)
Mutual labels:  codemirror
material-ui-markdown-editor
React.js Markdown editor component based on material-ui
Stars: ✭ 28 (-67.82%)
Mutual labels:  codemirror
Hypermd
A WYSIWYG Markdown Editor for browsers. Break the Wall between writing and previewing.
Stars: ✭ 1,258 (+1345.98%)
Mutual labels:  codemirror
codemirror-editor-vue3
CodeMirror component for Vue3
Stars: ✭ 22 (-74.71%)
Mutual labels:  codemirror
Codemirror Facade
Facade for the codemirror
Stars: ✭ 8 (-90.8%)
Mutual labels:  codemirror
Scripts-n-Styles
Allows WordPress admin users the ability to add custom CSS and JavaScript directly to individual Post, Pages or custom post types.
Stars: ✭ 16 (-81.61%)
Mutual labels:  codemirror
CodeMirror-MathJax
Experimenting to replace $math$ with formulas inside CodeMirror
Stars: ✭ 18 (-79.31%)
Mutual labels:  codemirror
Graviton App
πŸš€ A modern-looking Code Editor
Stars: ✭ 601 (+590.8%)
Mutual labels:  codemirror
markdown-editor
✏️ A very simple but useful Markdown Previewer and Markdown Editor with CodeMirror, Markedjs, and Create-react-app
Stars: ✭ 25 (-71.26%)
Mutual labels:  codemirror
Gorilla Notebook
A clojure/clojurescript notebook application/-library based on Gorilla-REPL
Stars: ✭ 73 (-16.09%)
Mutual labels:  codemirror
craft3-codemirror
Add the awesome in-browser code editor CodeMirror as a field type.
Stars: ✭ 17 (-80.46%)
Mutual labels:  codemirror
Noty
Autosaving sticky note with support for multiple notes without needing multiple windows.
Stars: ✭ 321 (+268.97%)
Mutual labels:  codemirror
Kodeweave
HTML/CSS/JS and Markdown Playground For Web Designers and Developers
Stars: ✭ 87 (+0%)
Mutual labels:  codemirror
React Codemirror2
Codemirror integrated components for React
Stars: ✭ 1,240 (+1325.29%)
Mutual labels:  codemirror
Md2pdf
Offline markdown to pdf, choose -> edit -> transform πŸ₯‚
Stars: ✭ 632 (+626.44%)
Mutual labels:  codemirror

CodeMirror Themes

CodeMirror is a great online editor, however, it's lacking some good themes. So, here are a crap ton for your coding pleasure.

I used this theme generator to export themes from editors such as Sublime Text, Ace Editor and TextMate.

If something is not working or you would like a new feature, please use the issues page.

Demo

Here's a theme I extracted from one of my favorite Sublime Themes (itg-flat).

Click HERE for a demo where you can switch between various themes on the fly. A few modifications were made to the base styling to make the default theme look better; e.g. line-heights, fonts, etc. Some version have a default version included (from CodeMirror).

Installation

You can install via npm and simply refer to the theme you want within the themes directory.

  $ npm i code-mirror-themes --save

You can install via bower and simply refer to the theme you want within the themes directory.

  $ bower i code-mirror-themes --save

You can simply fork and clone (or download) the repo into your local directory and check out the themes folder for the CSS files.

  $ git clone https://github.com/FarhadG/code-mirror-themes
  $ cd code-mirror-themes/themes

You can also run a server to run index.html for a demo showcasing all of the themes.

Usage

Once you have the desired CSS file, you simply configure your CodeMirror editor and pass in the theme's name as the CodeMirror theme name (use lowercase and treat spaces with hyphens). For example, here's a simple configuration.

// Theme Name: Bespin
var myCodeMirror = CodeMirror(document.body, {
    mode: 'javascript',
    lineNumbers: true,
    theme: 'bespin'
});

// Theme Name: All Hallow Eve
var myCodeMirror = CodeMirror(document.body, {
    mode: 'javascript',
    lineNumbers: true,
    theme: 'all-hallow-eve'
});

GUI Interface

Also, here's a LINK for making SublimeText and TextMate themes with a visual interface. After saving the file, you can, then, take the file and run this theme generator for converting the XML to CodeMirror's CSS.

Options

I'll be adding more features; that said, if you'd like a feature, let me know so that I'll try and implement it into future updates.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].