NIFI-16096 DESIGN.md standard for agents#11412
Open
scottyaslan wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
nifi-frontend/src/main/frontend/DESIGN.md— a machine-readable and human-readable design system reference for the NiFi frontend, following the google-labs-code/design.md open standard.This file gives AI coding agents (Cursor, Copilot, Claude Code, etc.) a single source of truth for NiFi's visual identity and Angular implementation patterns, so they produce correct, consistent UI code without needing to grep through SCSS files or guess from prior context.
What is DESIGN.md?
The design.md specification defines a standard file format that combines:
AI tools that understand this format can read it as a first step before generating any UI code, ensuring all output respects the project's actual design language.
What the file documents
YAML tokens (sourced directly from
material.scssand_*.scsscomponent overrides):colors--md-ref-palette-*), NiFi-specific--nf-*canvas and status colors, dark mode overridestypographyspacingrounded_button.scss), dialogs (6px,_dialog.scss), cards (12px, MD3 default)componentsbutton,form-field,dialog,card,canvaswith token references ({colors.primary},{rounded.sm})Markdown sections:
--nf-*token table, dark mode override values, CodeMirror 6 syntax highlighting tokensflex-1 min-h-0fill-height patternNifiSpinnerDirective, outline form fields with--nf-*/--mat-sys-*theming pattern@nifi/shared), SCSS theming pattern, no-hardcoded-colors ruleApproach
All values are sourced from the actual implementation — no invented or theoretical tokens:
libs/shared/src/assets/themes/material.scsslibs/shared/src/assets/themes/components/_button.scss,_dialog.scss_form-field.scss")Testing
Documentation-only change. No runtime code is modified.
NIFI-16096
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
Pull Request Tracking
NIFI-16096NIFI-16096VerifiedstatusPull Request Formatting
mainbranchVerification
Please indicate the verification steps performed prior to pull request creation.
Build
./mvnw clean install -P contrib-checkLicensing
LICENSEandNOTICEfilesDocumentation