Day 21: Style Documentation
Documenting the Experimental
Traditional design systems document consistency. Experimental design systems document possibility. Your style guide shouldn't just show what is, but what could be. Include variations, failures, and evolutionary dead ends. Document not just the components but the thinking - why does this glitch effect exist? When should brutalist typography dominate? Your documentation becomes a manifesto.
Living Documentation
Static documentation dies quickly, especially for experimental work. Build living style guides where examples are functional, not screenshots. Use tools like Storybook or custom-built galleries. Each component should be interactive, showing various states and contexts. Include code snippets that developers can copy. Most importantly, make it easy to add new experiments - documentation should encourage evolution.
Interactive Documentation Structure:
<div class="style-example">
<div class="example-display">
<!-- Live component here -->
<button class="glitch-button">Click Me</button>
</div>
<div class="example-controls">
<label>Glitch Intensity:
<input type="range" min="0" max="10" value="5">
</label>
<label>Animation Speed:
<input type="range" min="100" max="1000" value="300">
</label>
</div>
<div class="example-code">
<pre><code>.glitch-button {
animation: glitch var(--speed) infinite;
filter: contrast(var(--intensity));
}</code></pre>
</div>
<div class="example-notes">
<p>Use sparingly for emphasis. Best on dark backgrounds.
Avoid on critical CTAs where clarity matters.</p>
</div>
</div>
Principles Over Prescriptions
Document principles that guide decisions rather than rigid rules. Instead of "buttons must be 44px tall," explain "interactive elements need comfortable touch targets." Share the philosophy behind aesthetic choices. Why does your design embrace chaos? What emotions should users feel? These principles help others make decisions in your design language.
Evolution and Versioning
Experimental design systems must evolve or die. Version your documentation like code. Show the progression - how did that brutalist header evolve? What experiments led to current solutions? Include a changelog of aesthetic decisions. Encourage contributions and variations. The best experimental design systems become collaborative canvases where multiple designers push boundaries together.
Key Takeaways
- Document possibilities, not just patterns
- Build living, interactive documentation
- Share principles over prescriptive rules
- Design systems should encourage evolution