mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-29 08:14:57 +00:00
- Created package.json for ui_pages with dependencies and exports. - Added roles.json for access permissions related to UI pages. - Implemented functions.json for managing UI pages and routing. - Developed stories.json for Storybook showcasing UI pages components. - Defined styles tokens for UI pages including colors, spacing, and typography. feat(ui_permissions): Introduce UI Permissions package for access control - Created package.json for ui_permissions with permission utilities. - Added roles.json defining permissions for a 6-level access control system. - Implemented functions.json for permission checking and level management. - Developed stories.json for Storybook showcasing permission-related components. - Defined styles tokens for UI permissions including colors and spacing.
42 lines
948 B
JSON
42 lines
948 B
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/package-styles.schema.json",
|
|
"schemaVersion": "2.0.0",
|
|
"colors": {
|
|
"levelPublic": "#6c757d",
|
|
"levelUser": "#28a745",
|
|
"levelModerator": "#17a2b8",
|
|
"levelAdmin": "#ffc107",
|
|
"levelGod": "#dc3545",
|
|
"levelSupergod": "#6f42c1",
|
|
"accessDenied": "#dc3545",
|
|
"accessGranted": "#28a745",
|
|
"badgeBorder": "#dee2e6"
|
|
},
|
|
"spacing": {
|
|
"badgePadding": "4px 8px",
|
|
"gateMargin": "16px",
|
|
"selectorGap": "8px",
|
|
"alertPadding": "16px"
|
|
},
|
|
"shadows": {
|
|
"badge": "0 1px 3px rgba(0, 0, 0, 0.12)",
|
|
"levelIndicator": "0 2px 4px rgba(0, 0, 0, 0.1)"
|
|
},
|
|
"borderRadius": {
|
|
"badge": "16px",
|
|
"alert": "8px",
|
|
"selector": "4px"
|
|
},
|
|
"typography": {
|
|
"badgeFont": {
|
|
"fontSize": "12px",
|
|
"fontWeight": "600",
|
|
"textTransform": "uppercase"
|
|
},
|
|
"levelLabel": {
|
|
"fontSize": "14px",
|
|
"fontWeight": "500"
|
|
}
|
|
}
|
|
}
|