WIP FrontPage rewrite
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user