Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uiw/codemirror-themes

Package Overview
Dependencies
Maintainers
2
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/codemirror-themes - npm Package Compare versions

Comparing version 4.21.25 to 4.22.0

3

cjs/index.d.ts
import { Extension } from '@codemirror/state';
import { TagStyle } from '@codemirror/language';
import { StyleSpec } from 'style-mod';
export interface CreateThemeOptions {

@@ -41,4 +42,6 @@ /**

fontFamily?: string;
/** set editor font size */
fontSize?: StyleSpec['fontSize'];
}
export declare const createTheme: ({ theme, settings, styles }: CreateThemeOptions) => Extension;
export default createTheme;

@@ -28,2 +28,5 @@ "use strict";

}
if (settings.fontSize) {
baseStyle.fontSize = settings.fontSize;
}
if (settings.background || settings.foreground) {

@@ -30,0 +33,0 @@ themeOptions['&'] = baseStyle;

import { Extension } from '@codemirror/state';
import { TagStyle } from '@codemirror/language';
import { StyleSpec } from 'style-mod';
export interface CreateThemeOptions {

@@ -41,4 +42,6 @@ /**

fontFamily?: string;
/** set editor font size */
fontSize?: StyleSpec['fontSize'];
}
export declare const createTheme: ({ theme, settings, styles }: CreateThemeOptions) => Extension;
export default createTheme;

@@ -22,2 +22,5 @@ import { EditorView } from '@codemirror/view';

}
if (settings.fontSize) {
baseStyle.fontSize = settings.fontSize;
}
if (settings.background || settings.foreground) {

@@ -24,0 +27,0 @@ themeOptions['&'] = baseStyle;

2

package.json
{
"name": "@uiw/codemirror-themes",
"version": "4.21.25",
"version": "4.22.0",
"description": "Themes for CodeMirror.",

@@ -5,0 +5,0 @@ "homepage": "https://uiwjs.github.io/react-codemirror/#/theme/doc",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc