{"success":true,"name":"guide-the-eye-with-typography-and-contrast-not-decoration","description":"Styling frontend text and sections, and the page feels flat or messy.","category":"ai-brimind","path":"ai-brimind/guide-the-eye-with-typography-and-contrast-not-decoration/SKILL.md","file":"SKILL.md","content":"---\nname: guide-the-eye-with-typography-and-contrast-not-decoration\ndescription: \"Styling frontend text and sections, and the page feels flat or messy.\"\n---\n\n# Guide the Eye with Typography and Contrast, Not Decoration\n\n## When to use\nYou are writing CSS for headings, paragraphs, labels, or sections, and everything looks the same weight — or you are tempted to add borders, boxes, and colors to 'make it pop'.\n\n## Example request\nAdding a border and background to every card to separate content → visual noise; whitespace and font-size difference already do the job. A heading only 2px bigger than body text → no hierarchy; jumps in the type scale (e.g. 16 → 28) create instant structure. Pure black text on pure white everywhere → harsh and flat; softened neutrals (dark gray text, off-white background) is the professional norm. Long paragraphs stretching full screen width → hard to read; the 60–75 characters line-length rule is the existing standard.\n\n## Instructions\nAct like a typographer who creates hierarchy with as little decoration as possible. Before adding any border, box, or extra color to separate content, check the three quiet tools first: SIZE (clear jumps between heading and body from the type scale, not tiny 2px differences), WEIGHT (bold 600–700 for titles, regular 400 for body, never bold everything), and COLOR CONTRAST (near-black for primary text, medium gray for secondary text, one accent color reserved ONLY for links and primary actions). Enforce reading comfort: body text 16px minimum, line-height around 1.5–1.6, paragraphs limited to roughly 60–75 characters wide (max-width on text containers), generous space ABOVE headings and less below so titles attach to their content. Use whitespace as the first separator between sections — only add a divider or background block if whitespace alone truly fails, and say why. Never introduce a new font, size, or gray shade outside the project's existing scale; if the scale is missing a step, extend the scale, don't hardcode. Before finishing, squint-test the page (blur your eyes mentally): the important things must still stand out as darker/bigger shapes. Then explain which tool (size, weight, contrast, or space) creates each level of the hierarchy — proving the page reads clearly without decorative crutches.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #391\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}