koffi 1.3.1 → 1.3.2

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 (52) hide show
  1. package/CMakeLists.txt +6 -2
  2. package/ChangeLog.md +65 -0
  3. package/build/qemu/1.3.2/koffi_darwin_arm64.tar.gz +0 -0
  4. package/build/qemu/1.3.2/koffi_darwin_x64.tar.gz +0 -0
  5. package/build/qemu/1.3.2/koffi_freebsd_arm64.tar.gz +0 -0
  6. package/build/qemu/1.3.2/koffi_freebsd_ia32.tar.gz +0 -0
  7. package/build/qemu/1.3.2/koffi_freebsd_x64.tar.gz +0 -0
  8. package/build/qemu/1.3.2/koffi_linux_arm32hf.tar.gz +0 -0
  9. package/build/qemu/1.3.2/koffi_linux_arm64.tar.gz +0 -0
  10. package/build/qemu/1.3.2/koffi_linux_ia32.tar.gz +0 -0
  11. package/build/qemu/1.3.2/koffi_linux_riscv64hf64.tar.gz +0 -0
  12. package/build/qemu/1.3.2/koffi_linux_x64.tar.gz +0 -0
  13. package/build/qemu/1.3.2/koffi_openbsd_ia32.tar.gz +0 -0
  14. package/build/qemu/1.3.2/koffi_openbsd_x64.tar.gz +0 -0
  15. package/build/qemu/1.3.2/koffi_win32_arm64.tar.gz +0 -0
  16. package/build/qemu/1.3.2/koffi_win32_ia32.tar.gz +0 -0
  17. package/build/qemu/1.3.2/koffi_win32_x64.tar.gz +0 -0
  18. package/doc/conf.py +2 -2
  19. package/doc/dist/doctrees/environment.pickle +0 -0
  20. package/doc/dist/doctrees/index.doctree +0 -0
  21. package/doc/dist/html/_static/pygments.css +54 -54
  22. package/doc/dist/html/functions.html +66 -66
  23. package/doc/dist/html/index.html +2 -2
  24. package/doc/dist/html/memory.html +2 -2
  25. package/doc/dist/html/objects.inv +0 -0
  26. package/doc/dist/html/platforms.html +1 -1
  27. package/doc/dist/html/searchindex.js +1 -1
  28. package/doc/dist/html/start.html +45 -45
  29. package/doc/dist/html/types.html +152 -152
  30. package/package.json +3 -2
  31. package/qemu/qemu.js +1 -1
  32. package/src/abi_x64_sysv_fwd.S +14 -4
  33. package/src/abi_x86_fwd.S +6 -4
  34. package/src/call.cc +4 -4
  35. package/test/CMakeLists.txt +1 -1
  36. package/vendor/libcc/libcc.cc +17 -5
  37. package/vendor/libcc/libcc.hh +32 -0
  38. package/build/qemu/1.3.1/koffi_darwin_arm64.tar.gz +0 -0
  39. package/build/qemu/1.3.1/koffi_darwin_x64.tar.gz +0 -0
  40. package/build/qemu/1.3.1/koffi_freebsd_arm64.tar.gz +0 -0
  41. package/build/qemu/1.3.1/koffi_freebsd_ia32.tar.gz +0 -0
  42. package/build/qemu/1.3.1/koffi_freebsd_x64.tar.gz +0 -0
  43. package/build/qemu/1.3.1/koffi_linux_arm32hf.tar.gz +0 -0
  44. package/build/qemu/1.3.1/koffi_linux_arm64.tar.gz +0 -0
  45. package/build/qemu/1.3.1/koffi_linux_ia32.tar.gz +0 -0
  46. package/build/qemu/1.3.1/koffi_linux_riscv64hf64.tar.gz +0 -0
  47. package/build/qemu/1.3.1/koffi_linux_x64.tar.gz +0 -0
  48. package/build/qemu/1.3.1/koffi_openbsd_ia32.tar.gz +0 -0
  49. package/build/qemu/1.3.1/koffi_openbsd_x64.tar.gz +0 -0
  50. package/build/qemu/1.3.1/koffi_win32_arm64.tar.gz +0 -0
  51. package/build/qemu/1.3.1/koffi_win32_ia32.tar.gz +0 -0
  52. package/build/qemu/1.3.1/koffi_win32_x64.tar.gz +0 -0
package/CMakeLists.txt CHANGED
@@ -11,12 +11,16 @@
11
11
  # You should have received a copy of the GNU Affero General Public License
12
12
  # along with this program. If not, see https://www.gnu.org/licenses/.
13
13
 
14
- cmake_minimum_required(VERSION 3.12)
14
+ cmake_minimum_required(VERSION 3.6)
15
15
  project(koffi C CXX ASM)
16
16
 
17
17
  find_package(CNoke)
18
18
 
19
- set(CMAKE_CXX_STANDARD 17)
19
+ if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.8.0")
20
+ set(CMAKE_CXX_STANDARD 17)
21
+ else()
22
+ set(CMAKE_CXX_STANDARD 14)
23
+ endif()
20
24
  if(MSVC)
21
25
  add_compile_options(/W4 /wd4200 /wd4458 /wd4706 /wd4100 /wd4127 /wd4702 /wd4201 /wd4324)
22
26
 
package/ChangeLog.md ADDED
@@ -0,0 +1,65 @@
1
+ # Koffi 1.3.2
2
+
3
+ ## Main fixes
4
+
5
+ - Support compilation in C++14 mode (graceful degradation)
6
+ - Support older toolchains on Linux (tested on Debian 9)
7
+
8
+ # Koffi 1.3.1
9
+
10
+ ## Main fixes
11
+
12
+ - The prebuilt binary is tested when Koffi is installed, and a rebuild happens if it fails to load
13
+
14
+ # Koffi 1.3.0
15
+
16
+ ## Major changes
17
+
18
+ - Expand and move documentation to https://koffi.dev/
19
+ - Support JS arrays and TypedArrays for pointer arguments (input, output and mixed)
20
+
21
+ ## Other changes
22
+
23
+ - Convert NULL string pointers to null instead of crashing (return values, struct and array members, callbacks)
24
+ - Default to 'string' array hint for char, char16 and char16_t arrays
25
+ - Fix definition of long types on Windows x64 (LLP64 model)
26
+ - Restrict automatic string conversion to signed char types
27
+ - Detect floating-point ABI before using prebuilt binaries (ARM32, RISC-V)
28
+ - Forbid duplicate member names in struct types
29
+
30
+ # Koffi 1.2.4
31
+
32
+ ## New features
33
+
34
+ - Windows ARM64 is now supported
35
+
36
+ # Koffi 1.2.3
37
+
38
+ ## New features
39
+
40
+ - A prebuilt binary for macOS ARM64 (M1) is now included
41
+
42
+ # Koffi 1.2.1
43
+
44
+ This entry documents changes since version 1.1.0.
45
+
46
+ ## New features
47
+
48
+ - JS functions can be used as C callbacks (cdecl, stdcall) on all platforms
49
+ - RISC-V 64 LP64D ABI is supported (LP64 is untested)
50
+ - Expose settings for memory usage of synchronous and asynchronous calls
51
+ - Transparent conversion between C buffers and strings
52
+ - Tentative support for Windows ARM64 (untested)
53
+
54
+ ## Main fixes
55
+
56
+ - Fix excessive stack alignment of structs on x86 platforms
57
+ - Fix potential problems with big int64_t/uint64_t values
58
+ - Fix possible struct layout errors in push/pop code
59
+ - Fix alignment issues in ARM32 push code
60
+ - Fix incomplete/buggy support for HFA structs on ARM32 and ARM64
61
+ - Fix crashes on OpenBSD caused by missing MAP_STACK flag
62
+ - Fix non-sense "duplicate array type" errors
63
+ - Fix value `koffi.internal` to false in module (normal) builds
64
+ - Make sure we have a redzone below the stack for all architectures
65
+ - Use slower allocation for big objects instead of failing
package/doc/conf.py CHANGED
@@ -3,8 +3,8 @@
3
3
  project = 'Koffi'
4
4
  copyright = '2022, Niels Martignène'
5
5
  author = 'Niels Martignène'
6
- version = '1.3.1'
7
- revision = '1.3.1'
6
+ version = '1.3.2'
7
+ revision = '1.3.2'
8
8
 
9
9
  # -- General configuration ---------------------------------------------------
10
10
 
Binary file
@@ -88,21 +88,21 @@ body[data-theme="dark"] .highlight td.linenos .special { color: #000000; backgro
88
88
  body[data-theme="dark"] .highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
89
89
  body[data-theme="dark"] .highlight .hll { background-color: #404040 }
90
90
  body[data-theme="dark"] .highlight { background: #202020; color: #d0d0d0 }
91
- body[data-theme="dark"] .highlight .c { color: #ababab; font-style: italic } /* Comment */
91
+ body[data-theme="dark"] .highlight .c { color: #999999; font-style: italic } /* Comment */
92
92
  body[data-theme="dark"] .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
93
93
  body[data-theme="dark"] .highlight .esc { color: #d0d0d0 } /* Escape */
94
94
  body[data-theme="dark"] .highlight .g { color: #d0d0d0 } /* Generic */
95
- body[data-theme="dark"] .highlight .k { color: #6ebf26; font-weight: bold } /* Keyword */
95
+ body[data-theme="dark"] .highlight .k { color: #6ab825; font-weight: bold } /* Keyword */
96
96
  body[data-theme="dark"] .highlight .l { color: #d0d0d0 } /* Literal */
97
97
  body[data-theme="dark"] .highlight .n { color: #d0d0d0 } /* Name */
98
98
  body[data-theme="dark"] .highlight .o { color: #d0d0d0 } /* Operator */
99
99
  body[data-theme="dark"] .highlight .x { color: #d0d0d0 } /* Other */
100
100
  body[data-theme="dark"] .highlight .p { color: #d0d0d0 } /* Punctuation */
101
- body[data-theme="dark"] .highlight .ch { color: #ababab; font-style: italic } /* Comment.Hashbang */
102
- body[data-theme="dark"] .highlight .cm { color: #ababab; font-style: italic } /* Comment.Multiline */
101
+ body[data-theme="dark"] .highlight .ch { color: #999999; font-style: italic } /* Comment.Hashbang */
102
+ body[data-theme="dark"] .highlight .cm { color: #999999; font-style: italic } /* Comment.Multiline */
103
103
  body[data-theme="dark"] .highlight .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */
104
- body[data-theme="dark"] .highlight .cpf { color: #ababab; font-style: italic } /* Comment.PreprocFile */
105
- body[data-theme="dark"] .highlight .c1 { color: #ababab; font-style: italic } /* Comment.Single */
104
+ body[data-theme="dark"] .highlight .cpf { color: #999999; font-style: italic } /* Comment.PreprocFile */
105
+ body[data-theme="dark"] .highlight .c1 { color: #999999; font-style: italic } /* Comment.Single */
106
106
  body[data-theme="dark"] .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
107
107
  body[data-theme="dark"] .highlight .gd { color: #d22323 } /* Generic.Deleted */
108
108
  body[data-theme="dark"] .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
@@ -114,36 +114,36 @@ body[data-theme="dark"] .highlight .gp { color: #aaaaaa } /* Generic.Prompt */
114
114
  body[data-theme="dark"] .highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
115
115
  body[data-theme="dark"] .highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
116
116
  body[data-theme="dark"] .highlight .gt { color: #d22323 } /* Generic.Traceback */
117
- body[data-theme="dark"] .highlight .kc { color: #6ebf26; font-weight: bold } /* Keyword.Constant */
118
- body[data-theme="dark"] .highlight .kd { color: #6ebf26; font-weight: bold } /* Keyword.Declaration */
119
- body[data-theme="dark"] .highlight .kn { color: #6ebf26; font-weight: bold } /* Keyword.Namespace */
120
- body[data-theme="dark"] .highlight .kp { color: #6ebf26 } /* Keyword.Pseudo */
121
- body[data-theme="dark"] .highlight .kr { color: #6ebf26; font-weight: bold } /* Keyword.Reserved */
122
- body[data-theme="dark"] .highlight .kt { color: #6ebf26; font-weight: bold } /* Keyword.Type */
117
+ body[data-theme="dark"] .highlight .kc { color: #6ab825; font-weight: bold } /* Keyword.Constant */
118
+ body[data-theme="dark"] .highlight .kd { color: #6ab825; font-weight: bold } /* Keyword.Declaration */
119
+ body[data-theme="dark"] .highlight .kn { color: #6ab825; font-weight: bold } /* Keyword.Namespace */
120
+ body[data-theme="dark"] .highlight .kp { color: #6ab825 } /* Keyword.Pseudo */
121
+ body[data-theme="dark"] .highlight .kr { color: #6ab825; font-weight: bold } /* Keyword.Reserved */
122
+ body[data-theme="dark"] .highlight .kt { color: #6ab825; font-weight: bold } /* Keyword.Type */
123
123
  body[data-theme="dark"] .highlight .ld { color: #d0d0d0 } /* Literal.Date */
124
- body[data-theme="dark"] .highlight .m { color: #51b2fd } /* Literal.Number */
124
+ body[data-theme="dark"] .highlight .m { color: #3677a9 } /* Literal.Number */
125
125
  body[data-theme="dark"] .highlight .s { color: #ed9d13 } /* Literal.String */
126
126
  body[data-theme="dark"] .highlight .na { color: #bbbbbb } /* Name.Attribute */
127
- body[data-theme="dark"] .highlight .nb { color: #2fbccd } /* Name.Builtin */
128
- body[data-theme="dark"] .highlight .nc { color: #71adff; text-decoration: underline } /* Name.Class */
127
+ body[data-theme="dark"] .highlight .nb { color: #24909d } /* Name.Builtin */
128
+ body[data-theme="dark"] .highlight .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
129
129
  body[data-theme="dark"] .highlight .no { color: #40ffff } /* Name.Constant */
130
130
  body[data-theme="dark"] .highlight .nd { color: #ffa500 } /* Name.Decorator */
131
131
  body[data-theme="dark"] .highlight .ni { color: #d0d0d0 } /* Name.Entity */
132
132
  body[data-theme="dark"] .highlight .ne { color: #bbbbbb } /* Name.Exception */
133
- body[data-theme="dark"] .highlight .nf { color: #71adff } /* Name.Function */
133
+ body[data-theme="dark"] .highlight .nf { color: #447fcf } /* Name.Function */
134
134
  body[data-theme="dark"] .highlight .nl { color: #d0d0d0 } /* Name.Label */
135
- body[data-theme="dark"] .highlight .nn { color: #71adff; text-decoration: underline } /* Name.Namespace */
135
+ body[data-theme="dark"] .highlight .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
136
136
  body[data-theme="dark"] .highlight .nx { color: #d0d0d0 } /* Name.Other */
137
137
  body[data-theme="dark"] .highlight .py { color: #d0d0d0 } /* Name.Property */
138
- body[data-theme="dark"] .highlight .nt { color: #6ebf26; font-weight: bold } /* Name.Tag */
138
+ body[data-theme="dark"] .highlight .nt { color: #6ab825; font-weight: bold } /* Name.Tag */
139
139
  body[data-theme="dark"] .highlight .nv { color: #40ffff } /* Name.Variable */
140
- body[data-theme="dark"] .highlight .ow { color: #6ebf26; font-weight: bold } /* Operator.Word */
140
+ body[data-theme="dark"] .highlight .ow { color: #6ab825; font-weight: bold } /* Operator.Word */
141
141
  body[data-theme="dark"] .highlight .w { color: #666666 } /* Text.Whitespace */
142
- body[data-theme="dark"] .highlight .mb { color: #51b2fd } /* Literal.Number.Bin */
143
- body[data-theme="dark"] .highlight .mf { color: #51b2fd } /* Literal.Number.Float */
144
- body[data-theme="dark"] .highlight .mh { color: #51b2fd } /* Literal.Number.Hex */
145
- body[data-theme="dark"] .highlight .mi { color: #51b2fd } /* Literal.Number.Integer */
146
- body[data-theme="dark"] .highlight .mo { color: #51b2fd } /* Literal.Number.Oct */
142
+ body[data-theme="dark"] .highlight .mb { color: #3677a9 } /* Literal.Number.Bin */
143
+ body[data-theme="dark"] .highlight .mf { color: #3677a9 } /* Literal.Number.Float */
144
+ body[data-theme="dark"] .highlight .mh { color: #3677a9 } /* Literal.Number.Hex */
145
+ body[data-theme="dark"] .highlight .mi { color: #3677a9 } /* Literal.Number.Integer */
146
+ body[data-theme="dark"] .highlight .mo { color: #3677a9 } /* Literal.Number.Oct */
147
147
  body[data-theme="dark"] .highlight .sa { color: #ed9d13 } /* Literal.String.Affix */
148
148
  body[data-theme="dark"] .highlight .sb { color: #ed9d13 } /* Literal.String.Backtick */
149
149
  body[data-theme="dark"] .highlight .sc { color: #ed9d13 } /* Literal.String.Char */
@@ -157,13 +157,13 @@ body[data-theme="dark"] .highlight .sx { color: #ffa500 } /* Literal.String.Othe
157
157
  body[data-theme="dark"] .highlight .sr { color: #ed9d13 } /* Literal.String.Regex */
158
158
  body[data-theme="dark"] .highlight .s1 { color: #ed9d13 } /* Literal.String.Single */
159
159
  body[data-theme="dark"] .highlight .ss { color: #ed9d13 } /* Literal.String.Symbol */
160
- body[data-theme="dark"] .highlight .bp { color: #2fbccd } /* Name.Builtin.Pseudo */
161
- body[data-theme="dark"] .highlight .fm { color: #71adff } /* Name.Function.Magic */
160
+ body[data-theme="dark"] .highlight .bp { color: #24909d } /* Name.Builtin.Pseudo */
161
+ body[data-theme="dark"] .highlight .fm { color: #447fcf } /* Name.Function.Magic */
162
162
  body[data-theme="dark"] .highlight .vc { color: #40ffff } /* Name.Variable.Class */
163
163
  body[data-theme="dark"] .highlight .vg { color: #40ffff } /* Name.Variable.Global */
164
164
  body[data-theme="dark"] .highlight .vi { color: #40ffff } /* Name.Variable.Instance */
165
165
  body[data-theme="dark"] .highlight .vm { color: #40ffff } /* Name.Variable.Magic */
166
- body[data-theme="dark"] .highlight .il { color: #51b2fd } /* Literal.Number.Integer.Long */
166
+ body[data-theme="dark"] .highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */
167
167
  @media (prefers-color-scheme: dark) {
168
168
  body:not([data-theme="light"]) .highlight pre { line-height: 125%; }
169
169
  body:not([data-theme="light"]) .highlight td.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; }
@@ -172,21 +172,21 @@ body:not([data-theme="light"]) .highlight td.linenos .special { color: #000000;
172
172
  body:not([data-theme="light"]) .highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
173
173
  body:not([data-theme="light"]) .highlight .hll { background-color: #404040 }
174
174
  body:not([data-theme="light"]) .highlight { background: #202020; color: #d0d0d0 }
175
- body:not([data-theme="light"]) .highlight .c { color: #ababab; font-style: italic } /* Comment */
175
+ body:not([data-theme="light"]) .highlight .c { color: #999999; font-style: italic } /* Comment */
176
176
  body:not([data-theme="light"]) .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
177
177
  body:not([data-theme="light"]) .highlight .esc { color: #d0d0d0 } /* Escape */
178
178
  body:not([data-theme="light"]) .highlight .g { color: #d0d0d0 } /* Generic */
179
- body:not([data-theme="light"]) .highlight .k { color: #6ebf26; font-weight: bold } /* Keyword */
179
+ body:not([data-theme="light"]) .highlight .k { color: #6ab825; font-weight: bold } /* Keyword */
180
180
  body:not([data-theme="light"]) .highlight .l { color: #d0d0d0 } /* Literal */
181
181
  body:not([data-theme="light"]) .highlight .n { color: #d0d0d0 } /* Name */
182
182
  body:not([data-theme="light"]) .highlight .o { color: #d0d0d0 } /* Operator */
183
183
  body:not([data-theme="light"]) .highlight .x { color: #d0d0d0 } /* Other */
184
184
  body:not([data-theme="light"]) .highlight .p { color: #d0d0d0 } /* Punctuation */
185
- body:not([data-theme="light"]) .highlight .ch { color: #ababab; font-style: italic } /* Comment.Hashbang */
186
- body:not([data-theme="light"]) .highlight .cm { color: #ababab; font-style: italic } /* Comment.Multiline */
185
+ body:not([data-theme="light"]) .highlight .ch { color: #999999; font-style: italic } /* Comment.Hashbang */
186
+ body:not([data-theme="light"]) .highlight .cm { color: #999999; font-style: italic } /* Comment.Multiline */
187
187
  body:not([data-theme="light"]) .highlight .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */
188
- body:not([data-theme="light"]) .highlight .cpf { color: #ababab; font-style: italic } /* Comment.PreprocFile */
189
- body:not([data-theme="light"]) .highlight .c1 { color: #ababab; font-style: italic } /* Comment.Single */
188
+ body:not([data-theme="light"]) .highlight .cpf { color: #999999; font-style: italic } /* Comment.PreprocFile */
189
+ body:not([data-theme="light"]) .highlight .c1 { color: #999999; font-style: italic } /* Comment.Single */
190
190
  body:not([data-theme="light"]) .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
191
191
  body:not([data-theme="light"]) .highlight .gd { color: #d22323 } /* Generic.Deleted */
192
192
  body:not([data-theme="light"]) .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
@@ -198,36 +198,36 @@ body:not([data-theme="light"]) .highlight .gp { color: #aaaaaa } /* Generic.Prom
198
198
  body:not([data-theme="light"]) .highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
199
199
  body:not([data-theme="light"]) .highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
200
200
  body:not([data-theme="light"]) .highlight .gt { color: #d22323 } /* Generic.Traceback */
201
- body:not([data-theme="light"]) .highlight .kc { color: #6ebf26; font-weight: bold } /* Keyword.Constant */
202
- body:not([data-theme="light"]) .highlight .kd { color: #6ebf26; font-weight: bold } /* Keyword.Declaration */
203
- body:not([data-theme="light"]) .highlight .kn { color: #6ebf26; font-weight: bold } /* Keyword.Namespace */
204
- body:not([data-theme="light"]) .highlight .kp { color: #6ebf26 } /* Keyword.Pseudo */
205
- body:not([data-theme="light"]) .highlight .kr { color: #6ebf26; font-weight: bold } /* Keyword.Reserved */
206
- body:not([data-theme="light"]) .highlight .kt { color: #6ebf26; font-weight: bold } /* Keyword.Type */
201
+ body:not([data-theme="light"]) .highlight .kc { color: #6ab825; font-weight: bold } /* Keyword.Constant */
202
+ body:not([data-theme="light"]) .highlight .kd { color: #6ab825; font-weight: bold } /* Keyword.Declaration */
203
+ body:not([data-theme="light"]) .highlight .kn { color: #6ab825; font-weight: bold } /* Keyword.Namespace */
204
+ body:not([data-theme="light"]) .highlight .kp { color: #6ab825 } /* Keyword.Pseudo */
205
+ body:not([data-theme="light"]) .highlight .kr { color: #6ab825; font-weight: bold } /* Keyword.Reserved */
206
+ body:not([data-theme="light"]) .highlight .kt { color: #6ab825; font-weight: bold } /* Keyword.Type */
207
207
  body:not([data-theme="light"]) .highlight .ld { color: #d0d0d0 } /* Literal.Date */
208
- body:not([data-theme="light"]) .highlight .m { color: #51b2fd } /* Literal.Number */
208
+ body:not([data-theme="light"]) .highlight .m { color: #3677a9 } /* Literal.Number */
209
209
  body:not([data-theme="light"]) .highlight .s { color: #ed9d13 } /* Literal.String */
210
210
  body:not([data-theme="light"]) .highlight .na { color: #bbbbbb } /* Name.Attribute */
211
- body:not([data-theme="light"]) .highlight .nb { color: #2fbccd } /* Name.Builtin */
212
- body:not([data-theme="light"]) .highlight .nc { color: #71adff; text-decoration: underline } /* Name.Class */
211
+ body:not([data-theme="light"]) .highlight .nb { color: #24909d } /* Name.Builtin */
212
+ body:not([data-theme="light"]) .highlight .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
213
213
  body:not([data-theme="light"]) .highlight .no { color: #40ffff } /* Name.Constant */
214
214
  body:not([data-theme="light"]) .highlight .nd { color: #ffa500 } /* Name.Decorator */
215
215
  body:not([data-theme="light"]) .highlight .ni { color: #d0d0d0 } /* Name.Entity */
216
216
  body:not([data-theme="light"]) .highlight .ne { color: #bbbbbb } /* Name.Exception */
217
- body:not([data-theme="light"]) .highlight .nf { color: #71adff } /* Name.Function */
217
+ body:not([data-theme="light"]) .highlight .nf { color: #447fcf } /* Name.Function */
218
218
  body:not([data-theme="light"]) .highlight .nl { color: #d0d0d0 } /* Name.Label */
219
- body:not([data-theme="light"]) .highlight .nn { color: #71adff; text-decoration: underline } /* Name.Namespace */
219
+ body:not([data-theme="light"]) .highlight .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
220
220
  body:not([data-theme="light"]) .highlight .nx { color: #d0d0d0 } /* Name.Other */
221
221
  body:not([data-theme="light"]) .highlight .py { color: #d0d0d0 } /* Name.Property */
222
- body:not([data-theme="light"]) .highlight .nt { color: #6ebf26; font-weight: bold } /* Name.Tag */
222
+ body:not([data-theme="light"]) .highlight .nt { color: #6ab825; font-weight: bold } /* Name.Tag */
223
223
  body:not([data-theme="light"]) .highlight .nv { color: #40ffff } /* Name.Variable */
224
- body:not([data-theme="light"]) .highlight .ow { color: #6ebf26; font-weight: bold } /* Operator.Word */
224
+ body:not([data-theme="light"]) .highlight .ow { color: #6ab825; font-weight: bold } /* Operator.Word */
225
225
  body:not([data-theme="light"]) .highlight .w { color: #666666 } /* Text.Whitespace */
226
- body:not([data-theme="light"]) .highlight .mb { color: #51b2fd } /* Literal.Number.Bin */
227
- body:not([data-theme="light"]) .highlight .mf { color: #51b2fd } /* Literal.Number.Float */
228
- body:not([data-theme="light"]) .highlight .mh { color: #51b2fd } /* Literal.Number.Hex */
229
- body:not([data-theme="light"]) .highlight .mi { color: #51b2fd } /* Literal.Number.Integer */
230
- body:not([data-theme="light"]) .highlight .mo { color: #51b2fd } /* Literal.Number.Oct */
226
+ body:not([data-theme="light"]) .highlight .mb { color: #3677a9 } /* Literal.Number.Bin */
227
+ body:not([data-theme="light"]) .highlight .mf { color: #3677a9 } /* Literal.Number.Float */
228
+ body:not([data-theme="light"]) .highlight .mh { color: #3677a9 } /* Literal.Number.Hex */
229
+ body:not([data-theme="light"]) .highlight .mi { color: #3677a9 } /* Literal.Number.Integer */
230
+ body:not([data-theme="light"]) .highlight .mo { color: #3677a9 } /* Literal.Number.Oct */
231
231
  body:not([data-theme="light"]) .highlight .sa { color: #ed9d13 } /* Literal.String.Affix */
232
232
  body:not([data-theme="light"]) .highlight .sb { color: #ed9d13 } /* Literal.String.Backtick */
233
233
  body:not([data-theme="light"]) .highlight .sc { color: #ed9d13 } /* Literal.String.Char */
@@ -241,12 +241,12 @@ body:not([data-theme="light"]) .highlight .sx { color: #ffa500 } /* Literal.Stri
241
241
  body:not([data-theme="light"]) .highlight .sr { color: #ed9d13 } /* Literal.String.Regex */
242
242
  body:not([data-theme="light"]) .highlight .s1 { color: #ed9d13 } /* Literal.String.Single */
243
243
  body:not([data-theme="light"]) .highlight .ss { color: #ed9d13 } /* Literal.String.Symbol */
244
- body:not([data-theme="light"]) .highlight .bp { color: #2fbccd } /* Name.Builtin.Pseudo */
245
- body:not([data-theme="light"]) .highlight .fm { color: #71adff } /* Name.Function.Magic */
244
+ body:not([data-theme="light"]) .highlight .bp { color: #24909d } /* Name.Builtin.Pseudo */
245
+ body:not([data-theme="light"]) .highlight .fm { color: #447fcf } /* Name.Function.Magic */
246
246
  body:not([data-theme="light"]) .highlight .vc { color: #40ffff } /* Name.Variable.Class */
247
247
  body:not([data-theme="light"]) .highlight .vg { color: #40ffff } /* Name.Variable.Global */
248
248
  body:not([data-theme="light"]) .highlight .vi { color: #40ffff } /* Name.Variable.Instance */
249
249
  body:not([data-theme="light"]) .highlight .vm { color: #40ffff } /* Name.Variable.Magic */
250
- body:not([data-theme="light"]) .highlight .il { color: #51b2fd } /* Literal.Number.Integer.Long */
250
+ body:not([data-theme="light"]) .highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */
251
251
  }
252
252
  }