@konstructio/ui
Version:
A set of reusable and customizable React components built for konstruct.io
59 lines (58 loc) • 935 B
JavaScript
import { c as a } from "../../index-BNmRGtA6.js";
const r = a(
[
"duration-200",
"ease-linear",
"flex",
"flex-col",
"flex-shrink-0",
"group/sidebar",
"h-full",
"px-4",
"relative",
"transition-all",
"w-[72px]",
"md:w-[256px]"
],
{
variants: {
theme: {
colony: "",
kubefirst: ["bg-kubefirst-dark-blue-900"],
civo: ""
}
},
defaultVariants: {
theme: "kubefirst"
}
}
), t = a(
[
"absolute",
"top-0",
"right-0",
"h-full",
"opacity-0",
"group-hover/sidebar:opacity-100",
"cursor-col-resize",
"w-[2px]",
"shadow",
"shadow-slate-200"
],
{
variants: {
theme: {
colony: "",
kubefirst: ["bg-slate-200"],
civo: ""
}
},
defaultVariants: {
theme: "kubefirst"
}
}
);
export {
t as dragVariants,
r as wrapperSiderbarVariants
};