feat: add theme selection and customization

This commit is contained in:
2026-07-07 22:59:03 -04:00
parent 49df5195bd
commit fe39b2196d
26 changed files with 3485 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
<?php
namespace KTXM\Themer;
use KTXF\Module\ModuleBrowserInterface;
use KTXF\Module\ModuleInstanceAbstract;
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
{
public function __construct()
{ }
public function handle(): string
{
return 'themer';
}
public function label(): string
{
return 'Appearance';
}
public function author(): string
{
return 'Ktrix';
}
public function description(): string
{
return 'Theme selection and customization for users and tenants.';
}
public function version(): string
{
return '0.0.1';
}
public function permissions(): array
{
return [
'themer' => [
'label' => 'Access Appearance Settings',
'description' => 'View and access the appearance settings module',
'group' => 'Themer'
],
];
}
public function registerBI(): array
{
return [
'handle' => $this->handle(),
'namespace' => 'Themer',
'version' => $this->version(),
'label' => $this->label(),
'author' => $this->author(),
'description' => $this->description(),
'boot' => 'static/module.mjs',
];
}
}