DEV Community

Farrah Bairnsdale
Farrah Bairnsdale

Posted on

A small script can catch the wrong brand blue

A brand folder can look organised and still contain three versions of the blue. I have seen teams spend more time asking which file is current than discussing the design itself. As a brand strategist, I would rather catch that confusion before someone prints a thousand leaflets or rebuilds a page around an old colour.

A script can help. Start with an inventory of the decisions that should stay consistent: colour values, type families, spacing steps and the names of approved assets. A structured text file makes those choices easy to inspect. It should be understandable to the designer and the developer, rather than becoming a language that only one person can maintain.

Approved colour and typography values arranged for a design system

What would the check do? I would keep it modest. Read the approved colour list, scan the exported styles and report any value that does not appear in the list. The report should show the unexpected value and where it occurred. That is more useful than a pass or fail message with no clue about the next step.

There is a catch: not every difference is a mistake. A photograph can contain thousands of colours, and a campaign may have an approved exception. Decide what the script is allowed to inspect. Keep temporary exceptions in a visible list with a reason and a review date. Otherwise, the tool becomes a machine for ignoring its own warnings.

Typography deserves a check. A missing font can change line breaks, page counts and the tone of a presentation. An inventory can compare the families requested by templates with the families included in the handover package. It cannot settle licensing questions, but it can remind the team to record who is responsible for checking the licence before distributing files.

I would also test filenames. Agree on a pattern for assets, then flag duplicates, missing sizes and ambiguous labels such as final_final. The useful part is not enforcing a naming system. It is helping a colleague find the right logo when they have five minutes before a meeting and no designer sitting beside them.

Reviewing a highlighted colour mismatch in a design asset grid

How do you introduce this without turning a design project into a software project? Choose one irritation and automate only that. Run the check on a copy of the files first. Make the version report problems rather than changing anything. Review its results together, because an incorrect warning can reveal a weak assumption in the script or an unclear rule in the guidelines.

The output should be readable by people who do not write code. A table with the file, the issue and a suggested action is usually enough. Keep the technical details available for whoever maintains the check, but do not make everyone decipher them. The handover still needs a human conversation about purpose, exceptions and ownership.

For my Bristol practice, the attraction is simple: fewer preventable production mistakes and more attention left for judgement. A script cannot decide whether a visual identity feels right. It can help the team use the decisions it has already made.

Top comments (0)