mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-23 15:19:41 +02: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:
parent
ef87f2231d
commit
eb3d56936e
78 changed files with 332 additions and 201 deletions
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. }}
|
||||
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue