Skip to content

feat(admin): move the brand accent to #DA5CC7 (#157) - #158

Merged
ifahimreza merged 1 commit into
mainfrom
feat/157-brand-magenta
Aug 25, 2026
Merged

feat(admin): move the brand accent to #DA5CC7 (#157)#158
ifahimreza merged 1 commit into
mainfrom
feat/157-brand-magenta

Conversation

@ifahimreza

Copy link
Copy Markdown
Contributor

Closes #157

What

Swaps the brand hue from #6D3BF5 to #DA5CC7.

Why it isn't a one-line swap

#DA5CC7 measures 3.31:1 on white — above the 3:1 a mark or fill needs, below the 4.5:1 text needs. So it can be seen but not read, and it cannot be the ground under a white button label either (also 3.31:1).

That is exactly the fill/text split the palette was already built around. The violet happened to clear both at 5.84:1, which made --pp-accent and --pp-accent-text nearly interchangeable; this colour makes the distinction do real work.

token value role
--pp-accent #DA5CC7 the brand colour, exactly as given — dots, focus ring, active nav, bar fills
--pp-accent-text #BD2BA7 links and labels
--pp-accent-hover #A82595 hover / active
--pp-accent-tint #FDF4FC soft background
--pp-action #BD2BA7 primary buttons
--pp-focus #DA5CC7 focus ring

The tint is #FDF4FC rather than something more saturated because an accent dot sitting on the accent tint needs 3:1, and a #FBECF9 wash gave 2.91.

Verified

pair need measured
white on the primary button 4.5 5.16
white on button hover 4.5 6.24
link on the page 4.5 4.99
link on the tint 4.5 4.80
focus ring on the page 3.0 3.20
accent dot on the tint 3.0 3.08

Confirmed in the browser too — computed --pp-accent #da5cc7, button ground rgb(189,43,167) with white text, brand mark rgb(218,92,199).

  • composer test — 645 tests, 0 failures
  • composer lint · npm run lint:js — 0 errors
  • npm run build, .pot regenerated

Also

DESIGN-ALIGNMENT.md and the readme changelog updated. The prose that named the colour now names the role, so the next change of hue is a token edit rather than a documentation sweep — the one remaining mention of violet is a deliberate historical note explaining why the split matters more now.

Note

rc9 is already live on the self-hosted channel with the violet. This lands in the next build; say the word if you want an rc10 cut.

CI note: main is red on #145 (CI-only). This branch inherits it.

Straight swap of the palette's brand hue, but not a straight swap of
every token that used it, because the new colour cannot do everything
the old one could.

#DA5CC7 is 3.31:1 on white. That clears the 3:1 a mark or a fill needs
and misses the 4.5:1 text needs — so it is the brand colour exactly as
given wherever a fill belongs (dots, the focus ring, the active nav row,
bar fills), and the readable step of the same hue carries every label.
The violet it replaces cleared both at 5.84, which made --pp-accent and
--pp-accent-text nearly interchangeable and hid how load-bearing that
split is; here it is doing real work.

Primary buttons take #BD2BA7 rather than the brand colour itself. White
on #DA5CC7 is 3.31:1 — a button label people cannot read. White on
#BD2BA7 is 5.16.

The tint is #FDF4FC rather than something more saturated because an
accent dot on the accent tint needs 3:1, and a #FBECF9 wash gave 2.91.

Verified: white on the button 5.16, white on hover 6.24, link on the
page 4.99, link on the tint 4.80, focus ring on the page 3.20, accent
dot on the tint 3.08. Every gate the palette is held to still passes.

DESIGN-ALIGNMENT.md and the readme changelog updated with it, and the
prose that named the colour now names the role instead, so the next
change of hue is a token edit rather than a documentation sweep.

645 tests, 0 lint errors.

Closes #157
@ifahimreza ifahimreza linked an issue Aug 25, 2026 that may be closed by this pull request
@ifahimreza
ifahimreza merged commit 43d30ed into main Aug 25, 2026
1 of 7 checks passed
@ifahimreza
ifahimreza deleted the feat/157-brand-magenta branch August 25, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change the brand accent to #DA5CC7

1 participant