svelte-highlight 7.6.1 → 7.7.0

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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "svelte-highlight",
3
- "version": "7.6.1",
3
+ "version": "7.7.0",
4
4
  "license": "MIT",
5
5
  "description": "Svelte component library for highlighting code using highlight.js",
6
6
  "author": "Eric Liu (https://github.com/metonym)",
7
7
  "type": "module",
8
8
  "dependencies": {
9
- "highlight.js": "11.9.0"
9
+ "highlight.js": "11.10.0"
10
10
  },
11
11
  "repository": {
12
12
  "type": "git",
@@ -0,0 +1,91 @@
1
+ pre code.hljs {
2
+ display: block;
3
+ overflow-x: auto;
4
+ padding: 1em;
5
+ }
6
+ code.hljs {
7
+ padding: 3px 5px;
8
+ }
9
+ /*!
10
+ Theme: 1c-light
11
+ Description: Style IDE 1C:Enterprise 8
12
+ Author: (c) Barilko Vitaliy <barilkovetal@gmail.com>
13
+ Maintainer: @Diversus23
14
+ Website: https://softonit.ru/
15
+ License: see project LICENSE
16
+ Touched: 2023
17
+ */
18
+ .hljs {
19
+ color: #0000ff;
20
+ background: #ffffff;
21
+ }
22
+ .hljs-comment {
23
+ color: #008000;
24
+ }
25
+ .hljs-tag {
26
+ color: #444a;
27
+ }
28
+ .hljs-tag .hljs-name,
29
+ .hljs-tag .hljs-attr {
30
+ color: #444;
31
+ }
32
+ .hljs-punctuation,
33
+ .hljs-function,
34
+ .hljs-keyword,
35
+ .hljs-attribute,
36
+ .hljs-selector-tag,
37
+ .hljs-doctag,
38
+ .hljs-name {
39
+ color: #ff0000;
40
+ }
41
+ .hljs-type,
42
+ .hljs-params {
43
+ color: #0000ff;
44
+ }
45
+ .hljs-string,
46
+ .hljs-number,
47
+ .hljs-selector-id,
48
+ .hljs-selector-class,
49
+ .hljs-quote,
50
+ .hljs-template-tag,
51
+ .hljs-symbol,
52
+ .hljs-deletion {
53
+ color: #000000;
54
+ }
55
+ .hljs-title,
56
+ .hljs-section {
57
+ color: #0000ff;
58
+ }
59
+ .hljs-regexp,
60
+ .hljs-variable,
61
+ .hljs-template-variable,
62
+ .hljs-link,
63
+ .hljs-selector-attr,
64
+ .hljs-operator,
65
+ .hljs-selector-pseudo {
66
+ color: #ab5656;
67
+ }
68
+ .hljs-literal {
69
+ color: #ff0000;
70
+ }
71
+ .hljs-built_in,
72
+ .hljs-bullet,
73
+ .hljs-code,
74
+ .hljs-addition {
75
+ color: #0000ff;
76
+ }
77
+ .hljs-meta {
78
+ color: #963200;
79
+ }
80
+ .hljs-meta .hljs-string {
81
+ color: #963200;
82
+ }
83
+ .hljs-meta .hljs-keyword {
84
+ color: #963200;
85
+ }
86
+ .hljs-emphasis {
87
+ font-style: italic;
88
+ }
89
+ .hljs-strong {
90
+ font-weight: bold;
91
+ }
@@ -0,0 +1 @@
1
+ export { _1cLight as default } from "./";
@@ -0,0 +1,37 @@
1
+ const _1cLight = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
2
+ /*!
3
+ Theme: 1c-light
4
+ Description: Style IDE 1C:Enterprise 8
5
+ Author: (c) Barilko Vitaliy <barilkovetal@gmail.com>
6
+ Maintainer: @Diversus23
7
+ Website: https://softonit.ru/
8
+ License: see project LICENSE
9
+ Touched: 2023
10
+ */.hljs{color:#0000ff;background:#ffffff}.hljs-comment{color:#008000}.hljs-tag{color:#444a}.hljs-tag .hljs-name,
11
+ .hljs-tag .hljs-attr{color:#444}.hljs-punctuation,
12
+ .hljs-function,
13
+ .hljs-keyword,
14
+ .hljs-attribute,
15
+ .hljs-selector-tag,
16
+ .hljs-doctag,
17
+ .hljs-name{color:#ff0000}.hljs-type,
18
+ .hljs-params{color:#0000ff}.hljs-string,
19
+ .hljs-number,
20
+ .hljs-selector-id,
21
+ .hljs-selector-class,
22
+ .hljs-quote,
23
+ .hljs-template-tag,
24
+ .hljs-symbol,
25
+ .hljs-deletion{color:#000000}.hljs-title,
26
+ .hljs-section{color:#0000ff}.hljs-regexp,
27
+ .hljs-variable,
28
+ .hljs-template-variable,
29
+ .hljs-link,
30
+ .hljs-selector-attr,
31
+ .hljs-operator,
32
+ .hljs-selector-pseudo{color:#ab5656}.hljs-literal{color:#ff0000}.hljs-built_in,
33
+ .hljs-bullet,
34
+ .hljs-code,
35
+ .hljs-addition{color:#0000ff}.hljs-meta{color:#963200}.hljs-meta .hljs-string{color:#963200}.hljs-meta .hljs-keyword{color:#963200}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}</style>`;
36
+
37
+ export default _1cLight;
package/styles/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export declare const _1cLight: string;
1
2
  export declare const _3024: string;
2
3
  export declare const a11yDark: string;
3
4
  export declare const a11yLight: string;
package/styles/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export { default as _1cLight } from "./1c-light";
1
2
  export { default as _3024 } from "./3024";
2
3
  export { default as a11yDark } from "./a11y-dark";
3
4
  export { default as a11yLight } from "./a11y-light";
@@ -15,6 +15,7 @@ code.hljs {
15
15
  .hljs-selector-tag,
16
16
  .hljs-literal,
17
17
  .hljs-strong,
18
+ .hljs-number,
18
19
  .hljs-name {
19
20
  color: #f92672;
20
21
  }
@@ -22,6 +23,7 @@ code.hljs {
22
23
  color: #66d9ef;
23
24
  }
24
25
  .hljs-attribute,
26
+ .hljs-attr,
25
27
  .hljs-symbol,
26
28
  .hljs-regexp,
27
29
  .hljs-link {
package/styles/monokai.js CHANGED
@@ -3,7 +3,9 @@ const monokai = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}
3
3
  .hljs-selector-tag,
4
4
  .hljs-literal,
5
5
  .hljs-strong,
6
+ .hljs-number,
6
7
  .hljs-name{color:#f92672}.hljs-code{color:#66d9ef}.hljs-attribute,
8
+ .hljs-attr,
7
9
  .hljs-symbol,
8
10
  .hljs-regexp,
9
11
  .hljs-link{color:#bf79db}.hljs-string,