Skip to content

light-dark() broken on the web. #264

Description

@SalvadorLekan

What happened?

light-dark is not working on the web in what looks like an incomplete application of lightningcss' light-dark polyfill as both --lightningcss-light and --lightningcss-dark are not defined.

ios:
Image

web:
Image

Steps to Reproduce

  1. Create a new project using the Better T Stack or Expo example.
  2. add a color token or custom class that uses light-dak()
  3. Use the token/class
  4. Run on the web

Snack or Repository Link

https://github.com/SalvadorLekan/uniwind-web-repro

Uniwind version

1.2.2

React Native Version

0.81.5

Platforms

Web

Expo

Yes

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions