First-class pongo2 theme with 4 color presets (Federation, Red Alert, Sickbay, Engineering), 3 custom blocks (header, sidebar, panel), 2 page templates, heading/text overrides, email wrapper, bundled Antonio font, and full LCARS CSS with elbow brackets, pill buttons, and rounded bars. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
795 B
Go
25 lines
795 B
Go
package main
|
|
|
|
import (
|
|
"io/fs"
|
|
"net/http"
|
|
|
|
"git.dev.alexdunmow.com/block/core/blocks"
|
|
"git.dev.alexdunmow.com/block/core/plugin"
|
|
"git.dev.alexdunmow.com/block/core/templates"
|
|
)
|
|
|
|
var Registration = plugin.PluginRegistration{
|
|
Name: "lcars",
|
|
Version: plugin.ParseModVersion(pluginModBytes),
|
|
Register: func(tr templates.TemplateRegistry, br blocks.BlockRegistry) error {
|
|
return Register(tr, br)
|
|
},
|
|
Assets: func() http.Handler { return AssetsHandler() },
|
|
Schemas: func() fs.FS { return SchemasFS() },
|
|
ThemePresets: func() []byte { return ThemePresets() },
|
|
BundledFonts: func() []byte { return BundledFonts() },
|
|
MasterPages: func() []plugin.MasterPageDefinition { return DefaultMasterPages() },
|
|
CSSManifest: func() *plugin.CSSManifest { return ThemeCSSManifest() },
|
|
}
|