[package]
edition = "2024"
name = "wasm-theme"
version = "0.1.1"
authors = ["JES <justin@jes.contact>"]
build = false
exclude = [
".vscode/*",
".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Change the data-theme CSS attribute on the html element with checkbox/toggle, radio-buttons, buttons, and/or select in WASM. The theme variable is saved in local storage. Compatible with tailwindcss and daisyUI."
documentation = "https://docs.rs/wasm-theme/"
readme = "README.md"
keywords = [
"dioxus",
"wasm",
"web-sys",
"tailwindcss",
"daisyui",
]
categories = [
"wasm",
"web-programming",
]
license = "MIT"
repository = "https://github.com/justins-engineering/wasm-theme"
[package.metadata.docs.rs]
default-target = "wasm32-unknown-unknown"
[lib]
name = "wasm_theme"
path = "src/lib.rs"
[dependencies.wasm-bindgen]
version = "0.2"
[dependencies.web-sys]
version = "0.3"
features = [
"Document",
"Element",
"Event",
"Window",
"Storage",
"HtmlButtonElement",
"HtmlElement",
"HtmlInputElement",
"HtmlSelectElement",
"MediaQueryList",
"Node",
"NodeList",
]