Skip to content

Commit

Permalink
fix: vitepress theme change and graphics docs error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hairyf committed May 31, 2024
1 parent 783acd0 commit 1e514d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
* Colors
* -------------------------------------------------------------------------- */
:root {
--vp-c-indigo-1: #eb3674;
--vp-c-indigo-2: #d81557;
--vp-c-indigo-3: #ed427c;

--vp-c-brand: #e91e63;
--vp-c-brand-light: #eb3674;
--vp-c-brand-lighter: #ed427c;
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/elements/graphics.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Creates a [Graphics](https://pixijs.download/release/docs/PIXI.Graphics.html)

Graphics can be used for any kind of drawing. Use the `draw` prop to interact with the PIXI.Graphics API.
Graphics can be used for any kind of drawing. Use the `render` prop to interact with the PIXI.Graphics API.

This will set up a `watchEffect` internally that will automatically call the event handler again if any dependencies on the render method have changed.

Expand Down

0 comments on commit 1e514d7

Please sign in to comment.