feat: make icon theme aware.

This commit is contained in:
Igor Bedesqui
2023-12-11 20:58:05 -03:00
parent 73f71f3dd6
commit 3d23d22ed2
5 changed files with 22 additions and 4 deletions
+6 -1
View File
@@ -4,6 +4,11 @@ export interface iSVG {
id: number;
title: string;
category: tCategory;
route: string;
route:
| string // for backwards compat of when theme support was not added
| {
dark: string;
light: string;
};
url: string;
}