docs: add ADR 0006 — flat CSS class names for EDS 2.0 components - #5134
Conversation
Documents the decision to use flat class names scoped by CSS nesting for EDS 2.0 /next components, superseding the BEM-inspired naming mentioned in ADR 0002. Closes #5104
|
@claude review |
|
Claude finished @millus's task in 1m 5s —— View job Review: ADR 0006 — Flat CSS class namesI read both changed files, cross-checked against the ADR template, the existing ADRs,
VerdictThis is a well-written, well-structured ADR and it's safe to merge as a docs-only change. It follows Consistency checks (all ✅)
Minor suggestions (optional)
None of these affect the decision itself. Nice, clear ADR. 👍 |
- Clarify Rule 5 is about EDS-internal cross-component coupling, not
consumer-facing inner elements
- Change data-standalone={true} to boolean presence in example
- Replace typographic ellipsis with /* … */ in CSS code block
- Add flat inner class name bullet to eds-component.md so the
Confirmation claim matches reality
Summary
Documents the flat class name convention for EDS 2.0 `/next` components as an Architecture Decision Record, superseding the BEM-inspired naming mentioned in ADR 0002.
This ADR can be reviewed and merged independently of the component migration PRs (#5114, #5115, #5127).
Changes
Related