@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.
- package/dist/index.d.mts +9 -0
- 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
|
*
|