Skip to content

Add cover image background mode and mask#4213

Draft
zenoachtig wants to merge 2 commits intomainfrom
cover-image-background-and-masks
Draft

Add cover image background mode and mask#4213
zenoachtig wants to merge 2 commits intomainfrom
cover-image-background-and-masks

Conversation

@zenoachtig
Copy link
Copy Markdown
Contributor

This PR adds support for the background and mask properties of page covers proposed in https://github.com/GitbookIO/gitbook-x/pull/22759, along with the text colour prop proposed in https://github.com/GitbookIO/gitbook-x/pull/22762.

Page cover as background

CleanShot 2026-04-24 at 20 13 37@2x CleanShot 2026-04-24 at 20 16 00@2x

Page cover masks

CleanShot 2026-04-24 at 20 15 41@2x CleanShot 2026-04-24 at 20 16 22@2x

Page cover text color

Still needs to be implemented from API

CleanShot 2026-04-24 at 20 56 20@2x CleanShot 2026-04-24 at 20 56 51@2x

High-contrast styling

CleanShot 2026-04-24 at 20 46 00@2x CleanShot 2026-04-24 at 20 46 02@2x

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 24, 2026

🦋 Changeset detected

Latest commit: 3048235

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
gitbook Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

Summary of the deployments:

Version URL Status
Vercel
Cloudflare

Test content

Site 2v 2c
GitBook /url/gitbook.com/docs /url/gitbook.com/docs
E2E /url/gitbook.gitbook.io/test-gitbook-open /url/gitbook.gitbook.io/test-gitbook-open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant