boomack 0.15.0 → 0.15.1

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.
Files changed (129) hide show
  1. package/LICENSE.md +1 -1
  2. package/cli.mjs +2 -0
  3. package/client/public/css/prism-no-theme.css +190 -190
  4. package/client/themes/blue-night/prism.css +128 -128
  5. package/client/themes/blue-night/semantic.full.min.css +403 -403
  6. package/client/themes/blue-night/semantic.full.min.js +10 -10
  7. package/client/themes/blue-night/semantic.slim.min.css +98 -98
  8. package/client/themes/blue-night/semantic.slim.min.js +10 -10
  9. package/client/themes/dark/prism.css +173 -173
  10. package/client/themes/dark/semantic.full.min.css +403 -403
  11. package/client/themes/dark/semantic.full.min.js +10 -10
  12. package/client/themes/dark/semantic.slim.min.css +98 -98
  13. package/client/themes/dark/semantic.slim.min.js +10 -10
  14. package/client/themes/default/prism.css +190 -190
  15. package/client/themes/default/semantic.full.min.css +403 -403
  16. package/client/themes/default/semantic.full.min.js +10 -10
  17. package/client/themes/default/semantic.slim.min.css +98 -98
  18. package/client/themes/default/semantic.slim.min.js +10 -10
  19. package/client/themes/green-night/prism.css +128 -128
  20. package/client/themes/green-night/semantic.full.min.css +403 -403
  21. package/client/themes/green-night/semantic.full.min.js +10 -10
  22. package/client/themes/green-night/semantic.slim.min.css +98 -98
  23. package/client/themes/green-night/semantic.slim.min.js +10 -10
  24. package/client/themes/iron/prism.css +131 -131
  25. package/client/themes/iron/semantic.full.min.css +403 -403
  26. package/client/themes/iron/semantic.full.min.js +10 -10
  27. package/client/themes/iron/semantic.slim.min.css +98 -98
  28. package/client/themes/iron/semantic.slim.min.js +10 -10
  29. package/client/themes/red-night/prism.css +130 -130
  30. package/client/themes/red-night/semantic.full.min.css +403 -403
  31. package/client/themes/red-night/semantic.full.min.js +10 -10
  32. package/client/themes/red-night/semantic.slim.min.css +98 -98
  33. package/client/themes/red-night/semantic.slim.min.js +10 -10
  34. package/client/themes/science/prism.css +161 -161
  35. package/client/themes/science/semantic.full.min.css +403 -403
  36. package/client/themes/science/semantic.full.min.js +10 -10
  37. package/client/themes/science/semantic.slim.min.css +98 -98
  38. package/client/themes/science/semantic.slim.min.js +10 -10
  39. package/dist/index.mjs +555 -0
  40. package/package.json +28 -24
  41. package/server-build/cli.mjs +0 -3
  42. package/server-build/index.js +0 -475
  43. package/server-build/middleware/basic-auth.js +0 -16
  44. package/server-build/middleware/data-parser.js +0 -151
  45. package/server-build/middleware/standard-auth.js +0 -63
  46. package/server-build/middleware/token-auth.js +0 -51
  47. package/server-build/model/action.js +0 -30
  48. package/server-build/model/action.test.js +0 -31
  49. package/server-build/model/display-request.js +0 -170
  50. package/server-build/model/display-request.test.js +0 -237
  51. package/server-build/model/layout.js +0 -324
  52. package/server-build/model/layout.test.js +0 -341
  53. package/server-build/pipeline/format.js +0 -144
  54. package/server-build/pipeline/format.test.js +0 -362
  55. package/server-build/pipeline/load.js +0 -280
  56. package/server-build/pipeline/load.test.js +0 -319
  57. package/server-build/pipeline/render.js +0 -159
  58. package/server-build/pipeline/render.test.js +0 -114
  59. package/server-build/pipeline/store.js +0 -186
  60. package/server-build/pipeline/store.test.js +0 -183
  61. package/server-build/pipeline/transform.js +0 -75
  62. package/server-build/pipeline/transform.test.js +0 -79
  63. package/server-build/pipeline.js +0 -617
  64. package/server-build/pipeline.test.js +0 -415
  65. package/server-build/plugins/client-resources/tablesort.js +0 -109
  66. package/server-build/plugins/csv.js +0 -158
  67. package/server-build/plugins/generic.js +0 -27
  68. package/server-build/plugins/highlight.js +0 -63
  69. package/server-build/plugins/highlight.types.js +0 -123
  70. package/server-build/plugins/http.js +0 -138
  71. package/server-build/plugins/markdown.js +0 -106
  72. package/server-build/plugins/media.js +0 -101
  73. package/server-build/plugins/shell.js +0 -220
  74. package/server-build/plugins/shell.test.js +0 -296
  75. package/server-build/plugins/tcp.js +0 -142
  76. package/server-build/plugins/text.js +0 -71
  77. package/server-build/plugins/udp.js +0 -83
  78. package/server-build/routes/actions.js +0 -116
  79. package/server-build/routes/display-requests.js +0 -329
  80. package/server-build/routes/eval-requests.js +0 -143
  81. package/server-build/routes/export.js +0 -581
  82. package/server-build/routes/media-types.js +0 -101
  83. package/server-build/routes/panels.js +0 -218
  84. package/server-build/routes/presets.js +0 -88
  85. package/server-build/routes/resources.js +0 -66
  86. package/server-build/routes/web-client.js +0 -734
  87. package/server-build/service/actions.js +0 -162
  88. package/server-build/service/actions.test.js +0 -46
  89. package/server-build/service/char-encoding.js +0 -72
  90. package/server-build/service/char-encoding.test.js +0 -56
  91. package/server-build/service/cli-args.js +0 -89
  92. package/server-build/service/cli-args.test.js +0 -7
  93. package/server-build/service/client-resources.js +0 -28
  94. package/server-build/service/config-check.js +0 -97
  95. package/server-build/service/config.js +0 -465
  96. package/server-build/service/config.test.js +0 -247
  97. package/server-build/service/display-task-helper.js +0 -59
  98. package/server-build/service/highlight.js +0 -65
  99. package/server-build/service/html.js +0 -61
  100. package/server-build/service/html.test.js +0 -66
  101. package/server-build/service/logging.js +0 -72
  102. package/server-build/service/media-types.js +0 -112
  103. package/server-build/service/media-types.test.js +0 -43
  104. package/server-build/service/micro-markdown.js +0 -70
  105. package/server-build/service/micro-markdown.test.js +0 -26
  106. package/server-build/service/mime-type.js +0 -72
  107. package/server-build/service/mime-type.test.js +0 -65
  108. package/server-build/service/panels.js +0 -598
  109. package/server-build/service/panels.test.js +0 -737
  110. package/server-build/service/payload-encoding.js +0 -29
  111. package/server-build/service/persistence.js +0 -146
  112. package/server-build/service/plugins.js +0 -339
  113. package/server-build/service/plugins.test.js +0 -135
  114. package/server-build/service/presets.js +0 -130
  115. package/server-build/service/presets.test.js +0 -128
  116. package/server-build/service/rbac.js +0 -129
  117. package/server-build/service/render.js +0 -64
  118. package/server-build/service/render.test.js +0 -168
  119. package/server-build/service/resources.js +0 -434
  120. package/server-build/service/resources.test.js +0 -385
  121. package/server-build/service/response-messages.js +0 -88
  122. package/server-build/service/themes.js +0 -122
  123. package/server-build/service/transform.js +0 -76
  124. package/server-build/service/transform.test.js +0 -167
  125. package/server-build/service/web-ui-paths.js +0 -58
  126. package/server-build/service/web-user.js +0 -29
  127. package/server-build/typedefs.js +0 -552
  128. package/server-build/utils.js +0 -554
  129. package/server-build/utils.test.js +0 -398
package/LICENSE.md CHANGED
@@ -1,7 +1,7 @@
1
1
  The MIT License (MIT)
2
2
  =====================
3
3
 
4
- **Copyright (c) 2022 Tobias Kiertscher <dev@mastersign.de>**
4
+ **Copyright (c) 2025 Tobias Kiertscher <dev@mastersign.de>**
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
package/cli.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import './dist/index.mjs'
@@ -1,190 +1,190 @@
1
- /* PrismJS 1.17.1
2
- https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+abap+abnf+actionscript+ada+antlr4+apacheconf+apl+applescript+aql+c+arff+asciidoc+asm6502+csharp+autohotkey+autoit+bash+basic+batch+bbcode+bison+bnf+brainfuck+brightscript+bro+cpp+aspnet+arduino+cil+coffeescript+cmake+clojure+ruby+csp+css-extras+d+dart+diff+markup-templating+dns-zone-file+docker+ebnf+eiffel+ejs+elixir+elm+lua+erb+erlang+fsharp+firestore-security-rules+flow+fortran+ftl+gcode+gdscript+gedcom+gherkin+git+glsl+gml+go+graphql+groovy+less+handlebars+haskell+haxe+hcl+http+hpkp+hsts+ichigojam+icon+inform7+ini+io+j+java+scala+php+javastacktrace+jolie+jq+javadoclike+n4js+markdown+json+jsonp+json5+julia+keyman+kotlin+latex+crystal+scheme+liquid+lisp+livescript+lolcode+etlua+makefile+js-templates+django+matlab+mel+mizar+monkey+moonscript+n1ql+typescript+nand2tetris-hdl+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+pascaligo+pcaxis+perl+jsdoc+phpdoc+php-extras+sql+powershell+processing+prolog+properties+protobuf+scss+puppet+pure+python+q+qore+r+js-extras+jsx+renpy+reason+vala+rest+rip+roboconf+robotframework+textile+rust+plsql+sass+stylus+javadoc+lilypond+shell-session+smalltalk+smarty+solidity+soy+turtle+splunk-spl+sqf+sas+twig+swift+yaml+tcl+haml+toml+tt2+sparql+pug+tsx+t4-templating+visual-basic+t4-cs+regex+vbnet+velocity+verilog+vhdl+vim+t4-vb+wasm+wiki+xeora+xojo+xquery+tap+zig&plugins=line-numbers */
3
- /**
4
- * prism.js default theme for JavaScript, CSS and HTML
5
- * Based on dabblet (http://dabblet.com)
6
- * @author Lea Verou
7
- */
8
-
9
- code[class*="language-"],
10
- pre[class*="language-"] {
11
- color: black;
12
- background: none;
13
- text-shadow: 0 1px white;
14
- font-family: "Roboto Mono", Consolas, Courier, monospace;
15
- font-size: 1em;
16
- text-align: left;
17
- white-space: pre;
18
- word-spacing: normal;
19
- word-break: normal;
20
- word-wrap: normal;
21
- line-height: 1.5;
22
-
23
- -moz-tab-size: 4;
24
- -o-tab-size: 4;
25
- tab-size: 4;
26
-
27
- -webkit-hyphens: none;
28
- -moz-hyphens: none;
29
- -ms-hyphens: none;
30
- hyphens: none;
31
- }
32
-
33
- pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
34
- code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
35
- text-shadow: none;
36
- background: #b3d4fc;
37
- }
38
-
39
- pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
40
- code[class*="language-"]::selection, code[class*="language-"] ::selection {
41
- text-shadow: none;
42
- background: #b3d4fc;
43
- }
44
-
45
- @media print {
46
- code[class*="language-"],
47
- pre[class*="language-"] {
48
- text-shadow: none;
49
- }
50
- }
51
-
52
- /* Code blocks */
53
- pre[class*="language-"] {
54
- padding: 1em;
55
- margin: .5em 0;
56
- overflow: auto;
57
- }
58
-
59
- :not(pre) > code[class*="language-"],
60
- pre[class*="language-"] {
61
- background: #f5f2f0;
62
- }
63
-
64
- /* Inline code */
65
- :not(pre) > code[class*="language-"] {
66
- padding: .1em;
67
- border-radius: .3em;
68
- white-space: normal;
69
- }
70
-
71
- .token.comment,
72
- .token.block-comment,
73
- .token.prolog,
74
- .token.doctype,
75
- .token.cdata {
76
- color: slategray;
77
- }
78
-
79
- .token.comment,
80
- .token.block-comment {
81
- font-style: italic;
82
- }
83
-
84
- .token.punctuation {
85
- color: #999;
86
- }
87
-
88
- .namespace {
89
- opacity: .7;
90
- }
91
-
92
- .token.property,
93
- .token.tag,
94
- .token.boolean,
95
- .token.number,
96
- .token.constant,
97
- .token.symbol,
98
- .token.deleted {
99
- color: #905;
100
- }
101
-
102
- .token.selector,
103
- .token.attr-name,
104
- .token.string,
105
- .token.char,
106
- .token.builtin,
107
- .token.inserted {
108
- color: #690;
109
- }
110
-
111
- .token.operator,
112
- .token.entity,
113
- .token.url,
114
- .language-css .token.string,
115
- .style .token.string {
116
- color: #9a6e3a;
117
- background: hsla(0, 0%, 100%, .5);
118
- }
119
-
120
- .token.atrule,
121
- .token.attr-value,
122
- .token.keyword {
123
- color: #07a;
124
- }
125
-
126
- .token.function,
127
- .token.class-name {
128
- color: #DD4A68;
129
- }
130
-
131
- .token.regex,
132
- .token.important,
133
- .token.variable {
134
- color: #e90;
135
- }
136
-
137
- .token.important,
138
- .token.bold {
139
- font-weight: bold;
140
- }
141
- .token.italic {
142
- font-style: italic;
143
- }
144
-
145
- .token.entity {
146
- cursor: help;
147
- }
148
-
149
- pre[class*="language-"].line-numbers {
150
- position: relative;
151
- padding-left: 3.8em;
152
- counter-reset: linenumber;
153
- }
154
-
155
- pre[class*="language-"].line-numbers > code {
156
- position: relative;
157
- white-space: inherit;
158
- }
159
-
160
- .line-numbers .line-numbers-rows {
161
- position: absolute;
162
- pointer-events: none;
163
- top: 0;
164
- font-size: 100%;
165
- left: -3.8em;
166
- width: 3em; /* works for line-numbers below 1000 lines */
167
- letter-spacing: -1px;
168
- border-right: 1px solid #999;
169
-
170
- -webkit-user-select: none;
171
- -moz-user-select: none;
172
- -ms-user-select: none;
173
- user-select: none;
174
-
175
- }
176
-
177
- .line-numbers-rows > span {
178
- pointer-events: none;
179
- display: block;
180
- counter-increment: linenumber;
181
- }
182
-
183
- .line-numbers-rows > span:before {
184
- content: counter(linenumber);
185
- color: #999;
186
- display: block;
187
- padding-right: 0.8em;
188
- text-align: right;
189
- }
190
-
1
+ /* PrismJS 1.17.1
2
+ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+abap+abnf+actionscript+ada+antlr4+apacheconf+apl+applescript+aql+c+arff+asciidoc+asm6502+csharp+autohotkey+autoit+bash+basic+batch+bbcode+bison+bnf+brainfuck+brightscript+bro+cpp+aspnet+arduino+cil+coffeescript+cmake+clojure+ruby+csp+css-extras+d+dart+diff+markup-templating+dns-zone-file+docker+ebnf+eiffel+ejs+elixir+elm+lua+erb+erlang+fsharp+firestore-security-rules+flow+fortran+ftl+gcode+gdscript+gedcom+gherkin+git+glsl+gml+go+graphql+groovy+less+handlebars+haskell+haxe+hcl+http+hpkp+hsts+ichigojam+icon+inform7+ini+io+j+java+scala+php+javastacktrace+jolie+jq+javadoclike+n4js+markdown+json+jsonp+json5+julia+keyman+kotlin+latex+crystal+scheme+liquid+lisp+livescript+lolcode+etlua+makefile+js-templates+django+matlab+mel+mizar+monkey+moonscript+n1ql+typescript+nand2tetris-hdl+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+pascaligo+pcaxis+perl+jsdoc+phpdoc+php-extras+sql+powershell+processing+prolog+properties+protobuf+scss+puppet+pure+python+q+qore+r+js-extras+jsx+renpy+reason+vala+rest+rip+roboconf+robotframework+textile+rust+plsql+sass+stylus+javadoc+lilypond+shell-session+smalltalk+smarty+solidity+soy+turtle+splunk-spl+sqf+sas+twig+swift+yaml+tcl+haml+toml+tt2+sparql+pug+tsx+t4-templating+visual-basic+t4-cs+regex+vbnet+velocity+verilog+vhdl+vim+t4-vb+wasm+wiki+xeora+xojo+xquery+tap+zig&plugins=line-numbers */
3
+ /**
4
+ * prism.js default theme for JavaScript, CSS and HTML
5
+ * Based on dabblet (http://dabblet.com)
6
+ * @author Lea Verou
7
+ */
8
+
9
+ code[class*="language-"],
10
+ pre[class*="language-"] {
11
+ color: black;
12
+ background: none;
13
+ text-shadow: 0 1px white;
14
+ font-family: "Roboto Mono", Consolas, Courier, monospace;
15
+ font-size: 1em;
16
+ text-align: left;
17
+ white-space: pre;
18
+ word-spacing: normal;
19
+ word-break: normal;
20
+ word-wrap: normal;
21
+ line-height: 1.5;
22
+
23
+ -moz-tab-size: 4;
24
+ -o-tab-size: 4;
25
+ tab-size: 4;
26
+
27
+ -webkit-hyphens: none;
28
+ -moz-hyphens: none;
29
+ -ms-hyphens: none;
30
+ hyphens: none;
31
+ }
32
+
33
+ pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
34
+ code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
35
+ text-shadow: none;
36
+ background: #b3d4fc;
37
+ }
38
+
39
+ pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
40
+ code[class*="language-"]::selection, code[class*="language-"] ::selection {
41
+ text-shadow: none;
42
+ background: #b3d4fc;
43
+ }
44
+
45
+ @media print {
46
+ code[class*="language-"],
47
+ pre[class*="language-"] {
48
+ text-shadow: none;
49
+ }
50
+ }
51
+
52
+ /* Code blocks */
53
+ pre[class*="language-"] {
54
+ padding: 1em;
55
+ margin: .5em 0;
56
+ overflow: auto;
57
+ }
58
+
59
+ :not(pre) > code[class*="language-"],
60
+ pre[class*="language-"] {
61
+ background: #f5f2f0;
62
+ }
63
+
64
+ /* Inline code */
65
+ :not(pre) > code[class*="language-"] {
66
+ padding: .1em;
67
+ border-radius: .3em;
68
+ white-space: normal;
69
+ }
70
+
71
+ .token.comment,
72
+ .token.block-comment,
73
+ .token.prolog,
74
+ .token.doctype,
75
+ .token.cdata {
76
+ color: slategray;
77
+ }
78
+
79
+ .token.comment,
80
+ .token.block-comment {
81
+ font-style: italic;
82
+ }
83
+
84
+ .token.punctuation {
85
+ color: #999;
86
+ }
87
+
88
+ .namespace {
89
+ opacity: .7;
90
+ }
91
+
92
+ .token.property,
93
+ .token.tag,
94
+ .token.boolean,
95
+ .token.number,
96
+ .token.constant,
97
+ .token.symbol,
98
+ .token.deleted {
99
+ color: #905;
100
+ }
101
+
102
+ .token.selector,
103
+ .token.attr-name,
104
+ .token.string,
105
+ .token.char,
106
+ .token.builtin,
107
+ .token.inserted {
108
+ color: #690;
109
+ }
110
+
111
+ .token.operator,
112
+ .token.entity,
113
+ .token.url,
114
+ .language-css .token.string,
115
+ .style .token.string {
116
+ color: #9a6e3a;
117
+ background: hsla(0, 0%, 100%, .5);
118
+ }
119
+
120
+ .token.atrule,
121
+ .token.attr-value,
122
+ .token.keyword {
123
+ color: #07a;
124
+ }
125
+
126
+ .token.function,
127
+ .token.class-name {
128
+ color: #DD4A68;
129
+ }
130
+
131
+ .token.regex,
132
+ .token.important,
133
+ .token.variable {
134
+ color: #e90;
135
+ }
136
+
137
+ .token.important,
138
+ .token.bold {
139
+ font-weight: bold;
140
+ }
141
+ .token.italic {
142
+ font-style: italic;
143
+ }
144
+
145
+ .token.entity {
146
+ cursor: help;
147
+ }
148
+
149
+ pre[class*="language-"].line-numbers {
150
+ position: relative;
151
+ padding-left: 3.8em;
152
+ counter-reset: linenumber;
153
+ }
154
+
155
+ pre[class*="language-"].line-numbers > code {
156
+ position: relative;
157
+ white-space: inherit;
158
+ }
159
+
160
+ .line-numbers .line-numbers-rows {
161
+ position: absolute;
162
+ pointer-events: none;
163
+ top: 0;
164
+ font-size: 100%;
165
+ left: -3.8em;
166
+ width: 3em; /* works for line-numbers below 1000 lines */
167
+ letter-spacing: -1px;
168
+ border-right: 1px solid #999;
169
+
170
+ -webkit-user-select: none;
171
+ -moz-user-select: none;
172
+ -ms-user-select: none;
173
+ user-select: none;
174
+
175
+ }
176
+
177
+ .line-numbers-rows > span {
178
+ pointer-events: none;
179
+ display: block;
180
+ counter-increment: linenumber;
181
+ }
182
+
183
+ .line-numbers-rows > span:before {
184
+ content: counter(linenumber);
185
+ color: #999;
186
+ display: block;
187
+ padding-right: 0.8em;
188
+ text-align: right;
189
+ }
190
+
@@ -1,128 +1,128 @@
1
- /**
2
- * BlueNight for Boomack blue-night theme.
3
- * @author Tobias Kiertscher
4
- */
5
-
6
- code[class*="language-"],
7
- pre[class*="language-"] {
8
- color: #0000C0;
9
- background: none;
10
- font-family: "Roboto Mono", Consolas, Courier, monospace;
11
- font-size: 1em;
12
- text-align: left;
13
- white-space: pre;
14
- word-spacing: normal;
15
- word-break: normal;
16
- word-wrap: normal;
17
- line-height: 1.5;
18
-
19
- -moz-tab-size: 4;
20
- -o-tab-size: 4;
21
- tab-size: 4;
22
-
23
- -webkit-hyphens: none;
24
- -moz-hyphens: none;
25
- -ms-hyphens: none;
26
- hyphens: none;
27
- }
28
- /* Code blocks */
29
- pre[class*="language-"] {
30
- padding: 1em;
31
- margin: .5em 0;
32
- overflow: auto;
33
- }
34
-
35
- :not(pre) > code[class*="language-"],
36
- pre[class*="language-"] {
37
- background: #000000;
38
- }
39
-
40
- /* Inline code */
41
- :not(pre) > code[class*="language-"] {
42
- padding: .1em;
43
- border-radius: .3em;
44
- white-space: normal;
45
- }
46
-
47
- .token.comment,
48
- .token.block-comment,
49
- .token.prolog,
50
- .token.doctype,
51
- .token.cdata {
52
- color: #000060;
53
- }
54
-
55
- .token.comment,
56
- .token.block-comment {
57
- font-style: italic;
58
- }
59
-
60
- .token.punctuation {
61
- color: #0000D0;
62
- }
63
-
64
- .token.tag,
65
- .token.attr-name,
66
- .token.namespace,
67
- .token.deleted {
68
- color: #0000FF;
69
- }
70
-
71
- .token.function,
72
- .token.function-name {
73
- color: #0000FF;
74
- font-style: italic;
75
- }
76
-
77
- .token.boolean,
78
- .token.number {
79
- color: #0000C0;
80
- }
81
-
82
- .token.property,
83
- .token.class-name,
84
- .token.constant,
85
- .token.symbol {
86
- color: #0000FF;
87
- }
88
-
89
- .token.selector,
90
- .token.important,
91
- .token.atrule,
92
- .token.keyword,
93
- .token.builtin {
94
- color: #0000B8;
95
- font-weight: 700;
96
- }
97
-
98
- .token.string,
99
- .token.char,
100
- .token.attr-value,
101
- .token.regex,
102
- .token.variable {
103
- color: #0000E0;
104
- }
105
-
106
- .token.operator,
107
- .token.url {
108
- color: #0000F0;
109
- }
110
-
111
- .token.important,
112
- .token.bold {
113
- font-weight: bold;
114
- }
115
- .token.italic {
116
- font-style: italic;
117
- }
118
-
119
- .token.entity {
120
- background: #000040;
121
- color: #0000E0;
122
- font-style: italic;
123
- cursor: help;
124
- }
125
-
126
- .token.inserted {
127
- color: #5050FF;
128
- }
1
+ /**
2
+ * BlueNight for Boomack blue-night theme.
3
+ * @author Tobias Kiertscher
4
+ */
5
+
6
+ code[class*="language-"],
7
+ pre[class*="language-"] {
8
+ color: #0000C0;
9
+ background: none;
10
+ font-family: "Roboto Mono", Consolas, Courier, monospace;
11
+ font-size: 1em;
12
+ text-align: left;
13
+ white-space: pre;
14
+ word-spacing: normal;
15
+ word-break: normal;
16
+ word-wrap: normal;
17
+ line-height: 1.5;
18
+
19
+ -moz-tab-size: 4;
20
+ -o-tab-size: 4;
21
+ tab-size: 4;
22
+
23
+ -webkit-hyphens: none;
24
+ -moz-hyphens: none;
25
+ -ms-hyphens: none;
26
+ hyphens: none;
27
+ }
28
+ /* Code blocks */
29
+ pre[class*="language-"] {
30
+ padding: 1em;
31
+ margin: .5em 0;
32
+ overflow: auto;
33
+ }
34
+
35
+ :not(pre) > code[class*="language-"],
36
+ pre[class*="language-"] {
37
+ background: #000000;
38
+ }
39
+
40
+ /* Inline code */
41
+ :not(pre) > code[class*="language-"] {
42
+ padding: .1em;
43
+ border-radius: .3em;
44
+ white-space: normal;
45
+ }
46
+
47
+ .token.comment,
48
+ .token.block-comment,
49
+ .token.prolog,
50
+ .token.doctype,
51
+ .token.cdata {
52
+ color: #000060;
53
+ }
54
+
55
+ .token.comment,
56
+ .token.block-comment {
57
+ font-style: italic;
58
+ }
59
+
60
+ .token.punctuation {
61
+ color: #0000D0;
62
+ }
63
+
64
+ .token.tag,
65
+ .token.attr-name,
66
+ .token.namespace,
67
+ .token.deleted {
68
+ color: #0000FF;
69
+ }
70
+
71
+ .token.function,
72
+ .token.function-name {
73
+ color: #0000FF;
74
+ font-style: italic;
75
+ }
76
+
77
+ .token.boolean,
78
+ .token.number {
79
+ color: #0000C0;
80
+ }
81
+
82
+ .token.property,
83
+ .token.class-name,
84
+ .token.constant,
85
+ .token.symbol {
86
+ color: #0000FF;
87
+ }
88
+
89
+ .token.selector,
90
+ .token.important,
91
+ .token.atrule,
92
+ .token.keyword,
93
+ .token.builtin {
94
+ color: #0000B8;
95
+ font-weight: 700;
96
+ }
97
+
98
+ .token.string,
99
+ .token.char,
100
+ .token.attr-value,
101
+ .token.regex,
102
+ .token.variable {
103
+ color: #0000E0;
104
+ }
105
+
106
+ .token.operator,
107
+ .token.url {
108
+ color: #0000F0;
109
+ }
110
+
111
+ .token.important,
112
+ .token.bold {
113
+ font-weight: bold;
114
+ }
115
+ .token.italic {
116
+ font-style: italic;
117
+ }
118
+
119
+ .token.entity {
120
+ background: #000040;
121
+ color: #0000E0;
122
+ font-style: italic;
123
+ cursor: help;
124
+ }
125
+
126
+ .token.inserted {
127
+ color: #5050FF;
128
+ }