@shikijs/types 3.4.1 → 3.5.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 +6 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -626,10 +626,15 @@ interface CodeOptionsMultipleThemes<Themes extends string = string> {
|
|
|
626
626
|
* <span style="--shiki-light:#{light};--shiki-dark:#{dark};--shiki-custom:#{custom};">code</span>
|
|
627
627
|
* ```
|
|
628
628
|
*
|
|
629
|
+
* When set to `light-dark()`, the default color will be rendered as `light-dark(#{light}, #{dark})`.
|
|
630
|
+
*
|
|
631
|
+
* ```html
|
|
632
|
+
* <span style="color:light-dark(#{light}, #{dark});--shiki-dark:#{dark};--shiki-custom:#{custom};">code</span>
|
|
633
|
+
* ```
|
|
629
634
|
*
|
|
630
635
|
* @default 'light'
|
|
631
636
|
*/
|
|
632
|
-
defaultColor?: StringLiteralUnion<'light' | 'dark'> | false;
|
|
637
|
+
defaultColor?: StringLiteralUnion<'light' | 'dark'> | 'light-dark()' | false;
|
|
633
638
|
/**
|
|
634
639
|
* Prefix of CSS variables used to store the color of the other theme.
|
|
635
640
|
*
|