SecondaryHeroSection
This commit is contained in:
+4
-4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user