diff --git a/docs/how-it-works.md b/docs/how-it-works.md index 2e456f4..cdc5bdc 100644 --- a/docs/how-it-works.md +++ b/docs/how-it-works.md @@ -41,7 +41,7 @@ Best way to create a new Theme is to use `theme:make` artisan command. See [here Note that `composer.json` file is **required** and must contains following data (here is an example for a theme named __maestro__): ```json { - "name": "hexadog/maestro", + "name": "prismalms/maestro", "description": "Hexadog default theme", "type": "laravel-theme", "version": "1.0", @@ -59,4 +59,4 @@ Note that `composer.json` file is **required** and must contains following data } } } -``` \ No newline at end of file +``` diff --git a/docs/usage/artisan.md b/docs/usage/artisan.md index 8934cc5..db7604b 100644 --- a/docs/usage/artisan.md +++ b/docs/usage/artisan.md @@ -63,13 +63,13 @@ php artisan theme:list ## Activate Theme Only active themes can be used at runtime. ```shell -php artisan theme:activate hexadog/default +php artisan theme:activate prismalms/default ``` ## Deactivate Theme Deactivated theme to make it unavailable for usage. ```shell -php artisan theme:deactivate hexadog/default +php artisan theme:deactivate prismalms/default ``` ## Clear cache @@ -82,4 +82,4 @@ php artisan theme:cache Generate cache ```bash php artisan theme:cache:clear -``` \ No newline at end of file +``` diff --git a/docs/usage/assets.md b/docs/usage/assets.md index 8aeb95c..ffd05c6 100644 --- a/docs/usage/assets.md +++ b/docs/usage/assets.md @@ -15,7 +15,7 @@ Ask the **Themes Manager** to generate an asset URL: This call will return the url of requested asset: ``` -http://localhost/themes/hexadog/default/css/app.min.css +http://localhost/themes/prismalms/default/css/app.min.css ``` ## Theme Style @@ -29,7 +29,7 @@ Ask the **Themes Manager** to generate the stylesheet HTML tag: This call will generate the following code: ```html - + ``` ## Theme Script @@ -43,7 +43,7 @@ Ask the **Themes Manager** to generate the script HTML tag: This call will generate the following code: ```html - + ``` ## Theme Image @@ -56,9 +56,9 @@ Ask the **Themes Manager** to generate the image HTML tag: ``` This call will generate the following code: ```html -My Theme logo +My Theme logo ``` :::tip Customize public theme assets path You can customize themes public assets path with `symlink_path` configuration value (See [Public assets path](/configuration/assets)). -::: \ No newline at end of file +::: diff --git a/docs/usage/basic.md b/docs/usage/basic.md index 2d4cf4d..73181fb 100644 --- a/docs/usage/basic.md +++ b/docs/usage/basic.md @@ -18,7 +18,7 @@ class MyController extends Controller // Specify theme name with vendor // in case multiple themes with same name are provided by multiple vendor - ThemesManager::set('hexadog/my-theme'); + ThemesManager::set('prismalms/my-theme'); } } ``` diff --git a/docs/usage/components.md b/docs/usage/components.md index 2bdec40..1f4f041 100644 --- a/docs/usage/components.md +++ b/docs/usage/components.md @@ -17,26 +17,26 @@ Clean up you theme layouts with our integrated Blade Components. ## Theme Asset ```html - + ``` ## Theme Image ```html - + - + ``` ## Theme Script ```html - + ``` ## Theme Style ```html - + - -``` \ No newline at end of file + +``` diff --git a/docs/usage/middleware.md b/docs/usage/middleware.md index 71c775b..554ee06 100755 --- a/docs/usage/middleware.md +++ b/docs/usage/middleware.md @@ -20,7 +20,7 @@ class ThemeLoader extends HexadogThemeLoader // Check if request url starts with admin prefix if ($request-segment(1) === 'admin') { // Set a specific theme for matching urls - $theme = 'hexadog/admin'; + $theme = 'prismalms/admin'; } // Call parent Middleware handle method diff --git a/src/ThemesManager.php b/src/ThemesManager.php index f9eb906..68a8fc0 100644 --- a/src/ThemesManager.php +++ b/src/ThemesManager.php @@ -184,7 +184,7 @@ public function url(string $asset, bool $absolute = true): ?string /** * Find a theme by given name and vendor (optional) - * name can include vendor prefix (ie: hexadog/default) + * name can include vendor prefix (ie: prismalms/default) * If no vendor provided and name not prefixed by vendor * the first theme with given name is returned. */