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

@ddietr/codemirror-themes

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ddietr/codemirror-themes - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

dist/theme/aura.js

@@ -38,3 +38,3 @@ import { EditorView } from '@codemirror/view';

'.cm-cursor, .cm-dropCursor': { borderLeftColor: config.cursor },
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'.cm-panels': { backgroundColor: config.dropdownBackground, color: config.foreground },

@@ -41,0 +41,0 @@ '.cm-panels.cm-panels-top': { borderBottom: '2px solid black' },

@@ -14,3 +14,3 @@ import { EditorView } from '@codemirror/view';

dropdownBorder: '#191A21',
activeLine: '#44475A',
activeLine: '#282A36',
matchingBracket: '#44475A',

@@ -39,3 +39,3 @@ keyword: '#FF79C6',

'.cm-cursor, .cm-dropCursor': { borderLeftColor: config.cursor },
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'.cm-panels': { backgroundColor: config.dropdownBackground, color: config.foreground },

@@ -42,0 +42,0 @@ '.cm-panels.cm-panels-top': { borderBottom: '2px solid black' },

@@ -38,3 +38,3 @@ import { EditorView } from '@codemirror/view';

'.cm-cursor, .cm-dropCursor': { borderLeftColor: config.cursor },
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'.cm-panels': { backgroundColor: config.dropdownBackground, color: config.foreground },

@@ -41,0 +41,0 @@ '.cm-panels.cm-panels-top': { borderBottom: '2px solid black' },

@@ -38,3 +38,3 @@ import { EditorView } from '@codemirror/view';

'.cm-cursor, .cm-dropCursor': { borderLeftColor: config.cursor },
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'.cm-panels': { backgroundColor: config.dropdownBackground, color: config.foreground },

@@ -41,0 +41,0 @@ '.cm-panels.cm-panels-top': { borderBottom: '2px solid black' },

@@ -38,3 +38,3 @@ import { EditorView } from '@codemirror/view';

'.cm-cursor, .cm-dropCursor': { borderLeftColor: config.cursor },
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'.cm-panels': { backgroundColor: config.dropdownBackground, color: config.foreground },

@@ -41,0 +41,0 @@ '.cm-panels.cm-panels-top': { borderBottom: '2px solid black' },

@@ -38,3 +38,3 @@ import { EditorView } from '@codemirror/view';

'.cm-cursor, .cm-dropCursor': { borderLeftColor: config.cursor },
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'.cm-panels': { backgroundColor: config.dropdownBackground, color: config.foreground },

@@ -41,0 +41,0 @@ '.cm-panels.cm-panels-top': { borderBottom: '2px solid black' },

@@ -38,3 +38,3 @@ import { EditorView } from '@codemirror/view';

'.cm-cursor, .cm-dropCursor': { borderLeftColor: config.cursor },
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'.cm-panels': { backgroundColor: config.dropdownBackground, color: config.foreground },

@@ -41,0 +41,0 @@ '.cm-panels.cm-panels-top': { borderBottom: '2px solid black' },

@@ -38,3 +38,3 @@ import { EditorView } from '@codemirror/view';

'.cm-cursor, .cm-dropCursor': { borderLeftColor: config.cursor },
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'.cm-panels': { backgroundColor: config.dropdownBackground, color: config.foreground },

@@ -41,0 +41,0 @@ '.cm-panels.cm-panels-top': { borderBottom: '2px solid black' },

@@ -38,3 +38,3 @@ import { EditorView } from '@codemirror/view';

'.cm-cursor, .cm-dropCursor': { borderLeftColor: config.cursor },
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'.cm-panels': { backgroundColor: config.dropdownBackground, color: config.foreground },

@@ -41,0 +41,0 @@ '.cm-panels.cm-panels-top': { borderBottom: '2px solid black' },

@@ -38,3 +38,3 @@ import { EditorView } from '@codemirror/view';

'.cm-cursor, .cm-dropCursor': { borderLeftColor: config.cursor },
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'.cm-panels': { backgroundColor: config.dropdownBackground, color: config.foreground },

@@ -41,0 +41,0 @@ '.cm-panels.cm-panels-top': { borderBottom: '2px solid black' },

@@ -38,3 +38,3 @@ import { EditorView } from '@codemirror/view';

'.cm-cursor, .cm-dropCursor': { borderLeftColor: config.cursor },
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: config.selection },
'.cm-panels': { backgroundColor: config.dropdownBackground, color: config.foreground },

@@ -41,0 +41,0 @@ '.cm-panels.cm-panels-top': { borderBottom: '2px solid black' },

@@ -15,8 +15,9 @@ import {EditorView, highlightActiveLine, lineNumbers} from '@codemirror/view'

import {tokyoNightDay} from '../theme/tokyo-night-day'
import {Extension} from '@codemirror/state'
const parent = document.getElementById('examples')
const doc = document.getElementById('code').textContent.trim()
const parent = document.getElementById('examples')!
const doc = document.getElementById('code')?.textContent?.trim()
const createEditor = (theme) => {
const view = new EditorView({
const createEditor = (theme: Extension) => {
new EditorView({
doc,

@@ -23,0 +24,0 @@ extensions: [

{
"name": "@ddietr/codemirror-themes",
"version": "1.4.0",
"version": "1.4.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "",

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