Complete implementation of comprehensive CSS extraction system for theme-aware Typst PDF exports: - CSSExtractor.ts: Core DOM style extraction with theme detection - CSSToTypstMapper.ts: CSS to Typst property conversion with color parsing - ThemeManager.ts: Theme-specific variable handling for popular themes - PopularThemeSupport.ts: Enhanced support for Minimal, Blue Topaz, Sanctum - PluginSpecificStyleHandler.ts: Style extraction for Dataview, Templater, etc - HybridExportMode.ts: Main integration system with conflict resolution - Updated index.ts to export all new components and types System supports automatic theme detection, CSS variable extraction, plugin-specific styling, and hybrid export modes with configurable conflict resolution strategies. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
43 lines
1.2 KiB
TypeScript
43 lines
1.2 KiB
TypeScript
// Template System Exports
|
|
export { TemplateManager } from './template-manager';
|
|
export { TemplateSubstitution } from './template-substitution';
|
|
export { TemplateValidator } from './template-validator';
|
|
|
|
// CSS Extraction and Style Preservation System Exports
|
|
export { CSSExtractor } from './CSSExtractor';
|
|
export { CSSToTypstMapper } from './CSSToTypstMapper';
|
|
export { ThemeManager } from './ThemeManager';
|
|
export { PopularThemeSupport } from './PopularThemeSupport';
|
|
export { PluginSpecificStyleHandler } from './PluginSpecificStyleHandler';
|
|
export { HybridExportMode } from './HybridExportMode';
|
|
|
|
// Type Exports
|
|
export type {
|
|
Template,
|
|
TemplateVariable,
|
|
TemplateMetadata,
|
|
TemplateValidationResult,
|
|
SubstitutionContext
|
|
} from './types';
|
|
|
|
// CSS System Type Exports
|
|
export type {
|
|
ExtractedStyle,
|
|
ThemeInfo,
|
|
CSSExtractionOptions,
|
|
TypstStyleRule,
|
|
MappingOptions,
|
|
ColorFormat,
|
|
ThemeVariableMapping,
|
|
ThemeProfile,
|
|
ThemeDetectionResult,
|
|
EnhancedThemeProfile,
|
|
ThemeCustomization,
|
|
ThemeTestResult,
|
|
PluginStyleProfile,
|
|
PluginDetectionResult,
|
|
HybridExportOptions,
|
|
HybridStyleResult,
|
|
StyleConflict,
|
|
ConflictResolution
|
|
} from './CSSExtractor'; |