Add sample icons and refactor Icon interface

This commit is contained in:
rektdeckard
2020-07-15 18:06:16 -04:00
parent 50b114ee7a
commit 8888227be1
9 changed files with 1203 additions and 1209 deletions

View File

@@ -1,10 +1,8 @@
export interface IconStyle {
type: IconFillStyle;
weight?: "light" | "regular" | "medium" | "bold";
}
export enum IconFillStyle {
LINE = "line",
export enum IconStyle {
THIN = "thin",
LIGHT = "light",
REGULAR = "regular",
BOLD = "bold",
FILL = "fill",
DUOTONE = "duotone",
}
@@ -20,7 +18,6 @@ export enum IconCategory {
EDITOR = "Editor",
FINANCE = "Finance",
HEALTH = "Health & Medical",
LOGOS = "Logos",
MAP = "Map",
MEDIA = "Media",
SYSTEM = "System",
@@ -34,4 +31,5 @@ export interface Icon {
style: IconStyle;
categories: IconCategory[];
tags: string[];
asset: string;
}