diff --git a/docs/guide/theming.md b/docs/guide/theming.md index 7be1292..e627f7c 100644 --- a/docs/guide/theming.md +++ b/docs/guide/theming.md @@ -1,4 +1,21 @@ Theming ======= -TBD \ No newline at end of file +TBD + +Configuring current theme +------------------------- + +Theme configuration is specified via `view` component of the application. So in order to set it up the following should +be in your application config file: + +```php +'components' => [ + 'view' => [ + 'theme' => [ + 'pathMap' => ['@app/views' => '@webroot/themes/basic'], + 'baseUrl' => '@web/themes/basic', + ], + ], +], +``` \ No newline at end of file