ryssbowh / craft-themes
Themes engine
Installs: 3 647
Dependents: 2
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 6
Type:craft-plugin
Requires
- ext-intl: *
- craftcms/cms: ^4.0
- mobiledetect/mobiledetectlib: ^2.8
- ryssbowh/scss-php-compiler: ^0.1
- twig/intl-extra: ^3.3
Requires (Dev)
- codeception/codeception: ^4.0
- codeception/module-asserts: ^1.0.0
- codeception/module-phpbrowser: ^1.0.0
- codeception/module-yii2: ^1.0.0
- codeception/stub: ^3.0
- symfony/var-dumper: ^5.3
- vlucas/phpdotenv: ^3.0
- dev-master
- 4.2.15
- 4.2.14
- 4.2.13
- 4.2.12
- 4.2.11
- 4.2.10
- 4.2.9
- 4.2.8
- 4.2.7
- 4.2.6
- 4.2.5
- 4.2.4
- 4.2.3
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.7
- 4.1.6
- 4.1.5
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.7
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.1
- 4.0.0
- 4.0.0-beta.3
- 4.0.0-beta.2
- 4.0.0-beta.1
- v3.x-dev
- 3.3.10
- 3.3.9
- 3.3.8
- 3.3.7
- 3.3.6
- 3.3.5
- 3.3.4
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.4
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.9
- 3.1.8
- 3.1.7
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- v2.x-dev
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.1
- 2.0.0
- v1.x-dev
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.1.1
- 0.1.0
- dev-develop
This package is auto-updated.
Last update: 2024-12-09 16:36:31 UTC
README
This is a theme engine for Craft CMS 4.0, it allows you to create themes that are reusable and extendable.
Themes are regular plugins, as such they can have their own settings, migrations etc, but now have a set of templates and assets that will inherit themselves, allowing for faster frontend development.
A rule system allows you to define which theme will be used for which site, language, view port or url path. Or a mix of those 4.
Make use of the built-in compiler to compile scss files or scss inlined in your templates. Scss will use inheritance too !
The pro version aims at taking control over how pages are displayed using an interface in the backend and a theme engine that is reusable, adaptable and easy to use.
Themes are regular Craft plugins, as such they can be shared on the store, installed from packagist or created by yourself. They can have settings and migrations and most importantly extend each other.
Craft backend is amazing but if you're not a developer making a frontend can be a bit daunting, the pro version should alleviate this by doing a lot of the work for you.
The lite version will allow you to :
- Install themes from the store or any git repository (composer, github, local filesystem etc)
- Define your own themes that can extend each other
- Choose which theme will be used for which site, language, viewport or url path according to a set of rules.
- Compile scss files
The Pro version will allow you to :
- Define regions in your themes
- Assign blocks to the themes regions
- Define your own blocks
- Define your own view modes for each entry types/category groups/global sets/tag groups/volumes/users layouts
- Choose how your fields and assets are displayed on the front end depending on their view modes and options
- Define your own fields and assets displayers
- Use a templating cascading system that allows bespoke rendering
- Eager load fields automatically
- Use several caching layers for faster rendering
What it doesn't allow you to do :
- Change the backend look and feel
- Override plugins templates (unless specific case, see developers readme)
Consult the documentation for further details on how to use those features.
Requirements
- Craft ^4.0
- PHP 8.0 or over
- PHP Intl extension
Testing
This plugin is unit tested with mysql 5.7, postgresql 12.8, Craft 4.0 and php 8.0/8.1.
Documentation
Roadmap/Ideas
- Themes preferences not related to project config
- Restricted version of blocks page for envs where admin changes are disabled
- Improve displayer cache by not saving the ones that didn't change
- Add a Theme tab to the debug bar
- Add a project config tracked data version to warn when layouts need rebuilt