@frontify/fondue
Version:
Design system of Frontify
71 lines (70 loc) • 2.08 kB
JavaScript
const e = {
none: "tw-my-0",
"x-small": "tw-my-0.5",
small: "tw-my-1",
medium: "tw-my-1.5",
large: "tw-my-2",
"x-large": "tw-my-2.5"
}, r = {
none: "tw-shadow-none",
"x-small": "tw-shadow-sm",
small: "tw-shadow",
medium: "tw-shadow-md",
large: "tw-shadow-lg",
"x-large": "tw-shadow-xl"
}, o = {
none: "tw-rounded-none",
"x-small": "tw-rounded-sm",
small: "tw-rounded",
medium: "tw-rounded-md",
large: "tw-rounded-lg",
"x-large": "tw-rounded-xl"
}, t = {
none: "tw-border-0",
"x-small": "tw-border",
small: "tw-border-2",
medium: "tw-border-4",
large: "tw-border-8"
}, a = {
none: "tw-border-none",
solid: "tw-border-solid",
dotted: "tw-border-dotted",
dashed: "tw-border-dashed"
}, d = {
none: {
textColor: "",
selectedTextColor: "",
backgroundColor: "",
selectedBackgroundColor: "",
pressedBackgroundColor: "",
dragHanlderTextColor: "",
selectedDragHanlderTextColor: ""
},
soft: {
textColor: "tw-text-primary",
selectedTextColor: "tw-font-medium tw-text-primary",
backgroundColor: "group-hover:tw-bg-surface-hover",
selectedBackgroundColor: "tw-bg-surface-active group-hover:tw-bg-surface-hover",
pressedBackgroundColor: "group-active:tw-bg-surface-active",
dragHanlderTextColor: "tw-text-primary",
selectedDragHanlderTextColor: "tw-text-primary"
},
neutral: {
textColor: "tw-text-primary",
selectedTextColor: "tw-font-medium tw-text-primary",
backgroundColor: "group-hover:tw-bg-container-secondary-hover",
selectedBackgroundColor: "tw-bg-container-secondary-active group-hover:tw-bg-container-secondary-hover",
pressedBackgroundColor: "group-active:tw-bg-container-secondary-active",
dragHanlderTextColor: "tw-text-primary",
selectedDragHanlderTextColor: "tw-text-primary"
}
};
export {
t as TreeItemBorderClassMap,
o as TreeItemBorderRadiusClassMap,
a as TreeItemBorderStyleClassMap,
d as TreeItemColorsClassMap,
r as TreeItemShadowClassMap,
e as TreeItemSpacingClassMap
};
//# sourceMappingURL=types.es.js.map