Colormate
Project Brief
-
ColorMate 2.0 evolved IL ColorMate into a standalone color contrast and typography tool with a redesigned interface built from an updated Figma design system. Most importantly, ColorMate allows for the comparison of any color, rather than limited to a specific palette.
The release introduces a broader selection of locally bundled Roboto font families and weights, allowing users to test a wider variety of scenarios. Refined typography, consistent button sizing, improved spacing, clearer dividers, and updated app icons create a more cohesive experience across web and Android.
-
An exploratory effort to combine AI-generated code with hand-crafted Figma design for the purposes of developing a web- and mobile-based tool for measuring WCAG contrast ratio compliance for the Imagine Learning brand.
The goals of this project were two-fold and layered: produce a tool that is available as both a web page and mobile app, and through rigorous documentation and prompt engineering, achieve an MVP result with one single initial Codex submission.
TOOLS USED
ChatGPT - Prompt engineering help, Codex help
Codex - Application build and development
Figma - UI/UX wireframing, design, app states, user flows
Skills Demonstrated
UI/UX
Prompt Engineering
AI-assisted Development
Project Role(s)
Developer
Designer
THE APP
Built with React Native and TypeScript using Expo, compiled and distributed for Android and web through EAS.
Web Version
*Installation Instructions:
Download the APK.
Open the APK file from your downloads/files folder
Allow installation when Android asks
Approve the Google Play Protect security scan if offered
Select Install once scan completes
App will open as normal afterward
android app
Version 2.0*
Version 1.0
The FIGMA
The design file for this app basically resembles any other design library in terms of structure, documentation, wireframing, and high-fidelity mock-ups. The key connection here is Figma’s MCP server, which allows LLMs (such as Codex) to directly access the contents of Figma designs.
Providing flows using a series of rendered app states was also a tremendous help. This assisted Codex in determining exactly what the application should look like before, during, and after a user action without the need of documenting or prompting it specifically.
Design System
Wireframes
Component Library
High-Fidelity and Flows
V2 - Revised typography guidelines
V2 - Home Screen
V2 - User path and state change flow
Naming conventions
One of the major aspects of success with this project was careful and deliberate naming convention for components and elements within the Figma design. This made it much easier to write the initial build spec as well as iteration afterward. By being able to make specific reference to items like “DL-ExampleArea1” when working with Codex, it saved a tremendous amount of time in prompt writing and vastly reduced the margin for error in output.
Page structure and example of element naming
Example of component naming
Figma Wireframe Prototype
THE SPEC SHEET AND PROMPTing
ChatGPT proved invaluable in helping to craft the build spec sheet to Codex as well as helping to build the exact process of submission and preflight before actually submitting the build prompt.
samples of the spec sheet submitted to Codex
Initially written in Word, these instructions were eventually converted to Markdown per Codex’s preferred ingestion format.
1 | initial prompt submitted to codex
Before writing any code, inspect the entire Figma project and read the full specification.Figma Team Project Name: IL ColorMateDesign spec doc: ***\SPEC.md
Treat this as a design handoff review.
Do not implement anything yet.
Instead, produce an "Implementation Readiness Report" containing:
- Overall confidence level (High / Medium / Low)
- Summary of your understanding of the application
- Proposed component architecture
- Proposed folder/file structure
- State management approach
- Any inconsistencies between the Figma and the written specification
- Any missing assets (fonts, icons, images, etc.)
- Any questions that should be answered before implementation
- Confirmation that the project is ready to build once those questions are resolvedDo not write any production code until I approve this report.At this point that Codex cited a few concerns, questions and suggestions about the spec sheet and the Figma design. I iterated on those issues briefly, and provided :
2 | additional prompt submitted to codex
I have placed a document named: IL-ColorMate-Questions.docx
in this folder: ***\decisions
This document contains answers to all of the "Questions Requiring Answers" output you gave me above. Please assess whether this document provides clear and satisfactory answers and then re-assess if you have everything you need in order to build the ColorMate app. Do not at this time start building the app, simply provide me an assessment on whether or not you have everything you need to build.After re-evaluation Codex reported the spec sheet and linked Figma design were “Ready for Build”.
3 | build prompt submitted to codex
IL ColorMate – Initial Implementation
Build the first complete implementation of IL ColorMate.
The project targets React Native + Expo, with Expo Web as a secondary target. Mobile behavior always takes precedence.
Authoritative Sources
Implement the application using the following order of precedence:
IL-ColorMate-Questions.docx (implementation decisions and clarifications)
SPEC.md (application behavior, business rules, state model, persistence, and edge cases)
Figma High-Fidelity Flow States (authoritative visual behavior and screen layouts)
Figma Component Library (DL-* reusable components)
Figma Design Foundations (colors, typography, spacing, motion, effects)
Figma Wireframes (responsive layout guidance only)
If two sources conflict, follow the higher-priority source.
Implementation Goals
Build the complete application in React Native + Expo.
Support Expo Web while preserving the mobile-first experience.
Match the High-Fidelity designs as closely as practical.
Build reusable components where appropriate.
Follow the documented state model, data flow, persistence rules, and edge-case handling.
Implement WCAG contrast calculations locally exactly as specified.
Use standard Expo-compatible libraries where appropriate.
Do not introduce additional dependencies beyond those already approved unless required.
Implementation Expectations
Organize the project using a clean, maintainable folder structure.
Keep business logic separate from presentation components.
Isolate contrast calculations into reusable utility modules.
Avoid duplicated logic.
Prefer reusable components over one-off implementations.
Comment code where behavior may not be immediately obvious.
If you encounter a requirement that cannot reasonably be resolved using the documentation above, stop and ask before proceeding rather than making assumptions.
Upon Completion
Provide a brief implementation summary including:
Files created or modified
Folder/component architecture
State architecture
Utilities created
Approved dependencies used
Any assumptions made
Any remaining questions or recommended improvementsConclusion
The total operation took 23 minutes and 20 seconds. At the conclusion, Codex delivered what I considered a “90%” complete build of the desired app experience. Far beyond what I would have considered an MVP version. Had this app needed to be circulated for its intended purpose immediately, I would have had no hesitation in doing so.
revisions and addendums
In terms of expanding, modifying, and revising the app, Codex provided an easily followed document template. Addendums were critical in supplying large-scale changes that could be executed within a single submission. Below are some screenshots of those addendums as well as the establishing prompt to break “ColorMate 2.0” into it’s own project tree away from the established IL ColorMate project structure.
INITIAL ‘COLORMATE 2.0.’ PROMPT
We are beginning development of ColorMate 2.0 as a separate application derived from the final IL ColorMate v1.1.6 baseline. Before making changes, verify that this worktree includes commit 8f9a78c and tag il-colormate-v1.1.6-final. If it does not, stop and report the discrepancy.Read these authoritative sources completely:docs/requirements/ADDENDUM-003.mddocs/requirements/IL-ColorMate-Questions.docxdocs/requirements/SPEC.mdAll Figma files, components, foundations, and high-fidelity states referenced by ADDENDUM-003
ADDENDUM-003 takes precedence for requirements it explicitly changes. Existing IL ColorMate documentation and behavior remain authoritative for everything it does not change.ColorMate 2.0 must be developed only in this worktree. Do not modify the final IL ColorMate baseline.First inspect the repository, documentation, dependencies, and Figma designs. Confirm:The correct baseline is presentThe addendum is build-readyYour understanding of the changesYour planned implementation architecture and sequenceYour font acquisition and local-bundling approachAny genuine blocker discovered during this final source-level review
Do not begin implementation until I approve your readiness report.