cleanup: stylesheetModifiers

This commit is contained in:
Pogodaanton 2020-07-06 21:59:44 +02:00
parent 9d536f9ada
commit 0ac1fa5474
1 changed files with 6 additions and 8 deletions

View File

@ -10,14 +10,12 @@ import { CustomApplyAcrylic } from "./stylesheetModifiers.types";
/**
* Appends CSS parameters that create a centered flexbox
*/
export const applyCenteredFlexbox = (): CSSRules<DesignSystem> => {
return {
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
};
};
export const applyCenteredFlexbox = (): CSSRules<DesignSystem> => ({
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
});
/**
* Generates an acrylic backdrop with the given background functon.