semitexa / theme
Semitexa theme/skin resolver layer + base theme (layouts, partials, default skin, SkinAlgorithmInterface contract). Framework + theme-base rolled into one package.
2026.11.07.1841
2026-11-07 09:43 UTC
Requires
- php: ^8.4
- semitexa/core: >=2026.10.29.1052 || dev-master
- semitexa/locale: *
- semitexa/ssr: >=2026.11.03.0259 || dev-master
- semitexa/tenancy: *
Requires (Dev)
- phpunit/phpunit: ^10.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 2026.11.07.1841
- 2026.11.03.0259
- 2026.10.29.1052
- 2026.10.19.0811
- 2026.10.14.1540
- 2026.10.14.0919
- 2026.10.08.0620
- 2026.09.27.0404
- 2026.09.22.1433
- 2026.09.17.1037
- 2026.09.11.1941
- 2026.09.09.1708
- 2026.08.04.2028
- 2026.06.21.0352
- 2026.05.08.1640
- 2026.04.26.0801
- 2026.04.26.0639
- v0.0.1
- dev-develop
This package is auto-updated.
Last update: 2026-11-28 01:19:42 UTC
README
semitexa/theme
The theme and skin resolver, together with the base theme (theme-base): layouts, partials and token-driven skins over one shared markup set. A theme is chosen per request from its theme.json manifest (active_when: tenant, domain, locale), and themes can extend each other.
Install
Included in every project created by the installer (https://semitexa.com/install.sh).
What it provides
theme-base: layoutsone-column,two-columns-left,two-columns-right,three-columns,marketing; an error page; partials for head, header, nav, breadcrumbs and footer; the default skin.- Manifest-driven resolution (
ThemeResolverInterface,ThemeManifestRepositoryInterface) with an extends chain that is also the template fallback chain. SkinAlgorithmInterfaceand the skin builder thatsemitexa/platform-uiuses to generate skins.- Console commands:
bin/semitexa theme:scaffold [--slug=…] [--domain=…]creates a project theme insrc/theme/<slug>/that extendstheme-base;bin/semitexa theme:resolve [--tenant=…] [--domain=…] [--locale=…]shows which theme and skin apply to a context;bin/semitexa theme:validatechecks everytheme.jsonand exits 1 on errors.
Documentation
Commands: https://semitexa.com/docs/reference/commands-theme
License
MIT, see LICENSE.