feat(frontend): rebrand color palette to OpsMill Blue#9843
Draft
fatih-acar wants to merge 1 commit into
Draft
Conversation
Replace the previous teal accent with OpsMill Blue (#426DB1) across the web interface and documentation. Each color ramp is re-hued while its per-stop lightness (and therefore contrast) and every gradient structure are preserved, so component treatments are unchanged in form: - app custom-blue scale (tailwind.config.js) re-anchored on #426DB1 - @infrahub/ui design-system accent: the cyan-* token scale is remapped to OpsMill Blue (buttons, focus rings, checkboxes, meters, spinners), keeping every from-/to- gradient intact - docs Infima primary scale (light + dark) re-hued; Enterprise badge and code-line/hover tints updated to match Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
1 issue found across 7 files
Confidence score: 5/5
- In
frontend/packages/ui/src/index.css, the color palette is duplicated with the app Tailwind config, which creates a drift risk where brand/accent colors can diverge over time and produce inconsistent UI styling after future updates—move these values to a shared design-token source (or single import path) before or soon after merging.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="frontend/packages/ui/src/index.css">
<violation number="1" location="frontend/packages/ui/src/index.css:18">
P3: This palette is duplicated between the UI package CSS and the app Tailwind config, so future brand tweaks need to be edited in two places and can drift. A shared token source would keep the accent ramp aligned.</violation>
</file>
Shadow auto-approve: would not auto-approve because issues were found.
Re-trigger cubic
| @@ -10,6 +10,22 @@ | |||
|
|
|||
Contributor
There was a problem hiding this comment.
P3: This palette is duplicated between the UI package CSS and the app Tailwind config, so future brand tweaks need to be edited in two places and can drift. A shared token source would keep the accent ramp aligned.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At frontend/packages/ui/src/index.css, line 18:
<comment>This palette is duplicated between the UI package CSS and the app Tailwind config, so future brand tweaks need to be edited in two places and can drift. A shared token source would keep the accent ramp aligned.</comment>
<file context>
@@ -10,6 +10,22 @@
+ single accent token; remap it to OpsMill Blue (#426DB1) so every cyan-*
+ usage matches current branding. Kept in sync with the consuming app's
+ tailwind.config.js override. */
+ --color-cyan-50: #f1f5fa;
+ --color-cyan-100: #dbe4f2;
+ --color-cyan-200: #bbcce6;
</file context>
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
Aligns the Infrahub color palette — web interface and documentation — with the current brand color, OpsMill Blue
#426DB1, replacing the previous teal/cyan accent. Stacked on top of the logo PR (#9812); this PR targets that branch so the two brand changes land together.Approach
Every color ramp was re-hued to OpsMill Blue while preserving each stop's lightness and every gradient's structure, so contrast ratios and component treatments (button gradients, focus rings, meters) are unchanged in form — only the hue moves from teal to blue. This is what keeps the look consistent rather than swapping in an unrelated blue.
Key Changes
tailwind.config.js): thecustom-bluescale is re-anchored on#426DB1at stop 500; thecustom-blue-green/custom-blue-graysiblings are rotated into the blue family.@infrahub/ui): the components standardized on Tailwind'scyanscale as their single accent token (buttons, focus rings, checkboxes, meters, spinners). That scale is remapped to OpsMill Blue in both the app's Tailwind config and the package's own@theme, so allcyan-*usages recolor at once with theirfrom-…/to-…gradients intact.custom.css): the Infima--ifm-color-primaryscale (light + dark) is re-hued; the Enterprise badge and the code-line/hover tints are updated to match.Screenshots
Palette before/after (both scales — tonal ramp preserved):

Web UI — login (primary button + focus ring now OpsMill Blue):

Docs — light mode:

Docs — dark mode:

Notes / follow-ups
cyanscale is intentionally remapped to the brand blue (documented with a comment in bothtailwind.config.jsand@infrahub/ui'sindex.css). Acyan-*class now renders OpsMill Blue by design; this matches how the codebase already usedcyanas its brand token.schema-visualizersubmodule still uses the old teal#087895as its node accent — that needs its own PR inopsmill/infrahub-schema-visualizerplus a submodule bump.get-kind-color.ts(its#06b6d4is one of several distinct category hues, not brand).Test Plan
pnpm build(frontend) andnpm run build(docs) both pass;biome cipasses on the app.🤖 Generated with Claude Code
Summary by cubic
Rebrands the app and docs to OpsMill Blue (#426DB1), replacing the teal accent. Keeps contrast and gradients by re-huing existing ramps.
Refactors
cyanscale to OpsMill Blue intailwind.config.jsand@infrahub/uitheme. Updates buttons, focus rings, checkboxes, meters, and spinners.custom-blueramp on#426DB1; shiftedcustom-blue-greenandcustom-blue-grayinto the blue family.ResourcePoolUtilizationand sortable list drop indicator to new blue shades.Migration
cyan-*classes now render OpsMill Blue.Written for commit 8d2cf5d. Summary will update on new commits.