Enhance styling guidelines to prioritize Angular Material components and discourage unstyled native elements
This commit is contained in:
1 parent
0c0d4ace39
commit
d35b647ca4
1 file changed
+2
@@ -84,6 +84,8 @@ Use the single-context documentation layout. See [domain.md](file:///home/nessar
|
||||
|
||||
### Styling and user experience
|
||||
|
||||
- Use Angular Material components by default whenever they cover the UI need.
|
||||
- Never use unstyled native buttons or browser-native dialogs; use Angular Material button directives and `MatDialog` instead.
|
||||
- Reuse the existing design system, shared components, spacing rules, and design tokens.
|
||||
- Avoid duplicating styles already provided by shared components.
|
||||
- Keep component styles scoped unless a style is intentionally global.
|
||||
|
||||
Reference in new issue
Block a user