Skip to content

Commit a9c3ca8

Browse files
committed
Small fixes
1 parent c03b96b commit a9c3ca8

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

docs/how-it-works.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Best way to create a new Theme is to use `theme:make` artisan command. See [here
4141
Note that `composer.json` file is **required** and must contains following data (here is an example for a theme named __maestro__):
4242
```json
4343
{
44-
"name": "hexadog/maestro",
44+
"name": "prismalms/maestro",
4545
"description": "Hexadog default theme",
4646
"type": "laravel-theme",
4747
"version": "1.0",
@@ -59,4 +59,4 @@ Note that `composer.json` file is **required** and must contains following data
5959
}
6060
}
6161
}
62-
```
62+
```

docs/usage/artisan.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ php artisan theme:list
6363
## Activate Theme
6464
Only active themes can be used at runtime.
6565
```shell
66-
php artisan theme:activate hexadog/default
66+
php artisan theme:activate prismalms/default
6767
```
6868

6969
## Deactivate Theme
7070
Deactivated theme to make it unavailable for usage.
7171
```shell
72-
php artisan theme:deactivate hexadog/default
72+
php artisan theme:deactivate prismalms/default
7373
```
7474

7575
## Clear cache
@@ -82,4 +82,4 @@ php artisan theme:cache
8282
Generate cache
8383
```bash
8484
php artisan theme:cache:clear
85-
```
85+
```

docs/usage/assets.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Ask the **Themes Manager** to generate an asset URL:
1515

1616
This call will return the url of requested asset:
1717
```
18-
http://localhost/themes/hexadog/default/css/app.min.css
18+
http://localhost/themes/prismalms/default/css/app.min.css
1919
```
2020

2121
## Theme Style
@@ -29,7 +29,7 @@ Ask the **Themes Manager** to generate the stylesheet HTML tag:
2929

3030
This call will generate the following code:
3131
```html
32-
<link href="http://localhost/themes/hexadog/default/css/app.min.css">
32+
<link href="http://localhost/themes/prismalms/default/css/app.min.css">
3333
```
3434

3535
## Theme Script
@@ -43,7 +43,7 @@ Ask the **Themes Manager** to generate the script HTML tag:
4343

4444
This call will generate the following code:
4545
```html
46-
<script src="http://localhost/themes/hexadog/default/js/app.min.js"></script>
46+
<script src="http://localhost/themes/prismalms/default/js/app.min.js"></script>
4747
```
4848

4949
## Theme Image
@@ -56,9 +56,9 @@ Ask the **Themes Manager** to generate the image HTML tag:
5656
```
5757
This call will generate the following code:
5858
```html
59-
<img src="http://localhost/themes/hexadog/default/img/logo.png" alt="My Theme logo" />
59+
<img src="http://localhost/themes/prismalms/default/img/logo.png" alt="My Theme logo" />
6060
```
6161

6262
:::tip Customize public theme assets path
6363
You can customize themes public assets path with `symlink_path` configuration value (See [Public assets path](/configuration/assets)).
64-
:::
64+
:::

docs/usage/basic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class MyController extends Controller
1818

1919
// Specify theme name with vendor
2020
// in case multiple themes with same name are provided by multiple vendor
21-
ThemesManager::set('hexadog/my-theme');
21+
ThemesManager::set('prismalms/my-theme');
2222
}
2323
}
2424
```

docs/usage/components.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,26 @@ Clean up you theme layouts with our integrated Blade Components.
1717

1818
## Theme Asset
1919
```html
20-
<x-theme-asset source="css/app.css"/> <!-- http://laravel.test/themes/hexadog/default/css/app.css -->
20+
<x-theme-asset source="css/app.css"/> <!-- http://laravel.test/themes/prismalms/default/css/app.css -->
2121
```
2222

2323
## Theme Image
2424
```html
25-
<x-theme-image source="img/logo.png"/> <!-- <img src="http://laravel.test/themes/hexadog/default/img/logo.png" /> -->
25+
<x-theme-image source="img/logo.png"/> <!-- <img src="http://laravel.test/themes/prismalms/default/img/logo.png" /> -->
2626

2727
<!-- Add any HTML attribute -->
28-
<x-theme-image source="img/logo.png" class="image" alt="Logo" /> <!-- <img src="themes/hexadog/default/img/logo.png" class="image" alt="logo" /> -->
28+
<x-theme-image source="img/logo.png" class="image" alt="Logo" /> <!-- <img src="themes/prismalms/default/img/logo.png" class="image" alt="logo" /> -->
2929
```
3030

3131
## Theme Script
3232
```html
33-
<x-theme-script source="css/app.css"/> <!-- http://laravel.test/themes/hexadog/default/css/app.css -->
33+
<x-theme-script source="css/app.css"/> <!-- http://laravel.test/themes/prismalms/default/css/app.css -->
3434
```
3535

3636
## Theme Style
3737
```html
38-
<x-theme-style source="css/app.css"/> <!-- <link src="http://laravel.test/themes/hexadog/default/css/app.css" rel="stylehseet"> -->
38+
<x-theme-style source="css/app.css"/> <!-- <link src="http://laravel.test/themes/prismalms/default/css/app.css" rel="stylehseet"> -->
3939

4040
<!-- Media -->
41-
<x-theme-style source="css/app.css" media="print"/> <!-- <link src="themes/hexadog/default/css/app.css" rel="stylehseet" media="print"> -->
42-
```
41+
<x-theme-style source="css/app.css" media="print"/> <!-- <link src="themes/prismalms/default/css/app.css" rel="stylehseet" media="print"> -->
42+
```

docs/usage/middleware.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ThemeLoader extends HexadogThemeLoader
2020
// Check if request url starts with admin prefix
2121
if ($request-segment(1) === 'admin') {
2222
// Set a specific theme for matching urls
23-
$theme = 'hexadog/admin';
23+
$theme = 'prismalms/admin';
2424
}
2525

2626
// Call parent Middleware handle method

src/ThemesManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function url(string $asset, bool $absolute = true): ?string
184184

185185
/**
186186
* Find a theme by given name and vendor (optional)
187-
* name can include vendor prefix (ie: hexadog/default)
187+
* name can include vendor prefix (ie: prismalms/default)
188188
* If no vendor provided and name not prefixed by vendor
189189
* the first theme with given name is returned.
190190
*/

0 commit comments

Comments
 (0)