mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 02:03:35 -04:00 
			
		
		
		
	Feature/style unification (#420)
* set global icons * fixes #419 * button style docs * category/tag page updates * dynamic router imports Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
		
							
								
								
									
										30
									
								
								frontend/src/utils/globals.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								frontend/src/utils/globals.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,30 @@ | ||||
| const icons = { | ||||
|   primary: "mdi-silverware-variant", | ||||
|  | ||||
|   // Crud | ||||
|   create: "mdi-plus", | ||||
|   delete: "mdi-delete", | ||||
|   save: "mdi-content-save", | ||||
|   edit: "mdi-square-edit-outline", | ||||
|  | ||||
|   // Organization | ||||
|   tags: "mdi-tag-multiple-outline", | ||||
|  | ||||
|   // Admin | ||||
|   user: "mdi-account", | ||||
|   admin: "mdi-admin", | ||||
|   group: "mdi-account-group", | ||||
| }; | ||||
|  | ||||
| export const globals = { | ||||
|   icons, | ||||
| }; | ||||
|  | ||||
| /* | ||||
|  | ||||
| import { globals } from "@/utils/globals" | ||||
| globals: globals, | ||||
|  | ||||
| {{ globals.icons. }} | ||||
|  | ||||
| */ | ||||
		Reference in New Issue
	
	Block a user