Skip to content

Add color-scheme to highlight result #467

Closed
@pomber

Description

@pomber

Currently

const {style} = await highlight(codeblock, theme)

only includes color and background.

It should also include color-scheme: light or color-scheme: dark depending on the theme.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions