Introduce auto-detect-theme feature
This commit is contained in:
parent
af6bc4643d
commit
9db6ac8f20
3 changed files with 34 additions and 3 deletions
|
|
@ -10,6 +10,9 @@ homepage.workspace = true
|
|||
categories.workspace = true
|
||||
keywords.workspace = true
|
||||
|
||||
[features]
|
||||
auto-detect-theme = ["dep:dark-light"]
|
||||
|
||||
[dependencies]
|
||||
bitflags.workspace = true
|
||||
glam.workspace = true
|
||||
|
|
@ -22,6 +25,9 @@ thiserror.workspace = true
|
|||
web-time.workspace = true
|
||||
xxhash-rust.workspace = true
|
||||
|
||||
dark-light.workspace = true
|
||||
dark-light.optional = true
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
raw-window-handle.workspace = true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue