Skip to content

Commit df588a0

Browse files
committed
docs: update README.md
1 parent 1107092 commit df588a0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
Register a global `<GeoPattern />` component for VuePress.
44

5-
This component generate a beautiful random geometric pattern & random color images from a string you given.
5+
This component generate a beautiful random geometric pattern & random color background images from a string you given.
66

7-
> This plugin is a adaptor of [geopattern](https://github.com/btmills/geopattern)
7+
> This plugin is a adapter of [geopattern](https://github.com/btmills/geopattern)
88
99
## See Demo on CodeSandbox
1010

@@ -43,11 +43,11 @@ module.exports = {
4343
> With the custom slot, in the case, you can let the slot element control the pattern's height
4444
4545
```vue
46-
<GeoPattern>
47-
<div class="posts-header">
46+
<geo-pattern>
47+
<div style="padding: 64px; font-size: 2rem; color: white;">
4848
All Posts
4949
</div>
50-
</GeoPattern>
50+
</geo-pattern>
5151
```
5252

5353
## API

0 commit comments

Comments
 (0)