Skip to content

Commit

Permalink
v2.0.0 (#53)
Browse files Browse the repository at this point in the history
* Prepared for v2.0.0
  • Loading branch information
Eduardo Flores authored Jan 9, 2025
1 parent b10982b commit 3ed3f25
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ On Linux the XDG Desktop Portal D-Bus API is checked for the `color-scheme` pref

## Usage

Add this to your `Cargo.toml`:

```toml
[dependencies]
dark-light = "2.0.0"
```


### Detect current theme mode
You can detect the current mode by using the `detect` function. This function returns a `Mode` value.
```rust
Expand Down

0 comments on commit 3ed3f25

Please sign in to comment.