@uiw/codemirror-theme-sublime 4.19.11 → 4.19.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.js +1 -2
- package/esm/index.js +1 -2
- package/package.json +4 -4
- package/cjs/index.js.map +0 -61
- package/esm/index.js.map +0 -53
package/cjs/index.js
CHANGED
package/esm/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uiw/codemirror-theme-sublime",
|
|
3
|
-
"version": "4.19.
|
|
3
|
+
"version": "4.19.12",
|
|
4
4
|
"description": "Theme sublime for CodeMirror.",
|
|
5
5
|
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/sublime",
|
|
6
6
|
"author": "kenny wong <wowohoo@qq.com>",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"main": "./cjs/index.js",
|
|
9
9
|
"module": "./esm/index.js",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"watch": "tsbb watch",
|
|
12
|
-
"build": "tsbb build"
|
|
11
|
+
"watch": "tsbb watch src/*.ts --use-babel",
|
|
12
|
+
"build": "tsbb build src/*.ts --use-babel"
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"cjs"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@uiw/codemirror-themes": "4.19.
|
|
24
|
+
"@uiw/codemirror-themes": "4.19.12"
|
|
25
25
|
},
|
|
26
26
|
"keywords": [
|
|
27
27
|
"codemirror",
|
package/cjs/index.js.map
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"names": [
|
|
4
|
-
"_highlight",
|
|
5
|
-
"require",
|
|
6
|
-
"_codemirrorThemes",
|
|
7
|
-
"defaultSettingsSublime",
|
|
8
|
-
"background",
|
|
9
|
-
"foreground",
|
|
10
|
-
"caret",
|
|
11
|
-
"selection",
|
|
12
|
-
"selectionMatch",
|
|
13
|
-
"gutterBackground",
|
|
14
|
-
"gutterForeground",
|
|
15
|
-
"lineHighlight",
|
|
16
|
-
"exports",
|
|
17
|
-
"sublimeInit",
|
|
18
|
-
"options",
|
|
19
|
-
"_ref",
|
|
20
|
-
"_ref$theme",
|
|
21
|
-
"theme",
|
|
22
|
-
"_ref$settings",
|
|
23
|
-
"settings",
|
|
24
|
-
"_ref$styles",
|
|
25
|
-
"styles",
|
|
26
|
-
"createTheme",
|
|
27
|
-
"_objectSpread2",
|
|
28
|
-
"tag",
|
|
29
|
-
"t",
|
|
30
|
-
"meta",
|
|
31
|
-
"comment",
|
|
32
|
-
"color",
|
|
33
|
-
"attributeName",
|
|
34
|
-
"keyword",
|
|
35
|
-
"variableName",
|
|
36
|
-
"string",
|
|
37
|
-
"regexp",
|
|
38
|
-
"attributeValue",
|
|
39
|
-
"operator",
|
|
40
|
-
"tagName",
|
|
41
|
-
"modifier",
|
|
42
|
-
"number",
|
|
43
|
-
"definition",
|
|
44
|
-
"className",
|
|
45
|
-
"atom",
|
|
46
|
-
"bool",
|
|
47
|
-
"special",
|
|
48
|
-
"propertyName",
|
|
49
|
-
"typeName",
|
|
50
|
-
"concat",
|
|
51
|
-
"_toConsumableArray2",
|
|
52
|
-
"sublime"
|
|
53
|
-
],
|
|
54
|
-
"sources": [
|
|
55
|
-
"../src/index.ts"
|
|
56
|
-
],
|
|
57
|
-
"sourcesContent": [
|
|
58
|
-
"import { tags as t } from '@lezer/highlight';\nimport { createTheme, CreateThemeOptions } from '@uiw/codemirror-themes';\n\nexport const defaultSettingsSublime: CreateThemeOptions['settings'] = {\n background: '#303841',\n foreground: '#FFFFFF',\n caret: '#FBAC52',\n selection: '#4C5964',\n selectionMatch: '#3A546E',\n gutterBackground: '#303841',\n gutterForeground: '#FFFFFF70',\n lineHighlight: '#00000059',\n};\n\nexport function sublimeInit(options?: Partial<CreateThemeOptions>) {\n const { theme = 'dark', settings = {}, styles = [] } = options || {};\n return createTheme({\n theme: theme,\n settings: {\n ...defaultSettingsSublime,\n ...settings,\n },\n styles: [\n { tag: [t.meta, t.comment], color: '#A2A9B5' },\n { tag: [t.attributeName, t.keyword], color: '#B78FBA' },\n { tag: t.function(t.variableName), color: '#5AB0B0' },\n { tag: [t.string, t.regexp, t.attributeValue], color: '#99C592' },\n { tag: t.operator, color: '#f47954' },\n // { tag: t.moduleKeyword, color: 'red' },\n { tag: [t.tagName, t.modifier], color: '#E35F63' },\n { tag: [t.number, t.definition(t.tagName), t.className, t.definition(t.variableName)], color: '#fbac52' },\n { tag: [t.atom, t.bool, t.special(t.variableName)], color: '#E35F63' },\n { tag: t.variableName, color: '#539ac4' },\n { tag: [t.propertyName, t.typeName], color: '#629ccd' },\n { tag: t.propertyName, color: '#36b7b5' },\n ...styles,\n ],\n });\n}\n\nexport const sublime = sublimeInit();\n"
|
|
59
|
-
],
|
|
60
|
-
"mappings": ";;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AAEO,IAAME,sBAAsD,GAAG;EACpEC,UAAU,EAAE,SAAS;EACrBC,UAAU,EAAE,SAAS;EACrBC,KAAK,EAAE,SAAS;EAChBC,SAAS,EAAE,SAAS;EACpBC,cAAc,EAAE,SAAS;EACzBC,gBAAgB,EAAE,SAAS;EAC3BC,gBAAgB,EAAE,WAAW;EAC7BC,aAAa,EAAE;AACjB,CAAC;AAACC,OAAA,CAAAT,sBAAA,GAAAA,sBAAA;AAEK,SAASU,WAAWA,CAACC,OAAqC,EAAE;EACjE,IAAAC,IAAA,GAAuDD,OAAO,IAAI,CAAC,CAAC;IAAAE,UAAA,GAAAD,IAAA,CAA5DE,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAG,MAAM,GAAAA,UAAA;IAAAE,aAAA,GAAAH,IAAA,CAAEI,QAAQ;IAARA,QAAQ,GAAA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CAACiB,IAAI,EAAEjB,eAAC,CAACkB,OAAO,CAAClB,eAAC,CAACM,YAAY,CAAC,CAAC;MAAEH,KAAK,EAAE;IAAU,CAAC,EACtE;MAAEJ,GAAG,EAAEC,eAAC,CAACM,YAAY;MAAEH,KAAK,EAAE;IAAU,CAAC,EACzC;MAAEJ,GAAG,EAAE,CAACC,eAAC,CAACmB,YAAY,EAAEnB,eAAC,CAACoB,QAAQ,CAAC;MAAEjB,KAAK,EAAE;IAAU,CAAC,EACvD;MAAEJ,GAAG,EAAEC,eAAC,CAACmB,YAAY;MAAEhB,KAAK,EAAE;IAAU,CAAC,EAAAkB,MAAA,KAAAC,mBAAA,aACtC1B,MAAM;EAEb,CAAC,CAAC;AACJ;AAEO,IAAM2B,OAAO,GAAGnC,WAAW,EAAE;AAACD,OAAA,CAAAoC,OAAA,GAAAA,OAAA"
|
|
61
|
-
}
|
package/esm/index.js.map
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"names": [
|
|
4
|
-
"tags",
|
|
5
|
-
"t",
|
|
6
|
-
"createTheme",
|
|
7
|
-
"defaultSettingsSublime",
|
|
8
|
-
"background",
|
|
9
|
-
"foreground",
|
|
10
|
-
"caret",
|
|
11
|
-
"selection",
|
|
12
|
-
"selectionMatch",
|
|
13
|
-
"gutterBackground",
|
|
14
|
-
"gutterForeground",
|
|
15
|
-
"lineHighlight",
|
|
16
|
-
"sublimeInit",
|
|
17
|
-
"options",
|
|
18
|
-
"theme",
|
|
19
|
-
"settings",
|
|
20
|
-
"styles",
|
|
21
|
-
"_extends",
|
|
22
|
-
"tag",
|
|
23
|
-
"meta",
|
|
24
|
-
"comment",
|
|
25
|
-
"color",
|
|
26
|
-
"attributeName",
|
|
27
|
-
"keyword",
|
|
28
|
-
"function",
|
|
29
|
-
"variableName",
|
|
30
|
-
"string",
|
|
31
|
-
"regexp",
|
|
32
|
-
"attributeValue",
|
|
33
|
-
"operator",
|
|
34
|
-
"tagName",
|
|
35
|
-
"modifier",
|
|
36
|
-
"number",
|
|
37
|
-
"definition",
|
|
38
|
-
"className",
|
|
39
|
-
"atom",
|
|
40
|
-
"bool",
|
|
41
|
-
"special",
|
|
42
|
-
"propertyName",
|
|
43
|
-
"typeName",
|
|
44
|
-
"sublime"
|
|
45
|
-
],
|
|
46
|
-
"sources": [
|
|
47
|
-
"../src/index.ts"
|
|
48
|
-
],
|
|
49
|
-
"sourcesContent": [
|
|
50
|
-
"import { tags as t } from '@lezer/highlight';\nimport { createTheme, CreateThemeOptions } from '@uiw/codemirror-themes';\n\nexport const defaultSettingsSublime: CreateThemeOptions['settings'] = {\n background: '#303841',\n foreground: '#FFFFFF',\n caret: '#FBAC52',\n selection: '#4C5964',\n selectionMatch: '#3A546E',\n gutterBackground: '#303841',\n gutterForeground: '#FFFFFF70',\n lineHighlight: '#00000059',\n};\n\nexport function sublimeInit(options?: Partial<CreateThemeOptions>) {\n const { theme = 'dark', settings = {}, styles = [] } = options || {};\n return createTheme({\n theme: theme,\n settings: {\n ...defaultSettingsSublime,\n ...settings,\n },\n styles: [\n { tag: [t.meta, t.comment], color: '#A2A9B5' },\n { tag: [t.attributeName, t.keyword], color: '#B78FBA' },\n { tag: t.function(t.variableName), color: '#5AB0B0' },\n { tag: [t.string, t.regexp, t.attributeValue], color: '#99C592' },\n { tag: t.operator, color: '#f47954' },\n // { tag: t.moduleKeyword, color: 'red' },\n { tag: [t.tagName, t.modifier], color: '#E35F63' },\n { tag: [t.number, t.definition(t.tagName), t.className, t.definition(t.variableName)], color: '#fbac52' },\n { tag: [t.atom, t.bool, t.special(t.variableName)], color: '#E35F63' },\n { tag: t.variableName, color: '#539ac4' },\n { tag: [t.propertyName, t.typeName], color: '#629ccd' },\n { tag: t.propertyName, color: '#36b7b5' },\n ...styles,\n ],\n });\n}\n\nexport const sublime = sublimeInit();\n"
|
|
51
|
-
],
|
|
52
|
-
"mappings": ";AAAA,SAASA,IAAI,IAAIC,CAA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