Crates.io | dxc-themes |
lib.rs | dxc-themes |
version | 0.1.8 |
created_at | 2025-08-28 04:02:54.758222+00 |
updated_at | 2025-08-28 04:02:54.758222+00 |
description | The Dxc Themes Package |
homepage | https://github.com/efahnjoe/dxc#README.md |
repository | https://github.com/efahnjoe/dxc |
max_upload_size | |
id | 1813539 |
size | 797,529 |
A theme collection for DXC, powered by DXC and ElementPlus.
DXC Themes provides a curated set of professional themes to enhance your DXC applications with consistent, modern styling.
Due to current limitations in dioxus
regarding automatic asset loading,
you need to manually import the theme stylesheet in your app.
use dioxus::prelude::*;
use dxc::prelude::*;
fn app() -> Element {
rsx! {
document::Link{
rel: "stylesheet",
href: DXC_THEMES // Applies the default theme
}
div {
// Your app content here
}
}
}
First, make sure you have installed Node or Bun.
Then, run the following command to build the themes:
# Using Bun
bun run build
# Using npm
npm run build
# Using pnpm
pnpm run build
The compiled CSS files will be generated in the assets/css
directory.