30 May: A light/dark mode toggle and new customization options

We’ve added a light and dark mode toggle for your public documentation, and new color settings to help you customize your content

For the last few weeks, we’ve been focused on improving our customization tools for public content in GitBook. This release includes a selection of options that give you more control over how your public content looks for your users — and we’ll have more to share soon.

✨ New

You can now enable a light and dark mode toggle for your public documentation — giving your readers the choice of how to view your content. Simply enable the toggle in the Customization menu and readers can select their preferred view from the top navigation bar of your public pages.

We’ve also added new color customization options. You can set primary, header and link colors for both light and dark mode, and even upload a different logo for the two modes, so your brand always looks its best.

You also now have the option to set blocks to span the full width of your content, helping you create a clear visual hierarchy. This is perfect for giving images and tables more space to breathe, but it looks great with a whole range of block types — as you can see from our demo videos above.

Finally, we’ve added a fast new way to insert commonly-used blocks on an empty line. Simply start a new line on any page and you’ll see three new icons on the right that let you quickly create an image, code or unordered list block. You can highlight these quick block buttons using Tab, then cycle through them with the arrow keys on your keyboard, selecting the one you want by hitting Enter.

➕ Improved

  • Added API endpoints for Change Request reviews.

  • Added a parameter in our API method to create a space.

  • Added the API properties “organization” and “parent” on space objects.

  • Added API for installing & uninstall integrations.

  • Added API to create a space

  • Added API to duplicate a space

  • Allowed integrations to be verified and listed in the marketplace.

  • Improved the usability of drag and drop by making drop zones clearer.

  • Added an information panel that gives change requests extra context.

🔧 Fixed

  • Fixed the lettered favicon in published content.

  • Fixed theme toggle icons in mobile, which had a small width/height.

  • Fixed an issue where dropping a file on FileManager would get stuck in the dragging state.

  • Fixed page cover positioning when there is ToC on published content.

  • Fixed an issue where notification toasts would show twice.

  • Fixed a potential crash when reading content that was recently imported.

  • Fixed support for custom table column sizes with Git Sync.

  • Fixed an issue that still sent notifications, even when the setting was turned off.

  • Fixed parsing of OpenAPI spec that includes the path’s common parameters.

  • Fixed an issue where public content would scroll past an anchored header element.

We’re constantly working on improving the way you and your team work in GitBook, and value your input on features, bugs, and more. Make sure you head to our official GitBook Community to join the conversation.

Last updated