Socket
Book a DemoInstallSign in
Socket

@fsegurai/codemirror-theme-github-light

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fsegurai/codemirror-theme-github-light

GitHub Light theme for the CodeMirror editor

latest
Source
npmnpm
Version
6.2.2
Version published
Maintainers
1
Created
Source

CodeMirror 6 Themes Logo

Test Status Latest Release
GitHub contributors Dependency status for repo GitHub License
Stars Forks

A library of custom themes for CodeMirror 6.

@fsegurai/codemirror-theme-github-light is a theme for CodeMirror 6 editor, making it visually engaging and adaptable to different coding styles and user preferences.

Table of contents

Installation

@fsegurai/codemirror-theme-github-light

To add @fsegurai/codemirror-theme-github-light along with CodeMirror 6 to your package.json use the following commands.

npm install @fsegurai/codemirror-theme-github-light codemirror@^6.0.0 --save

Using Theme

Import the respective theme from the package and apply it to your CodeMirror instance as shown below.

import { EditorView, basicSetup } from 'codemirror'
import { markdown } from '@codemirror/lang-markdown'
import { githubLight } from '@fsegurai/codemirror-theme-basic-github-light'

let editor = new EditorView({
  doc: '# Hello World',
  extensions: [
    basicSetup,
    markdown(),
    githubLight
  ],
  parent: document.body
})

Read the CodeMirror documentation for more details about themes.

Available Themes

ThemePackageVersion
All - Bundle@fsegurai/codemirror-theme-bundlenpm
Abcdef@fsegurai/codemirror-theme-abcdefnpm
Abyss@fsegurai/codemirror-theme-abyssnpm
Android Studio@fsegurai/codemirror-theme-android-studionpm
Andromeda@fsegurai/codemirror-theme-andromedanpm
Basic Light@fsegurai/codemirror-theme-basic-lightnpm
Basic Dark@fsegurai/codemirror-theme-basic-darknpm
Cobalt2@fsegurai/codemirror-theme-cobaltnpm
Forest@fsegurai/codemirror-theme-forestnpm
GitHub Light@fsegurai/codemirror-theme-github-lightnpm
GitHub Dark@fsegurai/codemirror-theme-github-darknpm
Gruvbox Light@fsegurai/codemirror-theme-gruvbox-lightnpm
Gruvbox Dark@fsegurai/codemirror-theme-gruvbox-darknpm
Material Light@fsegurai/codemirror-theme-material-lightnpm
Material Dark@fsegurai/codemirror-theme-material-darknpm
Monokai@fsegurai/codemirror-theme-monokainpm
Nord@fsegurai/codemirror-theme-nordnpm
Palenight@fsegurai/codemirror-theme-palenightnpm
Solarized Light@fsegurai/codemirror-theme-solarized-lightnpm
Solarized Dark@fsegurai/codemirror-theme-solarized-darknpm
Tokyo Night Storm@fsegurai/codemirror-theme-tokyo-night-stormnpm
Tokyo Night Day@fsegurai/codemirror-theme-tokyo-night-daynpm
Volcano@fsegurai/codemirror-theme-volcanonpm
VS Code Dark@fsegurai/codemirror-theme-vscode-darknpm
VS Code Light@fsegurai/codemirror-theme-vscode-lightnpm

Demo Application

To see all themes in action, check out the demo: https://fsegurai.github.io/codemirror-themes.

To set up the demo locally:

git clone https://github.com/fsegurai/codemirror-themes.git
npm install
npm start

This will serve the application locally at http://[::1]:8000.

License

Licensed under MIT.

Keywords

editor

FAQs

Package last updated on 12 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts