Skip to content

Commit a9822d9

Browse files
committed
class
1 parent acc1638 commit a9822d9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ inspired by [JakubOnderka/PHP-Console-Color](https://github.com/JakubOnderka/PHP
2020
```bash
2121
composer require alecrabbit/php-console-colour
2222
```
23-
### Theme::class
23+
### Themes::class
2424
##### Usage
2525
```php
2626
$theme = new Theme();
@@ -61,7 +61,7 @@ $colorized = $theme->darkItalic('This text is dark and italic.')
6161
> Note: new methods will be added. Pull requests are welcomed.
6262
6363
##### Define your own themes
64-
* `Theme::class` [How to extend?](docs/howToExtendThemeClass.md)
64+
* `Themes::class` [How to extend?](docs/howToExtendThemeClass.md)
6565

6666
### ConsoleColor::class
6767

docs/howToExtendThemeClass.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### How to extend `Theme::class`
1+
### How to extend `Themes::class`
22
If you want to add theme methods you need to create your own class `MyTheme` or whatever name you want.
33

44
Let's say you want to add `fire`, `lagoon`, `blink` and `alert` themes

0 commit comments

Comments
 (0)