@shikijs/core 1.11.1 → 1.11.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.
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -866,7 +866,7 @@ function codeToTokens(internal, code, options) {
|
|
|
866
866
|
rootStyle = defaultColor ? undefined : [fg, bg].join(';');
|
|
867
867
|
}
|
|
868
868
|
else if ('theme' in options) {
|
|
869
|
-
const colorReplacements = resolveColorReplacements(options.theme, options
|
|
869
|
+
const colorReplacements = resolveColorReplacements(options.theme, options);
|
|
870
870
|
tokens = codeToTokensBase(internal, code, options);
|
|
871
871
|
const _theme = internal.getTheme(options.theme);
|
|
872
872
|
bg = applyColorReplacements(_theme.bg, colorReplacements);
|