**Asset Deployment Infrastructure:** - Enhanced RenderingEngineManager with complete asset deployment - Automatic plugin source directory discovery and asset copying - File system operations with proper directory structure preservation - Comprehensive error handling for missing assets **CLI Integration:** - Automatic asset deployment when using plugin engines - Verbose output showing deployment progress and statistics - Asset verification and accessibility validation - Production-ready deployment to _markitect/plugins/ structure **TestDrive JSUI Assets:** - Complete CSS asset suite (editor, controls, GitHub theme) - Placeholder image assets for testing deployment - Proper asset organization following plugin conventions - All 18 assets now deployed correctly **Testing Infrastructure:** - Comprehensive asset deployment testing - CLI integration verification with asset shipping - File existence and accessibility validation - Complete directory structure verification **Key Features:** - Assets deployed to `_markitect/plugins/testdrive-jsui/` when using --edit - HTML references match deployed asset locations - 18 total assets: 12 JS, 3 CSS, 3 images - Automatic deployment without --ship-assets flag needed - Clean separation of development vs production asset handling **Example Output:** ``` 🎯 Using rendering engine: testdrive-jsui (supports: edit, view) 📦 Deploying assets for engine 'testdrive-jsui'... 📄 Deployed 18 asset files js: 12 files css: 3 files images: 3 files ✅ Rendered with INTERACTIVE editing mode ``` This fixes the "HTML assets not found" issue when using explicit output directories with plugin engines. All plugin assets are now properly deployed and accessible. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
138 lines
2.9 KiB
CSS
138 lines
2.9 KiB
CSS
/**
|
|
* TestDrive JSUI GitHub Theme
|
|
*
|
|
* GitHub-inspired theme for the markdown editor
|
|
*/
|
|
|
|
:root {
|
|
--github-primary: #0969da;
|
|
--github-border: #d0d7de;
|
|
--github-bg-subtle: #f6f8fa;
|
|
--github-fg-default: #1f2328;
|
|
--github-fg-muted: #656d76;
|
|
--github-success: #1a7f37;
|
|
--github-danger: #d1242f;
|
|
--github-warning: #9a6700;
|
|
}
|
|
|
|
/* GitHub-style editor */
|
|
.markitect-edit-mode {
|
|
color: var(--github-fg-default);
|
|
}
|
|
|
|
.markitect-section {
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.markitect-section:hover {
|
|
background-color: var(--github-bg-subtle);
|
|
border-color: var(--github-border);
|
|
}
|
|
|
|
.markitect-section.editing {
|
|
border-color: var(--github-primary);
|
|
box-shadow: 0 0 0 0.2rem rgba(9, 105, 218, 0.25);
|
|
}
|
|
|
|
/* GitHub-style control panels */
|
|
.markitect-control-panel {
|
|
background: #ffffff;
|
|
border: 1px solid var(--github-border);
|
|
color: var(--github-fg-default);
|
|
}
|
|
|
|
/* GitHub-style buttons */
|
|
.edit-control .control-button {
|
|
background: var(--github-primary);
|
|
border: 1px solid transparent;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.edit-control .control-button:hover {
|
|
background: #0860ca;
|
|
}
|
|
|
|
.edit-control .control-button.danger {
|
|
background: var(--github-danger);
|
|
}
|
|
|
|
.edit-control .control-button.danger:hover {
|
|
background: #b91c1c;
|
|
}
|
|
|
|
/* GitHub-style status metrics */
|
|
.status-metric {
|
|
background: var(--github-bg-subtle);
|
|
border: 1px solid var(--github-border);
|
|
}
|
|
|
|
.status-metric .metric-value {
|
|
color: var(--github-primary);
|
|
}
|
|
|
|
.status-metric .metric-label {
|
|
color: var(--github-fg-muted);
|
|
}
|
|
|
|
/* GitHub-style debug panel */
|
|
.markitect-debug-panel {
|
|
background: #24292f;
|
|
color: #f0f6fc;
|
|
border: 1px solid #30363d;
|
|
}
|
|
|
|
.markitect-debug-message {
|
|
border-bottom: 1px solid #30363d;
|
|
}
|
|
|
|
.markitect-debug-error {
|
|
color: #f85149;
|
|
background-color: rgba(248, 81, 73, 0.1);
|
|
}
|
|
|
|
.markitect-debug-warning {
|
|
color: #f0c674;
|
|
background-color: rgba(240, 198, 116, 0.1);
|
|
}
|
|
|
|
.markitect-debug-success {
|
|
color: #56d364;
|
|
background-color: rgba(86, 211, 100, 0.1);
|
|
}
|
|
|
|
.markitect-debug-info {
|
|
color: #79c0ff;
|
|
background-color: rgba(121, 192, 255, 0.1);
|
|
}
|
|
|
|
/* GitHub-style table of contents */
|
|
.contents-control .toc-item {
|
|
color: var(--github-fg-default);
|
|
}
|
|
|
|
.contents-control .toc-item:hover {
|
|
background-color: var(--github-bg-subtle);
|
|
color: var(--github-primary);
|
|
}
|
|
|
|
/* GitHub-style scrollbars */
|
|
.contents-control::-webkit-scrollbar,
|
|
.debug-control .debug-logs::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.contents-control::-webkit-scrollbar-track,
|
|
.debug-control .debug-logs::-webkit-scrollbar-track {
|
|
background: var(--github-bg-subtle);
|
|
}
|
|
|
|
.contents-control::-webkit-scrollbar-thumb,
|
|
.debug-control .debug-logs::-webkit-scrollbar-thumb {
|
|
background: var(--github-border);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.contents-control::-webkit-scrollbar-thumb:hover,
|
|
.debug-control .debug-logs::-webkit-scrollbar-thumb:hover {
|
|
background: var(--github-fg-muted);
|
|
} |