EN, Change language
Englishالعربية
OM-003

Do not rename tokens locally or create new tokens without alignment with the design system team.

The requirement (from the design system site)

Do not rename tokens locally or create new tokens without alignment with the design system team.

Why it matters to users

A token with a local name looks like part of the system but does not change when the system is updated, so the colours and spacing a citizen sees slowly drift from other government services. The next developer on your team also cannot tell which values are shared and which are yours.

How to fix it

Rename local --gup-* properties back to the official token names, and raise any genuinely missing value with the Gov.om design system team before adding it. Then scan again.

How we measure it

List --gup-* custom properties the site defines; any name that is not in the @govom/tokens name list (color.css, float.css) and is not a component-scoped property (--gup-name--part) is a local rename or a new token.

"

The rule on the design system site

Related rules

No renamed or new tokens · Oman OM-003 | xfix