├── .gitignore ├── Cargo.toml ├── LICENSE ├── README.md ├── assets └── favicon.ico ├── end2end ├── package-lock.json ├── package.json ├── playwright.config.ts └── tests │ └── example.spec.ts ├── index.html ├── src ├── app.rs ├── dark_mode.rs ├── lib.rs └── main.rs └── style └── main.scss /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/README.md -------------------------------------------------------------------------------- /assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/assets/favicon.ico -------------------------------------------------------------------------------- /end2end/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/end2end/package-lock.json -------------------------------------------------------------------------------- /end2end/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/end2end/package.json -------------------------------------------------------------------------------- /end2end/playwright.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/end2end/playwright.config.ts -------------------------------------------------------------------------------- /end2end/tests/example.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/end2end/tests/example.spec.ts -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/index.html -------------------------------------------------------------------------------- /src/app.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/src/app.rs -------------------------------------------------------------------------------- /src/dark_mode.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/src/dark_mode.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leptos-rs/example-darkmode/HEAD/src/main.rs -------------------------------------------------------------------------------- /style/main.scss: -------------------------------------------------------------------------------- 1 | body { 2 | text-align: center; 3 | } --------------------------------------------------------------------------------