SecondaryHeroSection

This commit is contained in:
Aarni Halinen
2020-07-06 17:38:12 +03:00
parent 692247afe3
commit b0a5d682a8
4 changed files with 83 additions and 10 deletions
+4 -4
View File
@@ -15,7 +15,7 @@ export type Colors =
"inherit";
export const colorToClass = (color: Colors): string => `color-div__${color}`;
export const bgColorToClass = (color: Colors): string => `color-div__background_${color}`;
export const hoverColorToClass = (color: Colors): string => `color-div__${color}Hoverable`;
export const bgHoverColorToClass = (color: Colors): string => `color-div__background_${color}Hoverable`;
export const colorToClass = (color: Colors): string => color ? `color-div__${color}` : undefined;
export const bgColorToClass = (color: Colors): string => color ? `color-div__background_${color}` : undefined;
export const hoverColorToClass = (color: Colors): string => color ? `color-div__${color}Hoverable` : undefined;
export const bgHoverColorToClass = (color: Colors): string => color ? `color-div__background_${color}Hoverable` : undefined;