Skip to content

Option to use light-dark with generated CSS file #61

Description

@jvatic

I appreciate that light-dark is used when generating inline styles (#7), and would love if we could extend that to be an option for generated files too.

I'm using color-mode in :root to control light and dark mode, and as such am relying completely on light-dark() to pick the correct colors. (This also means the generated linline styles don't work well for me either, but I'll open a separate issue for that.)

Is this something you're open to having an option for? I'd be happy to attempt a PR if so.

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