lighter
lighter copied to clipboard
`from-css` themes don't work with `scopes: true`
highlight("console.log(1)", "js", "github-from-css", {
scopes: true
})
returns
"style": {
"color": "#000000"
},
instead of the CSS var names
Is there a consideration for considering dual-themes beyond light and dark? To include high-contrast which is often not supported by makes a different for some with eye defects.
Rather than, from-css, if the theme variable accepts an object like shiki does, it would simplify using dual-themes with lighter.