MAModern Ai Web Design Bloginmodern-ai-web-design.hashnode.dev·May 11 · 6 min readImplementing a CSS Type System with Custom Properties: A Production PatternA typography system defined in design files is worth nothing until it is implemented correctly in CSS. This guide covers a production-ready pattern for implementing a complete type system using CSS custom properties: the variable architecture, the na...00
MAModern Ai Web Design Bloginmodern-ai-web-design.hashnode.dev·May 11 · 6 min read12 Essential Resources for Web Typography and Design SystemsTypography is one of the most technically deep areas of front-end development once you get past surface-level font choices. The resources below cover the full range: foundational theory, CSS implementation, tooling, variable fonts, accessibility, and...00
MAModern Ai Web Design Bloginmodern-ai-web-design.hashnode.dev·May 10 · 6 min readTesting Frameworks Worth Knowing for AI-Assisted Test GenerationAI coding assistants generate better tests when you specify the target testing framework explicitly. Different frameworks have different assertion APIs, different mock patterns, and different file conventions - and AI models have varying levels of fa...00
MAModern Ai Web Design Bloginmodern-ai-web-design.hashnode.dev·May 10 · 6 min readHow to Write Prompts for Better AI-Generated Unit TestsThe quality of AI-generated unit tests is almost entirely determined by the quality of the prompt. An open-ended request ("write tests for this function") produces tests that cover whatever pattern the model finds most salient. A structured request w...00
MAModern Ai Web Design Bloginmodern-ai-web-design.hashnode.dev·May 9 · 8 min readHow to Write Unit Tests for Legacy Code Using AI Coding AssistantsUntested legacy code is the highest-risk category in software modernization. You cannot change what you cannot verify. And you cannot verify behavior you have not defined in tests. The traditional advice - "write tests before you refactor" - is sound...00