🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@codemirror/theme-one-dark

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/theme-one-dark - npm Package Compare versions

Comparing version
6.1.2
to
6.1.3
+39
dist/index.d.cts
import { Extension } from '@codemirror/state';
import { HighlightStyle } from '@codemirror/language';
/**
The colors used in the theme, as CSS color strings.
*/
declare const color: {
chalky: string;
coral: string;
cyan: string;
invalid: string;
ivory: string;
stone: string;
malibu: string;
sage: string;
whiskey: string;
violet: string;
darkBackground: string;
highlightBackground: string;
background: string;
tooltipBackground: string;
selection: string;
cursor: string;
};
/**
The editor theme styles for One Dark.
*/
declare const oneDarkTheme: Extension;
/**
The highlighting style for code in the One Dark theme.
*/
declare const oneDarkHighlightStyle: HighlightStyle;
/**
Extension to enable the One Dark theme (both the editor theme and
the highlight style).
*/
declare const oneDark: Extension;
export { color, oneDark, oneDarkHighlightStyle, oneDarkTheme };
+5
-0

@@ -0,1 +1,6 @@

## 6.1.3 (2025-06-19)
### Bug fixes
Add a .d.cts file to make TypeScript happy.
## 6.1.2 (2023-04-17)

@@ -2,0 +7,0 @@

+0
-2
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var view = require('@codemirror/view');

@@ -6,0 +4,0 @@ var language = require('@codemirror/language');

{
"name": "@codemirror/theme-one-dark",
"version": "6.1.2",
"version": "6.1.3",
"description": "One Dark theme for the CodeMirror code editor",

@@ -35,3 +35,3 @@ "scripts": {

"devDependencies": {
"@codemirror/buildhelper": "^0.1.0"
"@codemirror/buildhelper": "^1.0.0"
},

@@ -38,0 +38,0 @@ "repository": {