Variable GALE_BUILTIN_STYLES

Source
Expand description

Built-in styles for gale

const GALE_BUILTIN_STYLES: {
    "all-sides-0": { bottom: 0; left: 0; right: 0; top: 0 };
    "border-box": { boxSizing: "border-box" };
    "cursor-pointer": { cursor: "pointer" };
    flex: { display: "flex" };
    "flex-1": { flex: 1 };
    "flex-center": { alignItems: "center"; justifyContent: "center" };
    "flex-centera": { alignItems: "center" };
    "flex-centerj": { justifyContent: "center" };
    "flex-col": { display: "flex"; flexDirection: "column" };
    "flex-end": { justifyContent: "flex-end" };
    "flex-grow": { flexGrow: 1 };
    "flex-noshrink": { flexShrink: 0 };
    "flex-row": { display: "flex"; flexDirection: "row" };
    "flex-wrap": { flexWrap: "wrap" };
    "h-100": { height: "100%" };
    "margin-0": { margin: 0 };
    "max-h-0": { maxHeight: 0 };
    "max-w-0": { maxWidth: 0 };
    "min-h-0": { minHeight: 0 };
    "min-w-0": { minWidth: 0 };
    "overflow-auto": { overflow: "auto" };
    "overflow-hidden": { overflow: "hidden" };
    "overflow-visible": { overflow: "visible" };
    "overflow-x-auto": { overflowX: "auto" };
    "overflow-x-hidden": { overflowX: "hidden" };
    "overflow-y-auto": { overflowY: "auto" };
    "overflow-y-hidden": { overflowY: "hidden" };
    "padding-0": { padding: 0 };
    "pos-abs": { position: "absolute" };
    "pos-rel": { position: "relative" };
    "scrollbar-thin": { scrollbarWidth: "thin" };
    "w-100": { width: "100%" };
    "wh-100": { height: "100%"; width: "100%" };
    "wh-100v": { height: "100vh"; width: "100vw" };
}...