slidev-theme-hatch-corporate
Version:
A comprehensive Slidev theme for Hatch corporate presentations with advanced layouts and components
49 lines (41 loc) • 1.37 kB
text/typescript
// Hatch Corporate Slidev Theme v2.0
// Enhanced with advanced layouts and components
export { default as HatchCard } from './components/HatchCard.vue'
export { default as HatchButton } from './components/HatchButton.vue'
export { default as HatchBadge } from './components/HatchBadge.vue'
export {
type HatchThemeConfig,
defaultConfig,
mergeConfig,
getAnniversaryYears
} from './config'
import { mergeConfig, type HatchThemeConfig } from './config'
// Theme configuration
export default {
name: 'hatch-corporate',
version: '2.0.0',
colorSchema: 'auto',
highlighter: 'prism',
// Enhanced layout system
layouts: {
cover: './layouts/cover.vue',
default: './layouts/default.vue',
section: './layouts/section.vue',
'two-cols': './layouts/two-cols.vue',
'image-right': './layouts/image-right.vue',
qa: './layouts/qa.vue',
metrics: './layouts/metrics.vue',
timeline: './layouts/timeline.vue',
closing: './layouts/closing.vue'
},
// Component registration
components: {
HatchCard: './components/HatchCard.vue',
HatchButton: './components/HatchButton.vue',
HatchBadge: './components/HatchBadge.vue'
}
}
// Global configuration helper function
export function defineConfig(config?: Partial<HatchThemeConfig>) {
return mergeConfig(config)
}