Socket
Socket
Sign inDemoInstall

@ddietr/codemirror-themes

Package Overview
Dependencies
10
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.8 to 1.0.9

ddietr-codemirror-themes-1.0.9.tgz

7

dist/theme/dracula.js

@@ -79,15 +79,8 @@ import { EditorView } from '@codemirror/view';

const draculaHighlightStyle = HighlightStyle.define([
// const, let, function, if
{ tag: tags.keyword, color: config.keyword },
// document
{ tag: [tags.name, tags.deleted, tags.character, tags.macroName], color: config.variable },
// getElementById
{ tag: [tags.propertyName], color: config.function },
// "string"
{ tag: [tags.processingInstruction, tags.string, tags.inserted, tags.special(tags.string)], color: config.string },
// render
{ tag: [tags.function(tags.variableName), tags.labelName], color: config.function },
// ???
{ tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)], color: config.constant },
// btn, count, fn render()
{ tag: [tags.definition(tags.name), tags.separator], color: config.variable },

@@ -94,0 +87,0 @@ { tag: [tags.className], color: config.class },

@@ -79,15 +79,8 @@ import { EditorView } from '@codemirror/view';

const githubDarkHighlightStyle = HighlightStyle.define([
// const, let, function, if
{ tag: tags.keyword, color: config.keyword },
// document
{ tag: [tags.name, tags.deleted, tags.character, tags.macroName], color: config.variable },
// getElementById
{ tag: [tags.propertyName], color: config.function },
// "string"
{ tag: [tags.processingInstruction, tags.string, tags.inserted, tags.special(tags.string)], color: config.string },
// render
{ tag: [tags.function(tags.variableName), tags.labelName], color: config.function },
// ???
{ tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)], color: config.constant },
// btn, count, fn render()
{ tag: [tags.definition(tags.name), tags.separator], color: config.variable },

@@ -94,0 +87,0 @@ { tag: [tags.className], color: config.class },

@@ -79,15 +79,8 @@ import { EditorView } from '@codemirror/view';

const githubLightHighlightStyle = HighlightStyle.define([
// const, let, function, if
{ tag: tags.keyword, color: config.keyword },
// document
{ tag: [tags.name, tags.deleted, tags.character, tags.macroName], color: config.variable },
// getElementById
{ tag: [tags.propertyName], color: config.function },
// "string"
{ tag: [tags.processingInstruction, tags.string, tags.inserted, tags.special(tags.string)], color: config.string },
// render
{ tag: [tags.function(tags.variableName), tags.labelName], color: config.function },
// ???
{ tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)], color: config.constant },
// btn, count, fn render()
{ tag: [tags.definition(tags.name), tags.separator], color: config.variable },

@@ -94,0 +87,0 @@ { tag: [tags.className], color: config.class },

@@ -79,15 +79,8 @@ import { EditorView } from '@codemirror/view';

const materialDarkHighlightStyle = HighlightStyle.define([
// const, let, function, if
{ tag: tags.keyword, color: config.keyword },
// document
{ tag: [tags.name, tags.deleted, tags.character, tags.macroName], color: config.variable },
// getElementById
{ tag: [tags.propertyName], color: config.function },
// "string"
{ tag: [tags.processingInstruction, tags.string, tags.inserted, tags.special(tags.string)], color: config.string },
// render
{ tag: [tags.function(tags.variableName), tags.labelName], color: config.function },
// ???
{ tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)], color: config.constant },
// btn, count, fn render()
{ tag: [tags.definition(tags.name), tags.separator], color: config.variable },

@@ -94,0 +87,0 @@ { tag: [tags.className], color: config.class },

@@ -79,15 +79,8 @@ import { EditorView } from '@codemirror/view';

const materialLightHighlightStyle = HighlightStyle.define([
// const, let, function, if
{ tag: tags.keyword, color: config.keyword },
// document
{ tag: [tags.name, tags.deleted, tags.character, tags.macroName], color: config.variable },
// getElementById
{ tag: [tags.propertyName], color: config.function },
// "string"
{ tag: [tags.processingInstruction, tags.string, tags.inserted, tags.special(tags.string)], color: config.string },
// render
{ tag: [tags.function(tags.variableName), tags.labelName], color: config.function },
// ???
{ tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)], color: config.constant },
// btn, count, fn render()
{ tag: [tags.definition(tags.name), tags.separator], color: config.variable },

@@ -94,0 +87,0 @@ { tag: [tags.className], color: config.class },

@@ -79,15 +79,8 @@ import { EditorView } from '@codemirror/view';

const solarizedDarkHighlightStyle = HighlightStyle.define([
// const, let, function, if
{ tag: tags.keyword, color: config.keyword },
// document
{ tag: [tags.name, tags.deleted, tags.character, tags.macroName], color: config.variable },
// getElementById
{ tag: [tags.propertyName], color: config.function },
// "string"
{ tag: [tags.processingInstruction, tags.string, tags.inserted, tags.special(tags.string)], color: config.string },
// render
{ tag: [tags.function(tags.variableName), tags.labelName], color: config.function },
// ???
{ tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)], color: config.constant },
// btn, count, fn render()
{ tag: [tags.definition(tags.name), tags.separator], color: config.variable },

@@ -94,0 +87,0 @@ { tag: [tags.className], color: config.class },

@@ -79,15 +79,8 @@ import { EditorView } from '@codemirror/view';

const solarizedLightHighlightStyle = HighlightStyle.define([
// const, let, function, if
{ tag: tags.keyword, color: config.keyword },
// document
{ tag: [tags.name, tags.deleted, tags.character, tags.macroName], color: config.variable },
// getElementById
{ tag: [tags.propertyName], color: config.function },
// "string"
{ tag: [tags.processingInstruction, tags.string, tags.inserted, tags.special(tags.string)], color: config.string },
// render
{ tag: [tags.function(tags.variableName), tags.labelName], color: config.function },
// ???
{ tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)], color: config.constant },
// btn, count, fn render()
{ tag: [tags.definition(tags.name), tags.separator], color: config.variable },

@@ -94,0 +87,0 @@ { tag: [tags.className], color: config.class },

14

package.json
{
"name": "@ddietr/codemirror-themes",
"version": "1.0.8",
"version": "1.0.9",
"license": "MIT",

@@ -28,12 +28,12 @@ "description": "",

"devDependencies": {
"@rollup/plugin-typescript": "^8.2.5",
"rollup": "^2.56.2",
"@rollup/plugin-typescript": "^8.3.0",
"rollup": "^2.58.3",
"tslib": "^2.3.1",
"typescript": "^4.3.5"
"typescript": "^4.4.4"
},
"dependencies": {
"@codemirror/highlight": "^0.19.1",
"@codemirror/state": "^0.19.0",
"@codemirror/view": "^0.19.1"
"@codemirror/highlight": "^0.19.6",
"@codemirror/state": "^0.19.2",
"@codemirror/view": "^0.19.9"
}
}

@@ -12,9 +12,10 @@ # Codemirror 6 Themes

```javascript
import {materialLight} from 'codemirror-themes/theme/material-light'
import {materialDark} from 'codemirror-themes/theme/material-dark'
import {solarizedLight} from 'codemirror-themes/theme/solarized-light'
import {solarizedDark} from 'codemirror-themes/theme/solarized-dark'
import {dracula} from 'codemirror-themes/theme/dracula'
import {githubLight} from 'codemirror-themes/theme/github-light'
import {githubDark} from 'codemirror-themes/theme/github-dark'
import {materialLight} from '@ddietr/codemirror-themes/theme/material-light'
import {materialDark} from '@ddietr/codemirror-themes/theme/material-dark'
import {solarizedLight} from '@ddietr/codemirror-themes/theme/solarized-light'
import {solarizedDark} from '@ddietr/codemirror-themes/theme/solarized-dark'
import {dracula} from '@ddietr/codemirror-themes/theme/dracula'
import {githubLight} from '@ddietr/codemirror-themes/theme/github-light'
import {githubDark} from '@ddietr/codemirror-themes/theme/github-dark'
import {aura} from '@ddietr/codemirror-themes/theme/aura'
```

@@ -21,0 +22,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc