@shikijs/types 3.5.0 → 3.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +9 -0
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -635,6 +635,15 @@ interface CodeOptionsMultipleThemes<Themes extends string = string> {
635
635
  * @default 'light'
636
636
  */
637
637
  defaultColor?: StringLiteralUnion<'light' | 'dark'> | 'light-dark()' | false;
638
+ /**
639
+ * The strategy to render multiple colors.
640
+ *
641
+ * - `css-vars`: Render the colors via CSS variables.
642
+ * - `none`: Do not render the colors, only use the default color.
643
+ *
644
+ * @default 'css-vars'
645
+ */
646
+ colorsRendering?: 'css-vars' | 'none';
638
647
  /**
639
648
  * Prefix of CSS variables used to store the color of the other theme.
640
649
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/types",
3
3
  "type": "module",
4
- "version": "3.5.0",
4
+ "version": "3.7.0",
5
5
  "description": "Type definitions for Shiki",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",