Created comprehensive theme package with: Core System: - CSS variable system (100+ design tokens) - Core styles (reset, typography, animations, utilities) - Responsive grid and dashboard layouts Components: - Cards with hover effects and variants (glass, success, warning, danger, primary) - Buttons (primary, secondary, danger, ghost) - Forms, tables, modals, tooltips, badges, alerts, navigation Theme Variants: - Dark mode (default) with gradient background - Light mode with clean white surfaces - Cyberpunk mode for futuristic aesthetic Multi-Language Support: - English (en), French (fr), German (de), Spanish (es) - 40+ translation keys covering common UI, dashboard, modules, settings, errors - Theme.t() method for parameter substitution JavaScript Theme Controller: - Theme.init() for initialization - Theme.apply() for theme switching - Theme.setLanguage() for i18n - Theme.createCard(), createButton(), createBadge() helpers - Theme.createPage() for full page composition Files Created: - 22 CSS files (core, components, layouts, themes) - 1 JavaScript controller (theme.js) - 4 translation files (all validated JSON) - 2 documentation files (README, USAGE) - 1 main bundle (secubox-theme.css + minified) - 1 Makefile (LuCI package definition) Usage: 'require secubox-theme/theme as Theme' See USAGE.md for complete API documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
44 lines
1.4 KiB
JSON
44 lines
1.4 KiB
JSON
{
|
|
"common.loading": "Loading…",
|
|
"common.error": "Something went wrong",
|
|
"common.success": "Action completed successfully",
|
|
"common.save": "Save",
|
|
"common.cancel": "Cancel",
|
|
"common.apply": "Apply",
|
|
"common.reset": "Reset",
|
|
"common.delete": "Delete",
|
|
"common.edit": "Edit",
|
|
"common.view": "View",
|
|
"common.close": "Close",
|
|
"common.confirm": "Confirm",
|
|
"common.enabled": "Enabled",
|
|
"common.disabled": "Disabled",
|
|
"common.active": "Active",
|
|
"common.inactive": "Inactive",
|
|
"common.status": "Status",
|
|
"common.actions": "Actions",
|
|
"dashboard.title": "SecuBox Control Center",
|
|
"dashboard.welcome": "Welcome back, {name}",
|
|
"dashboard.overview": "Overview",
|
|
"dashboard.alerts": "System Alerts",
|
|
"dashboard.active_modules": "Active Modules",
|
|
"dashboard.system_health": "System Health",
|
|
"dashboard.quick_actions": "Quick Actions",
|
|
"modules.title": "Modules",
|
|
"modules.active": "Active Modules",
|
|
"modules.available": "Available Modules",
|
|
"modules.install": "Install Module",
|
|
"modules.remove": "Remove Module",
|
|
"settings.title": "Settings",
|
|
"settings.language": "Language",
|
|
"settings.theme": "Theme",
|
|
"settings.save_changes": "Save Changes",
|
|
"settings.dark_mode": "Dark Mode",
|
|
"settings.light_mode": "Light Mode",
|
|
"settings.cyberpunk_mode": "Cyberpunk Mode",
|
|
"errors.network": "Network connection error",
|
|
"errors.permission": "Permission denied",
|
|
"errors.not_found": "Resource not found",
|
|
"errors.server": "Server error"
|
|
}
|