feat: complete issue-facade capability enhancement and project cleanup
Some checks failed
Test Suite / unit-tests (3.11) (push) Has been cancelled
Test Suite / unit-tests (3.12) (push) Has been cancelled
Test Suite / integration-tests (push) Has been cancelled
Test Suite / e2e-tests (push) Has been cancelled
Test Suite / performance-tests (push) Has been cancelled
Test Suite / code-quality (push) Has been cancelled
Test Suite / security-scan (push) Has been cancelled
Test Suite / test-summary (push) Has been cancelled
Some checks failed
Test Suite / unit-tests (3.11) (push) Has been cancelled
Test Suite / unit-tests (3.12) (push) Has been cancelled
Test Suite / integration-tests (push) Has been cancelled
Test Suite / e2e-tests (push) Has been cancelled
Test Suite / performance-tests (push) Has been cancelled
Test Suite / code-quality (push) Has been cancelled
Test Suite / security-scan (push) Has been cancelled
Test Suite / test-summary (push) Has been cancelled
- Update TODO.md to reflect completed issue-facade capability fixes - Archive old CLI structure files that were moved to capabilities/issue-facade - Reorganize remaining CLI components into issue_tracker/ package - Add test coverage for issue #166 substack theme implementation - Update document manager and markdown command plugins with latest improvements - Complete project reorganization following capability-based architecture This commit finalizes the issue-facade capability enhancement project and ensures the main repository reflects the current state of all completed work. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -263,11 +263,16 @@ class CleanDocumentManager:
|
||||
}}"""
|
||||
|
||||
# Heading styles
|
||||
heading_font_style = ""
|
||||
if 'heading_font_family' in props and props['heading_font_family']:
|
||||
heading_font_style = f"font-family: {props['heading_font_family']};"
|
||||
|
||||
heading_css = ""
|
||||
if props['heading_style'] == 'underlined':
|
||||
heading_css = f"""
|
||||
h1, h2, h3, h4, h5, h6 {{
|
||||
color: {props['heading_color']};
|
||||
{heading_font_style}
|
||||
border-bottom: 1px solid {props['border_color']};
|
||||
padding-bottom: 0.3em;
|
||||
}}"""
|
||||
@@ -275,6 +280,7 @@ class CleanDocumentManager:
|
||||
heading_css = f"""
|
||||
h1, h2, h3, h4, h5, h6 {{
|
||||
color: {props['heading_color']};
|
||||
{heading_font_style}
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
}}
|
||||
@@ -288,6 +294,7 @@ class CleanDocumentManager:
|
||||
heading_css = f"""
|
||||
h1, h2, h3, h4, h5, h6 {{
|
||||
color: {props['heading_color']};
|
||||
{heading_font_style}
|
||||
}}"""
|
||||
|
||||
# Text alignment
|
||||
|
||||
@@ -180,6 +180,27 @@ LAYERED_THEMES = {
|
||||
'link_hover_color': '#999999'
|
||||
}
|
||||
},
|
||||
'substack': {
|
||||
'scope': 'document',
|
||||
'properties': {
|
||||
'font_family': 'Spectral, Georgia, "Times New Roman", serif',
|
||||
'heading_font_family': 'Lora, -apple-system, BlinkMacSystemFont, sans-serif',
|
||||
'max_width': '680px',
|
||||
'body_background': '#FAF9F1',
|
||||
'body_color': '#333333',
|
||||
'heading_color': '#333333',
|
||||
'text_align': 'left',
|
||||
'line_height': '1.6',
|
||||
'heading_style': 'simple',
|
||||
'accent_color': '#b08d57',
|
||||
'link_color': '#b08d57',
|
||||
'link_hover_color': '#8b6c42',
|
||||
'code_background': '#f5f4ed',
|
||||
'code_color': '#333333',
|
||||
'blockquote_border': '#b08d57',
|
||||
'blockquote_color': '#666666'
|
||||
}
|
||||
},
|
||||
|
||||
# Branding Themes - Company/personal styling
|
||||
'corporate': {
|
||||
@@ -205,7 +226,8 @@ LEGACY_THEME_MAPPING = {
|
||||
'basic': ['light', 'standard', 'basic'],
|
||||
'github': ['light', 'standard', 'github'],
|
||||
'dark': ['dark', 'standard', 'basic'],
|
||||
'academic': ['light', 'standard', 'academic']
|
||||
'academic': ['light', 'standard', 'academic'],
|
||||
'substack': ['light', 'standard', 'substack']
|
||||
}
|
||||
|
||||
# Keep TEMPLATE_STYLES for backward compatibility in tests
|
||||
@@ -229,6 +251,11 @@ TEMPLATE_STYLES = {
|
||||
'body_color': '#333',
|
||||
'font_family': 'Georgia, Times New Roman, serif',
|
||||
'max_width': '650px'
|
||||
},
|
||||
'substack': {
|
||||
'body_color': '#333333',
|
||||
'font_family': 'Spectral, Georgia, "Times New Roman", serif',
|
||||
'max_width': '680px'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user