Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canva update #74

Merged
merged 21 commits into from
May 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update documentation
  • Loading branch information
dientuki committed May 1, 2024
commit 3fbd076dadb285ea1da812860ba849f648760dde
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ Once you finish, you are all set with the basic configuration. Scroll down to se
spotifyCodeExperimentalShow: true,
spotifyCodeExperimentalUseColor: true,
spotifyCodeExperimentalSeparateItem: true,
// Canvas
showCanvas: true,
canvasEffect: 'cover',
// Theming General
roundMediaCorners: true,
roundProgressBar: true,
Expand Down Expand Up @@ -170,6 +173,12 @@ experimentalCSSOverridesForMM2: [
| spotifyCodeExperimentalUseColor <br> `true` | As shown on the image above, color the Spotify Code bar using cover art colors. |
| spotifyCodeExperimentalSeparateItem <br> `true` | Separates or joins the Spotify Code Bar to the cover art. Also respects `roundMediaCorners` and `spotifyCodeExperimentalUseColor`. <br /><br /><img alt="Spotify code bar separation" src=".github/content/readme/banner-codeseparation.png" aling="left" height="100"> |

#### Canvas
| Key | Description |
| :-- | :-- |
| showCanvas <br> `true` | Shows the canvas instead the cover image |
| canvasEffect <br> `cover` | Control how is the canvas gonna appear in the cover placeholder. Options are: <br />- `contain`: place the canvas in the cover placeholder leaving vertical stripes <br />- `cover`: place the canvas in the cover placeholder maintaining its aspect ratio while filling the element's entire content box and clipping to fit <br />- `scale`: Scale up/down the cover placeholder to fit the canvas without clipped <br /> |

#### General Theming options
| Key | Description |
| :-- | :-- |
Expand Down