Skip to content

Commit 375b5bc

Browse files
committed
update compass theme branch README
1 parent df1e96a commit 375b5bc

File tree

2 files changed

+66
-14
lines changed

2 files changed

+66
-14
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 66 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,61 @@
1-
# Patternfly Seed
1+
# PatternFly React Seed - Compass Theme Branch
22

3-
Patternfly Seed is an open source build scaffolding utility for web apps. The primary purpose of this project is to give developers a jump start when creating new projects that will use patternfly. A secondary purpose of this project is to serve as a reference for how to configure various aspects of an application that uses patternfly, webpack, react, typescript, etc.
3+
This is the **Compass theme branch** of PatternFly React Seed - a specialized build scaffolding utility designed for creating modern, AI-optimized web applications with PatternFly's new **Compass theme** and **Generative UI** components.
44

5-
Out of the box you'll get an app layout with chrome (header/sidebar), routing, build pipeline, test suite, and some code quality tools. Basically, all the essentials.
5+
## 🎯 What is This Branch?
66

7-
<img width="1058" alt="Out of box dashboard view of patternfly seed" src="https://github.com/user-attachments/assets/0227b366-67f1-4df8-8d92-e8e95d6e08b3" />
7+
The `compass_theme` branch is a **seed/template for building Compass-based UIs** that leverage PatternFly's latest generative UI capabilities, including:
8+
9+
- 🎨 **Glass-morphism effects** and modern visual treatments
10+
- πŸ€– **AI-optimized components** with thinking indicators and AI content highlighting
11+
- πŸ“ **Compass layout components** designed for agentic development
12+
- πŸ”„ **React Flow integration** for pipelines and topology visualizations
13+
- ✨ **New design tokens** for gradients, animations, and background effects
14+
15+
Out of the box you'll get a Compass-themed app layout with chrome (header/sidebar), routing, build pipeline, test suite, and code quality tools - all optimized for AI-assisted development with tools like Cursor and Claude Code.
16+
17+
<img width="1400" alt="Compass theme dashboard with glass effects and modern dark UI" src="./seed_screenshot.png" />
18+
19+
> **Note**: This branch uses **unpublished Compass components** from PatternFly's staging site. See the [Compass Theme Guide](./ai-documentation/guidelines/compass-theme-guide.md) for complete documentation.
820
921
## Quick-start
1022

1123
```bash
24+
# Clone the repository and checkout the compass_theme branch
1225
git clone https://github.com/patternfly/patternfly-react-seed
1326
cd patternfly-react-seed
27+
git checkout compass_theme
28+
29+
# Install dependencies and start the dev server
1430
npm install && npm run start:dev
1531
```
32+
33+
The app will start on `http://localhost:9000` with the Compass theme and all generative UI features enabled.
34+
35+
## Compass Theme Features
36+
37+
This branch includes PatternFly's Compass enablement features:
38+
39+
### New Component Variants
40+
- **`isPlain`** - Transparent cards, data lists, and tables for glass-morphism effects
41+
- **`isVertical`** - Vertical action lists for sidebars
42+
- **`isNav`** - Optimized tab styling for top navigation
43+
- **`isCircle`** - Circular buttons and menu toggles
44+
- **`isPill`** - Rounded, floating drawer panels
45+
- **`isThinking`** - Pulsing animation for AI processing states
46+
- **`hasAiIndicator`** - Gradient borders for AI-related content
47+
48+
### Design Tokens
49+
- Glass-like visual effects
50+
- Background and border gradients
51+
- Smooth animations
52+
- Background image support
53+
54+
### React Flow Integration
55+
Build pipelines, topology views, and workflow diagrams with React Flow + PatternFly. See [staging.patternfly.org/ai/generative-uis/react-flow](https://staging.patternfly.org/ai/generative-uis/react-flow).
56+
57+
πŸ“– **Full documentation**: [Compass Theme Guide](./ai-documentation/guidelines/compass-theme-guide.md)
58+
1659
## Development scripts
1760
```sh
1861
# Install development/build dependencies
@@ -105,19 +148,28 @@ If you are using an AI-enabled IDE, the AI agent will automatically leverage the
105148

106149
By following these rulesβ€”either directly or via your AI assistantβ€”you'll ensure your app is maintainable, accessible, and consistent with PatternFly best practices.
107150

108-
### 🚨 Compass Theme Branch
151+
### 🚨 Working with Compass Components
152+
153+
This `compass_theme` branch uses **unpublished Compass theme components** from PatternFly's **Generative UI** initiative. These cutting-edge components are optimized for AI-assisted development and generative interfaces.
154+
155+
**πŸ“š Documentation Sources:**
109156

110-
This branch (`compass_theme`) uses **Compass theme components** from PatternFly's **Generative UI** initiative. These components are optimized for AI-assisted development but are **not yet published** on the main PatternFly website.
157+
| Component Type | Documentation Location |
158+
|----------------|------------------------|
159+
| 🎨 **Compass/Generative UI** | [staging.patternfly.org/ai/generative-uis](https://staging.patternfly.org/ai/generative-uis/overview) |
160+
| πŸ”„ **React Flow** | [staging.patternfly.org/ai/generative-uis/react-flow](https://staging.patternfly.org/ai/generative-uis/react-flow) |
161+
| πŸ“˜ **Standard PatternFly** | [patternfly.org](https://www.patternfly.org/) |
162+
| πŸ“– **Complete Guide** | [Compass Theme Guide](./ai-documentation/guidelines/compass-theme-guide.md) |
111163

112-
**Important for AI agents and developers:**
113-
- πŸ“– Compass component docs are on **[staging.patternfly.org/ai/generative-uis](https://staging.patternfly.org/ai/generative-uis/overview)**
114-
- πŸ” Standard PatternFly components remain on **[patternfly.org](https://www.patternfly.org/)**
115-
- πŸ“ See [Compass Theme Guide](./ai-documentation/guidelines/compass-theme-guide.md) for complete instructions
164+
**⚠️ Important Notes:**
165+
- Compass components are **not yet on the main PatternFly site** - use staging site
166+
- PatternFly MCP server won't have Compass component docs yet
167+
- Always check the staging site first for Compass-specific features
116168

117-
**AI agents should:**
118-
1. Check staging.patternfly.org for Compass/Generative UI components first
119-
2. Fall back to patternfly.org for standard components
120-
3. Note that PatternFly MCP won't have Compass docs yet
169+
**πŸ€– For AI Agents:**
170+
- Use [staging.patternfly.org/ai/generative-uis](https://staging.patternfly.org/ai/generative-uis/overview) for Compass components
171+
- Use [patternfly.org](https://www.patternfly.org/) for standard components
172+
- See [Quick Reference](./ai-documentation/COMPASS-QUICK-REF.md) for decision trees
121173

122174
## Multi environment configuration
123175
This project uses [dotenv-webpack](https://www.npmjs.com/package/dotenv-webpack) for exposing environment variables to your code. Either export them at the system level like `export MY_ENV_VAR=http://dev.myendpoint.com && npm run start:dev` or simply drop a `.env` file in the root that contains your key-value pairs like below:

β€Žseed_screenshot.pngβ€Ž

144 KB
Loading

0 commit comments

Comments
Β (0)