Skip to content

Conversation

zenoachtig
Copy link
Contributor

@zenoachtig zenoachtig commented Feb 17, 2025

  • When you type a heading (1, 2, or 3) as the first child of a hint block, we mark it up into a heading, displayed alongside the icon. Hints without heading are unaffected.
  • Instead of the primary colour, info hints now default to blue. We had some comments from people with an orange primary colour that this was a bit off.
  • A new customisation option lets you set your own 4 semantic colors for info, warning, danger, and success and generate a palette for each, like we do for tint.
  • These semantic colours can then be used in other places like our API blocks too.

Before

Screenshot 2025-02-19 at 11 48 21

After

Screenshot 2025-02-19 at 15 23 50

Semantic color options

Semantic color options

Copy link

changeset-bot bot commented Feb 17, 2025

🦋 Changeset detected

Latest commit: afe9d75

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

Copy link
Contributor

github-actions bot commented Feb 17, 2025

Copy link

argos-ci bot commented Feb 17, 2025

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

Build Status Details Updated (UTC)
customers (Inspect) 👍 Changes approved 43 changed Feb 21, 2025, 2:20 PM
default (Inspect) 👍 Changes approved 308 changed Feb 21, 2025, 2:21 PM

@zenoachtig zenoachtig marked this pull request as ready for review February 19, 2025 12:20
@valentin0h valentin0h mentioned this pull request Feb 21, 2025
@valentin0h valentin0h merged commit 66d0fc0 into main Feb 21, 2025
15 checks passed
@valentin0h valentin0h deleted the update-hint-block branch February 21, 2025 14:32
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