Skip to content

Restyle hint block #2579

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

Merged
merged 2 commits into from
Nov 26, 2024
Merged

Restyle hint block #2579

merged 2 commits into from
Nov 26, 2024

Conversation

zenoachtig
Copy link
Contributor

  • Change colours of Hint
  • Set border colors on CodeBlock, which can optionally be enabled (by conditional style within Hint).
  • Fix Stepper and StepperStep to handle passed-on style classes correctly
  • Adds can-override-bg and can-override-text classes to let Hint conditonally set the right colors for components within its boundaries.

Preview

Left is current, right is proposed

Screenshot 2024-11-21 at 13 34 54 Screenshot 2024-11-21 at 13 35 04 Screenshot 2024-11-21 at 13 37 22 Screenshot 2024-11-21 at 13 35 43 Screenshot 2024-11-21 at 14 34 48

- Change colours of `Hint`
- Set border colors on `CodeBlock`, which can optionally be enabled (by conditional style within `Hint`).
- Fix `Stepper` and `StepperStep` to handle passed-on style classes correctly
- Adds `can-override-bg` and `can-override-text` classes to let Hint conditonally set the right colors for components within its boundaries.
Copy link

changeset-bot bot commented Nov 21, 2024

🦋 Changeset detected

Latest commit: 4cf8a8f

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 Nov 21, 2024

GitBook Preview
Latest commit: https://573fe60d.gitbook-open.pages.dev
PR: https://pr2579.gitbook-open.pages.dev

Copy link

argos-ci bot commented Nov 21, 2024

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

Build Status Details Updated (UTC)
default (Inspect) 👍 Changes approved 48 changed Dec 31, 2024, 11:12 PM

@zenoachtig zenoachtig requested a review from gregberge November 22, 2024 15:06
@zenoachtig zenoachtig merged commit aa2ed0f into main Nov 26, 2024
8 of 9 checks passed
@zenoachtig zenoachtig deleted the zeno/hint-styling branch November 26, 2024 11:41
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