Chico Fab Lab Documentation
This folder contains project documentation for developers and contributors.
๐ Documentation Index
Quick Start
- Complete Feature Recap - Comprehensive overview of all features
Core Documentation
- Component Library - Reusable UI components
- CSS Library - Utility classes and design tokens
- Brand Standards - Colors, typography, and design guidelines
Interactive Features (NEW!)
- Sound System - Web Audio API sound effects
- Achievement System - Gamification and badges
- Fun Buttons - 30+ animated button styles
- Easter Eggs - Hidden secrets and the Konami code
- The Void - Eldritch corruption system
- Button Playground - Interactive button builder
- Unified FAB Bar - Floating action bar for quick actions
Technical Debt
- Technical Debt Overview - Debt tracking index
- CSS Modularization - 7000+ line CSS file
- JavaScript Extraction - Inline JS in layout
- Font Loading - Performance optimization
๐ฎ Quick Feature Overview
Sound Effects (CFL.sounds)
Every button click triggers contextual sounds. Rainbow buttons play magical chimes, bouncy buttons go โboingโ, neon buttons zap, etc.
CFL.sounds.magic(); // Ascending arpeggio
CFL.sounds.boing(); // Springy bounce
CFL.sounds.coin(); // Retro pickup sound
CFL.sounds.eldritch(); // Ominous drone
Achievement System (CFL.achievements)
16 unlockable achievements track user interactions. Toast notifications appear on unlock.
CFL.achievements.unlock('first-click'); // Manually unlock
CFL.achievements.getStats(); // { clicks: 42, pages: [...] }
Easter Eggs
- Konami Code: โโโโโโโโBA triggers rainbow mode
- Hidden Eggs: 5 semi-transparent emoji eggs appear randomly
- The Void:
/wiki/voidpage with corruption mechanics
๐ ๏ธ Development
Local Setup
# Install Jekyll (if not installed)
gem install bundler jekyll
# Serve locally
jekyll serve
File Structure
chicofablab.github.io/
โโโ _includes/components/ # Reusable UI components
โโโ _layouts/
โ โโโ default.html # Main template + ALL JavaScript
โโโ _wiki/
โ โโโ component-showcase.mkd # Live component examples
โ โโโ button-playground.mkd # Interactive button builder
โ โโโ void.mkd # Eldritch corruption page
โ โโโ ...
โโโ assets/
โ โโโ css/main.css # Main stylesheet (includes fun buttons)
โโโ docs/ # This folder
โ โโโ README.md # This file
โ โโโ SOUND-SYSTEM.md # Sound effects documentation
โ โโโ ACHIEVEMENTS.md # Achievement system documentation
โ โโโ FUN-BUTTONS.md # Fun button styles reference
โ โโโ EASTER-EGGS.md # Secrets and hidden features
โ โโโ THE-VOID.md # Void/corruption documentation
โ โโโ BUTTON-PLAYGROUND.md
โ โโโ technical-debt/ # Technical debt tracking
โ โโโ README.md
โ โโโ css-modularization.md
โ โโโ javascript-extraction.md
โ โโโ font-loading.md
โโโ index.html
Key Implementation Details
- All JavaScript lives in
_layouts/default.html- No external JS files - All CSS lives in
assets/css/main.css- Single stylesheet - LocalStorage keys use
cflprefix (e.g.,cflAchievements,cflSoundsEnabled) - Animations respect
prefers-reduced-motionmedia query
๐ฏ Work Efforts
This project uses the Johnny Decimal system for tracking work efforts, integrated with MCP (Model Context Protocol) tools.
Structure
Work efforts are organized in _work_efforts/ using the Johnny Decimal system:
- Categories (00-99): Main areas like Project Management (00-09) and Development (10-19)
- Subcategories (00-99): Specific focus areas within each category
- Index Files: Each subcategory has an
XX.00_index.mdfile for navigation
Using MCP Tools
The project integrates with MCP tools for managing work efforts:
list_work_efforts: View all work efforts by status (active, paused, completed, all)search_work_efforts: Search by keyword in title or contentcreate_work_effort: Create new work efforts with automatic Johnny Decimal numberingupdate_work_effort: Update status or add progress notes
Documentation
- See
_work_efforts/README.mdfor complete system documentation - See
_work_efforts/XX-XX_category/XX_subcategory/XX.00_index.mdfor category navigation - See individual work effort files for detailed task tracking
๐ Quick Links
- Component Showcase - Live examples of all UI components
- Button Playground - Build custom buttons interactively
- Getting Started - New user guide
- The Void - Enter if you dareโฆ ๐๏ธ