Skip to content

Conversation

jossmac
Copy link
Member

@jossmac jossmac commented Aug 26, 2025

Implements better handling of "neutral" toast appearance, especially for dark mode.

Before After
washed-out toast screenshot good contrast screenshot

proper style forks for "neutral" toasts, esp. dark scheme button
Copy link

changeset-bot bot commented Aug 26, 2025

🦋 Changeset detected

Latest commit: 57c9b52

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

This PR includes changesets to release 14 packages
Name Type
@keystar/ui Patch
@keystar/docs Patch
@example/next-app Patch
@example/next-pages Patch
keystatic-docs Patch
@keystatic/core Patch
@example/astro-content Patch
@example/astro Patch
@example/localization Patch
@example/next-block-builder Patch
@keystatic/remix-test-app Patch
@keystatic/templates-astro Patch
@keystatic/templates-nextjs Patch
@keystatic/templates-remix 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

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves the visual appearance of the "neutral" variant of the Toast component, with specific enhancements for dark mode. The changes ensure better contrast and consistency in the toast's styling across different color schemes.

  • Improves styling for neutral toast variant with better background and foreground color handling
  • Adds dynamic color scheme detection to properly style action buttons and close buttons
  • Replaces hardcoded divider color with a dynamic CSS custom property for better theme integration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@dcousens dcousens merged commit 63c767b into main Aug 26, 2025
10 checks passed
@dcousens dcousens deleted the neutral-toast-dark-scheme branch August 26, 2025 04:10
@github-actions github-actions bot mentioned this pull request Aug 26, 2025
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.

3 participants