mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 20:29:26 -06:00
Replace hardcoded theme-specific logic with generic regex that handles any golden-layout CSS file automatically. Improvements: - Single regex captures any ~golden-layout/src/css/* import - Automatic .css extension handling - Dynamic theme name extraction for comments - Graceful error handling with fallback - Future-proof for new golden-layout themes Reduces code from 31 to 20 lines while adding flexibility. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>