frewsxcv / rust-dark-light

Rust crate to detect if dark mode or light mode is enabled
https://crates.io/crates/dark-light
81 stars 15 forks source link

Add support for web-sys #12

Closed suluke closed 2 years ago

suluke commented 2 years ago

This also adds a wasm32 target build step to verify compilation.

Be-ing commented 2 years ago

Please add WASM to the CI. Here's an example: https://github.com/PolyMeilex/rfd/blob/master/.github/workflows/rust.yml

Nevermind, I see you already did that.