mirror of
https://github.com/mztlive/dx-admin-template.git
synced 2026-01-03 19:42:55 +00:00
change style
This commit is contained in:
@@ -445,14 +445,7 @@ fn UiShowcase() -> Element {
|
|||||||
section {
|
section {
|
||||||
class: if dark_mode() { "ui-shell shadcn dark" } else { "ui-shell shadcn" },
|
class: if dark_mode() { "ui-shell shadcn dark" } else { "ui-shell shadcn" },
|
||||||
"data-theme": if dark_mode() { "dark" } else { "light" },
|
"data-theme": if dark_mode() { "dark" } else { "light" },
|
||||||
div {
|
|
||||||
class: "ui-stack",
|
|
||||||
h2 { style: "font-size: 1.75rem; font-weight: 600;", "Shadcn primitives for Dioxus" }
|
|
||||||
p {
|
|
||||||
style: "color: hsl(var(--muted-foreground)); max-width: 640px;",
|
|
||||||
"A compact gallery of the shadcn/ui building blocks, rebuilt with Dioxus 0.7 signals."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
div {
|
div {
|
||||||
class: "ui-demo-grid",
|
class: "ui-demo-grid",
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user