WIP FrontPage rewrite

This commit is contained in:
Aarni Halinen
2020-10-09 21:06:41 +03:00
parent ff9385cd47
commit 29b913b834
18 changed files with 499 additions and 317 deletions
+2
View File
@@ -48,6 +48,8 @@ export const colors = {
inherit: "inherit"
}
export type Colors2 = keyof typeof colors;
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;