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

Restyle PageAside to use sidebar list styles #2680

Merged
merged 31 commits into from
Jan 9, 2025
Merged

Conversation

zenoachtig
Copy link
Contributor

This PR adds support for the new sidebar list styles introduced in #2645 to the right sidebar, along with improved top margin and visual cleanup of the right sidebar as a whole.

New list styles

Same as left sidebar: default, pill, and line (using the same user customisation setting).

default.mov
pill.mov
line.mov

In addition to the three styles, when a user's system reports wanting more contrast, all three styles get more borders and thicker text:

default-contrast.mov

API blocks

Before & After

Screenshot 2025-01-07 at 15 17 02 Screenshot 2025-01-07 at 15 17 21

Copy link

changeset-bot bot commented Jan 7, 2025

🦋 Changeset detected

Latest commit: a0aa669

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

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

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

Copy link
Contributor

github-actions bot commented Jan 7, 2025

GitBook Preview
Latest commit: https://5f433fca.gitbook-open.pages.dev
PR: https://pr2680.gitbook-open.pages.dev

Copy link

argos-ci bot commented Jan 7, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) 👍 Changes approved 274 changed Jan 8, 2025, 4:26 PM

@zenoachtig zenoachtig requested a review from valentin0h January 8, 2025 13:25
Co-authored-by: Valentino Hudhra <2587839+valentin0h@users.noreply.github.com>
Copy link
Contributor

@valentin0h valentin0h left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code lgtm 👍

Tested a few customization variations and UI looks also good.

@zenoachtig zenoachtig merged commit 7ee9158 into main Jan 9, 2025
9 checks passed
@zenoachtig zenoachtig deleted the style-page-aside branch January 9, 2025 10:21
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.

2 participants