Skip to content

NMS-20664: Show availability figures as tinted chips of one width instead of solid pills - #9226

Draft
synqotik wants to merge 1 commit into
developfrom
jira/NMS-20664-font-color-instead-of-pills-avail
Draft

synqotik wants to merge 1 commit into
developfrom
jira/NMS-20664-font-color-instead-of-pills-avail

Conversation

@synqotik

@synqotik synqotik commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

WORK IN PROGRESS - NOT READY FOR REVIEW

The solid severity pills drew the eye away from the rest of the page, and each was as wide as its text, so their edges were ragged down a column. A figure is now its level's colour on a light tint of it, in a chip of one width, right-aligned. The tint is mixed over the panel surface, so a chip looks the same on a Dashboard row that has its own severity tint.

The text has its own tokens, because a severity fill is not always a usable text colour: warning yellow is 1.25:1 on white, so the light theme uses a dark amber, and the dark theme's critical is a lighter red than the icon's (#ef4444 falls under 4.5:1 on a chip). The token test checks every level at 4.5:1 or better on its chip and on the bare surface.

The service rows' availability cells kept the browser's 1px padding, which set their chips 1px left of the interface chip above; that is now zero.

External References

…tead of solid pills

The solid severity pills drew the eye away from the rest of the page, and
each was as wide as its text, so their edges were ragged down a column.
A figure is now its level's colour on a light tint of it, in a chip of one
width, right-aligned. The tint is mixed over the panel surface, so a chip
looks the same on a Dashboard row that has its own severity tint.

The text has its own tokens, because a severity fill is not always a usable
text colour: warning yellow is 1.25:1 on white, so the light theme uses a
dark amber, and the dark theme's critical is a lighter red than the icon's
(#ef4444 falls under 4.5:1 on a chip). The token test checks every level at
4.5:1 or better on its chip and on the bare surface.

The service rows' availability cells kept the browser's 1px padding, which
set their chips 1px left of the interface chip above; that is now zero.

This branch has not been deployed

No deployments
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.

1 participant