You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/development/frontend/ui-design-system.mdx
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,48 @@ DeployStack implements intelligent link styling with automatic teal coloring for
77
77
4.**Button Links**: Include styling classes (`bg-*`, `rounded-*`) to maintain button appearance
78
78
5.**Focus States**: Ensure all interactive elements have visible focus indicators using the teal color scheme
79
79
80
+
## Layout Design Patterns
81
+
82
+
### Content Wrapper Pattern
83
+
84
+
DeployStack follows a **mandatory content wrapper pattern** for all tabbed content and detail pages. This pattern ensures visual consistency and proper content hierarchy throughout the application.
85
+
86
+
#### Design Requirements
87
+
88
+
The content wrapper pattern is **required** for:
89
+
- Team management pages
90
+
- MCP server installation pages
91
+
- Settings and configuration pages
92
+
- Any page using tabbed content with `DsTabs`
93
+
- Detail views that need elevated content presentation
94
+
95
+
#### Implementation
96
+
97
+
Use the `ContentWrapper` component for all qualifying pages:
98
+
99
+
```vue
100
+
<ContentWrapper>
101
+
<YourTabContent />
102
+
</ContentWrapper>
103
+
```
104
+
105
+
The wrapper provides:
106
+
- Gray background container (`bg-muted/50`)
107
+
- Responsive max-width constraints
108
+
- White card elevation with proper spacing
109
+
- Consistent vertical rhythm
110
+
111
+
For complete implementation details, see the component source code at `services/frontend/src/components/ContentWrapper.vue`.
112
+
113
+
#### Visual Hierarchy
114
+
115
+
This pattern creates a three-tier visual hierarchy:
0 commit comments