Free

Chapter 10. Website design with Codex: references and DESIGN.md

Choose references, save design rules in DESIGN.md and check readability, contrast and keyboard access. Includes Kombai, Impeccable and design handoffs.

All chapters

Start website design with the visitor’s main action, a reference and DESIGN.md rules. Then check text, contrast, keyboard access and actual screen states.

The request "make it beautiful" does not explain what should stand out, which text to read first, or what visitor action is expected. I start with these decisions. Fonts, colors, and animation are chosen afterward.

In the sample form from chapter 9, the heading explains the page’s purpose, labels remain visible and a result appears after submission. These elements can be checked. Having a trendy gradient alone is not an acceptance criterion.

Choose a reference and explain what you like

A reference means a sample you want to emulate. Select several screens and note what you like: table density, navigation placement, header size, error display method. If references conflict, choose one direction before implementation.

Do not assign the agent to copy someone else's page entirely. Choose needed principles and use your own texts, images, and names. The sample does not grant rights to others' materials.

You can choose a design before implementation in the free Kombai gallery: landing pages, dashboards and forms. You do not need a Kombai account or subscription to view a reference and pass it to Codex.

Open the gallery, choose a page or an individual element, open its card and view Live preview. Copy the card link or use the Use in other agents button to copy the prompt. Give it to Codex with your task. Detailed instructions and limitations.

For your chosen reference, paste into Codex:

Find the project and task materials. Read the project instructions and my materials.
Use this design as a reference: [Kombai card or Live preview link].

My task: agree on the design of the required screen for my website or application.
Content and functions: my text, the main action, long labels, an error and the selected state.

Take the link from my message; if it is missing, ask me to choose a reference. Find the other information in the project and ask about anything missing.
Open the reference and study the composition, colors, typography, spacing, images and element behavior. Adapt the design to my task and project stack. Keep its character and replace demonstration text and data with mine. If HTML is available from Live preview, study it and use suitable parts as a starting point. If the source is unavailable, say so and implement the design using the available reference.
First compare the options using the same content. After I choose one, save the rules in DESIGN.md and check keyboard use and readability.
Check desktop and mobile versions, run it locally and show the result. Ask about missing facts concerning my product; do not invent them.
Ask questions to make it better and suggest improvements.

Then write rules in DESIGN.md. This is a standard project document. Ask Codex to read it before working on the interface. In Awesome DESIGN.md collected examples of such documents; the repository is MIT licensed. Its license does not transfer rights to visual brand identities from which observations were taken.

Create a design system for your site or app

Write down specific requirements: body text is readable without zooming, long names do not break cards, warnings use more than color and motion can be reduced. Do not fill the file with dozens of prohibitions unrelated to your product.

Check usability before embellishments

Each form label must be associated with its field. One HTML method is a label element whose for attribute matches the field’s id. The prompt inside an empty field, or placeholder, disappears on input. Therefore, a constant label is still needed. These rules are described in W3C guide on form fields.

WCAG 2.2 AA contains website accessibility rules. One concerns contrast: how well text differs from background. Normal text requires at least 4.5:1 ratio, large text threshold is 3:1. Compare original computed value without rounding up. Passing this criterion does not mean passing the entire standard. W3C: text contrast.

For the training form, contrast of three color pairs from its CSS is calculated separately: white button text on #0071e3 yields 4.6967:1, main text #1d1d1f on #f5f5f7 yields 15.4568:1, error text #a01414 on white yields 8.0618:1. All three pairs pass the normal text threshold. This is a calculation of specified colors, not a measurement of all page states or a full accessibility audit.

Check the screen with short and long data. Navigate the form with Tab and Shift+Tab keys, see if a border or other mark shows the selected field, if it can be submitted via keyboard, and read error messages. Real users may use text enlargement or screen readers; one mobile screenshot is insufficient.

Design a website or app interface

Add animation where it explains change: section expansion, result appearance, state transitions. Long movement before submitting a request increases wait time and requires a separate solution.

Check the official Impeccable package

At the time of verification, the impeccable package in npm was version 4.1.0, required Node.js 22.18.0 or later and listed the Apache-2.0 license. Its repository matched pbakaus/impeccable. These package details were checked; installation was not performed. npm package, Official Repository.

The documentation offers npx impeccable install. To repeat the setup with the same version, use npx impeccable@4.1.0 install. The installer lets you choose your client and whether to install for one project or all projects. The documented Codex invocation is $impeccable. Do not use Claude’s /plugin marketplace add command in Codex. Impeccable instruction.

These commands are for a prepared environment with Node.js and npm. Sign-in, additional components and client setup may require manual action. Check the setup steps for your machine before installing.

Impeccable

To apply after skill detection, you can ask: "Use Impeccable, check the application screen against our DESIGN.md, and first show found problems." This request text is also untested in a separate session.

Package open license does not cover paid model calls and image generation. Mode live requires separate verification. The README project description file states: with automatic fixes, a checker program from your project runs. Do not run such mode in an unfamiliar project without reading the script. For an already published page, documentation suggests separate verification, not transferring a local assistant to a public site.

Source of idea for choosing DESIGN.md and Impeccable:byivansergeev, October 8, 2026The number of detector rules in advertising is not used as a quality indicator. Compare one screen before and after editing by the same criteria.

Figma, Canva, animation, and 3D

From Figma, send the needed screen and explanation of what should work. Before coding, check access to the chosen file, fonts, and images. Having a mockup does not confirm form functionality. Official Figma MCP connection has its own setup. Figma MCP.

Canva materials can be used in accessible format or via connection if it provides the needed operation. Check conditions of selected images and fonts. Do not promise editing any file just because the service name is present.

Liquid Glass means a visual approach with transparency and glass effects. It is not required for a good interface. If text is hard to read on such a background, fix readability first. For 3D and animation, check loading on low-end devices and absence of interference with main actions.

Turn a permitted mockup into a local prototype

Self-guided instructions for the chapter

In This Article
Saved