79 lines
3.1 KiB
TypeScript
79 lines
3.1 KiB
TypeScript
// ============================================================================
|
|
// CONFIGURATION INDEX
|
|
// ============================================================================
|
|
// This file re-exports all configuration modules for backward compatibility.
|
|
// You can import from here or directly from the individual config files.
|
|
//
|
|
// Import examples:
|
|
// import { user, skills } from '$lib/config'; // via barrel
|
|
// import { user } from '$lib/config/user'; // direct import
|
|
// import { colorPalette } from '$lib/config/theme'; // direct import
|
|
// ============================================================================
|
|
|
|
// User profile and skills
|
|
export { user, skills } from './user';
|
|
|
|
// Layout, breakpoints, fonts, navbar, scrollbar
|
|
export { layout, breakpoints, fonts, navbar, scrollbar } from './layout';
|
|
|
|
// Theme colors, buttons, animations, effects, loading screen
|
|
export {
|
|
colorPalette,
|
|
terminalButtons,
|
|
loadingScreen,
|
|
effects,
|
|
animations
|
|
} from './theme';
|
|
|
|
// Content: projects, models, hackathon cards
|
|
export type { Project, Model3D, Card } from './content';
|
|
export { projects, models, cards, sortedCards } from './content';
|
|
|
|
// Terminal settings, TUI styling, speed presets, model viewer, particles, shortcuts
|
|
export type { SpeedPreset, TerminalSettings } from './terminal';
|
|
export {
|
|
terminalSettings,
|
|
tuiStyle,
|
|
tuiText,
|
|
pageSpeedSettings,
|
|
pageAutoscrollSettings,
|
|
speedPresets,
|
|
modelViewer,
|
|
particles,
|
|
keyboardShortcuts
|
|
} from './terminal';
|
|
|
|
// Navigation, site metadata, page meta
|
|
export type { PageMeta } from './navigation';
|
|
export { navigation, site, pageMeta } from './navigation';
|
|
|
|
// ============================================================================
|
|
// COLOR FORMATTING REFERENCE
|
|
// ============================================================================
|
|
// Use (&color)text(&) syntax in terminal content for colored text
|
|
// Use (&icon, iconName) syntax for inline icons
|
|
//
|
|
// Available colors:
|
|
// red, green, yellow, blue, magenta, cyan, white, gray, orange, pink
|
|
// primary, accent, muted, error, success, warning, info
|
|
//
|
|
// Available styles:
|
|
// bold, dim, italic, underline
|
|
//
|
|
// Examples:
|
|
// "Hello (&red)world(&)!" -> red "world"
|
|
// "(&bold,green)Success(&): Task done" -> bold green "Success"
|
|
// "(&italic,cyan)Note(&): See docs" -> italic cyan "Note"
|
|
// "Status: (&primary)Active(&)" -> theme primary color
|
|
// "(&dim)This is muted text(&)" -> dimmed text
|
|
// "(&bold,underline,yellow)Warning(&)" -> bold underlined yellow
|
|
// "(&error)Failed(&) - (&success)Passed(&)" -> multiple colors
|
|
// "(&icon, mdi:github) GitHub" -> inline GitHub icon
|
|
// "Check (&icon, mdi:check) Done" -> inline check icon
|
|
|
|
// ============================================================================
|
|
// HELPER FUNCTIONS
|
|
// ============================================================================
|
|
// NOTE: Helper functions are in `src/lib/index.ts` to provide a central
|
|
// barrel and avoid duplication. Import helpers from `$lib` instead of `$lib/config`.
|