File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 192192}
193193
194194/* shiki multi-theme */
195- html [class = 'dark' ] code [data-theme *= ' ' ],
196- html [class = 'dark' ] code [data-theme *= ' ' ] span {
195+ /* https://github.com/vercel/next.js/issues/76052#issuecomment-2676709996 */
196+ html [class = 'dark' ] .prose code [data-theme ],
197+ html [class = 'dark' ] .prose code [data-theme ] span {
197198 color : var (--shiki-dark );
198199 background-color : var (--shiki-dark-bg );
199200}
200201
201- html [class = 'light' ] code [data-theme *= ' ' ],
202- html [class = 'light' ] code [data-theme *= ' ' ] span {
202+ html [class = 'light' ] . prose code [data-theme ],
203+ html [class = 'light' ] . prose code [data-theme ] span {
203204 color : var (--shiki-light );
204205 background-color : var (--shiki-light-bg );
205206}
You can’t perform that action at this time.
0 commit comments