Skip to content

Commit 5e65167

Browse files
committed
docs: update css-patternfly rule with ai-u-spin shared utility class
Made-with: Cursor
1 parent b067dae commit 5e65167

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.claude/rules/css-patternfly.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,11 @@ Follow the project's BEM-like convention. Custom block-level classes must be nam
8989

9090
| Type | Pattern | Example |
9191
|------|---------|---------|
92-
| Block | `{prefix}-{name}` | `odh-card`, `autorag-leaderboard` |
93-
| Element | `{prefix}-{block}__{element}` | `odh-card__footer`, `autorag-leaderboard__header` |
94-
| Modifier | `m-{modifier}` or `{prefix}-m-{modifier}` | `m-disabled`, `m-is-selected`, `odh-m-doc` |
95-
| Utility | `{prefix}-u-{name}` | `odh-u-spin`, `odh-u-scrollable` |
92+
| Block | `odh-{name}` | `odh-card`, `odh-list-item` |
93+
| Element | `odh-{block}__{element}` | `odh-card__footer`, `odh-list-item__doc-text` |
94+
| Modifier | `m-{modifier}` or `odh-m-{modifier}` | `m-disabled`, `m-is-selected`, `odh-m-doc` |
95+
| Utility | `odh-u-{name}` | `odh-u-scrollable` |
96+
| Shared utility | `ai-u-{name}` | `ai-u-spin` (from mod-arch-shared) |
9697

9798
## PF Component Overrides
9899

0 commit comments

Comments
 (0)