ev_lib_classes 0.4.0

Pure styling data (Tailwind class tables) shared by the Dioxus uikit and the TS codegen — no Dioxus.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub const DIALOG_OVERLAY: &str = "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 \
                              data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50";
pub const DIALOG_CONTENT: &str = "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 \
                              data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] \
                              left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg \
                              border p-6 shadow-lg duration-200 sm:max-w-lg";
pub const DIALOG_CLOSE: &str = "ring-offset-background focus:ring-ring absolute top-4 right-4 rounded-xs opacity-70 transition-opacity \
                            hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none \
                            [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";
pub const DIALOG_HEADER: &str = "flex flex-col gap-2 text-center sm:text-left";
pub const DIALOG_FOOTER: &str = "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end";
pub const DIALOG_TITLE: &str = "text-lg leading-none font-semibold";
pub const DIALOG_DESCRIPTION: &str = "text-ink-soft text-sm";