cm6-theme-solarized-dark
Advanced tools
Comparing version 0.1.0 to 0.2.0
import { Extension } from '@codemirror/state'; | ||
import { HighlightStyle } from '@codemirror/highlight'; | ||
import { HighlightStyle } from '@codemirror/language'; | ||
@@ -4,0 +4,0 @@ /** |
import { EditorView } from '@codemirror/view'; | ||
import { HighlightStyle, tags } from '@codemirror/highlight'; | ||
import { HighlightStyle, syntaxHighlighting } from '@codemirror/language'; | ||
import { tags } from '@lezer/highlight'; | ||
@@ -126,2 +127,8 @@ const base00 = '#002b36', base01 = '#073642', base02 = '#586e75', base03 = '#657b83', base04 = '#839496', base05 = '#93a1a1', base06 = '#eee8d5', base07 = '#fdf6e3', base_red = '#dc322f', base_orange = '#cb4b16', base_yellow = '#b58900', base_green = '#859900', base_cyan = '#2aa198', base_blue = '#268bd2', base_violet = '#6c71c4', base_magenta = '#d33682'; | ||
{ | ||
tag: tags.link, | ||
color: base_cyan, | ||
textDecoration: 'underline', | ||
textUnderlinePosition: 'under' | ||
}, | ||
{ | ||
tag: [tags.url, tags.escape, /*@__PURE__*/tags.special(tags.string)], | ||
@@ -135,8 +142,2 @@ color: base_yellow | ||
{ tag: tags.strikethrough, textDecoration: 'line-through' }, | ||
{ | ||
tag: tags.link, | ||
color: base_cyan, | ||
textDecoration: 'underline', | ||
textUnderlinePosition: 'under' | ||
}, | ||
{ tag: tags.heading, fontWeight: 'bold', color: base_yellow }, | ||
@@ -170,5 +171,5 @@ { tag: tags.heading1, fontWeight: 'bold', color: base07 }, | ||
solarizedDarkTheme, | ||
solarizedDarkHighlightStyle | ||
/*@__PURE__*/syntaxHighlighting(solarizedDarkHighlightStyle) | ||
]; | ||
export { solarizedDark, solarizedDarkHighlightStyle, solarizedDarkTheme }; |
{ | ||
"name": "cm6-theme-solarized-dark", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Solarized Dark theme for the CodeMirror code editor", | ||
@@ -28,6 +28,7 @@ "scripts": { | ||
"license": "MIT", | ||
"dependencies": { | ||
"@codemirror/highlight": "^0.19.0", | ||
"@codemirror/state": "^0.19.0", | ||
"@codemirror/view": "^0.19.0" | ||
"peerDependencies": { | ||
"@lezer/highlight": "^1.0.0", | ||
"@codemirror/language": "^6.0.0", | ||
"@codemirror/state": "^6.0.0", | ||
"@codemirror/view": "^6.0.0" | ||
}, | ||
@@ -34,0 +35,0 @@ "devDependencies": { |
<!-- NOTE: README.md is generated from src/README.md --> | ||
# cm6-theme-solarized-dark [![NPM version](https://img.shields.io/npm/v/@codemirror/theme-one-dark.svg)](https://www.npmjs.org/package/cm6-theme-solarized-dark) | ||
# cm6-theme-solarized-dark [![NPM version](https://img.shields.io/npm/v/cm6-theme-solarized-dark.svg)](https://www.npmjs.org/package/cm6-theme-solarized-dark) | ||
@@ -5,0 +5,0 @@ [ [**WEBSITE**](https://codemirror.net/6/) | [**ISSUES**](https://github.com/codemirror/codemirror.next/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/theme-one-dark/blob/main/CHANGELOG.md) ] |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15120
362
4
+ Added@codemirror/language@6.10.4(transitive)
+ Added@codemirror/state@6.4.1(transitive)
+ Added@codemirror/view@6.35.0(transitive)
+ Added@lezer/common@1.2.3(transitive)
+ Added@lezer/highlight@1.2.1(transitive)
+ Added@lezer/lr@1.4.2(transitive)
- Removed@codemirror/highlight@^0.19.0
- Removed@codemirror/state@^0.19.0
- Removed@codemirror/view@^0.19.0
- Removed@codemirror/highlight@0.19.8(transitive)
- Removed@codemirror/rangeset@0.19.9(transitive)
- Removed@codemirror/state@0.19.9(transitive)
- Removed@codemirror/text@0.19.6(transitive)
- Removed@codemirror/view@0.19.48(transitive)
- Removed@lezer/common@0.15.12(transitive)