Document theme that mimics ChatGPT chat interface fonts and fontsizes #165
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The layout of chatgpt chats is very compact, readable and optimized from interactions with a lot of users. Let's have a style that is similar.
ChatGPT document theme successfully implemented with complete functionality:
✅ Theme Implementation: Added 'chatgpt' document theme to LAYERED_THEMES system
✅ Typography: Inter font family for modern, clean reading experience
✅ Layout: Compact 580px width optimized for interactive content
✅ Styling: ChatGPT signature green (#10a37f) accent with high contrast (#1f1f1f) text
✅ Code Support: Proper monospace fonts for code blocks with light gray background
✅ Compatibility: Full backward compatibility with TEMPLATE_STYLES and LEGACY_THEME_MAPPING
✅ CLI Integration: Works with markitect md-render --theme chatgpt command
✅ Test Coverage: Comprehensive 9-test suite covering all functionality (9/9 passing)
✅ Theme Layering: Properly combines with light/dark modes and UI themes
The ChatGPT theme provides compact, efficient layout perfect for modern interactive reading, following ChatGPT's interface design principles.