@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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. 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.colorReplacements);
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);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/core",
3
3
  "type": "module",
4
- "version": "1.11.1",
4
+ "version": "1.11.2",
5
5
  "description": "Core of Shiki",
6
6
  "author": "Pine Wu <octref@gmail.com>; Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",