
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@fsegurai/codemirror-theme-abcdef
Advanced tools
A library of custom themes for CodeMirror 6.
@fsegurai/codemirror-theme-abcdef
is a theme for CodeMirror 6 editor, making it visually engaging and adaptable to different coding styles and user preferences.
To add @fsegurai/codemirror-theme-abcdef
along with CodeMirror 6 to your package.json
use the following commands.
npm install @fsegurai/codemirror-theme-abcdef codemirror@^6.0.0 --save
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 { abcdef } from '@fsegurai/codemirror-theme-basic-abcdef'
let editor = new EditorView({
doc: '# Hello World',
extensions: [
basicSetup,
markdown(),
abcdef
],
parent: document.body
})
Read the CodeMirror documentation for more details about themes.
For a full list, see the @fsegurai/codemirror-theme-bundle
directory or the online demo.
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.
Licensed under MIT.
FAQs
Abcdef theme for the CodeMirror code editor
The npm package @fsegurai/codemirror-theme-abcdef receives a total of 1,788 weekly downloads. As such, @fsegurai/codemirror-theme-abcdef popularity was classified as popular.
We found that @fsegurai/codemirror-theme-abcdef demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.