Skip to content

fix(mosaic): use the neutral color for the OAuthConsent deny button - #11089

Merged
alexcarpenter merged 1 commit into
mainfrom
carp/mosaic-outline-neutral
Dec 2, 2026
Merged

alexcarpenter merged 1 commit into
mainfrom
carp/mosaic-outline-neutral

Conversation

@alexcarpenter

@alexcarpenter alexcarpenter commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Description

The Deny button in OAuthConsent is an outline button with the default primary color. This sets it to neutral, which is how other secondary outline buttons in Mosaic are styled (for example, Cancel in Confirmation). The loading skeleton's Deny button gets the same change.

  • The change only shows in themes where primary is a brand color. In the Clerk theme, the Deny text goes from purple rgb(108, 71, 255) to gray rgb(43, 43, 52). In the Default theme, primary and neutral text are almost the same black, so the screenshots look the same.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Verified in swingset from evidence 20261202T212958Z-oauth-consent-deny-neutral, captured at 5751c20fb6af; before 20261202T213033Z-oauth-consent-deny-neutral-control, captured at 5751c20fb6af with uncommitted changes. Attached at pull request head 5751c20fb6af.

Before After
Before: clerk-light After: clerk-light
Before: dark After: dark
Before: light After: light

@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Dec 2, 2026 9:34pm UTC
mosaic-docs Ready Ready Preview Dec 2, 2026 9:34pm UTC
swingset Ready Ready Preview Dec 2, 2026 9:34pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Dec 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5751c20

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

This PR includes changesets to release 3 packages
Name Type
@clerk/mosaic Patch
@clerk/mosaic-docs Patch
@clerk/swingset 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

@blacksmith-sh

blacksmith-sh Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Matches OAuthConsent Deny button uses neutral color

Deny text is rgb(43, 43, 52) gray on head and rgb(108, 71, 255) purple on base, in the Clerk theme; Allow stays purple.

Merge-base

Deny button

This PR 5751c20f

Deny button

Proof on 5751c20f · Did Proof get it right? Yes · No

View full Proof report · React 👎 or comment @codesmith dismiss this proof to dismiss

@alexcarpenter
alexcarpenter enabled auto-merge (squash) December 2, 2026 21:34
@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The OAuthConsent deny button now uses the neutral color in both the view and skeleton. The view button retains its outline variant and pending behavior. A patch changeset documents the change.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Suggested reviewers: austincalvelage

Merge Risk: Minimal · up to 5751c

The Deny button on the OAuth consent screen now uses the neutral color, matching other secondary outline buttons. The change is visual only and low risk to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the OAuthConsent Deny button now uses the neutral color instead of primary. The raw summary and PR objectives describe the same change in the view, skeleton, and chang…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description clearly relates to the changeset. It states that the Deny button in OAuthConsent changes from the primary color to neutral, matching other secondary outline buttons such as Cancel in C…
Full details: Title check

Explanation

The title names the main change: the OAuthConsent Deny button now uses the neutral color instead of primary. The raw summary and PR objectives describe the same change in the view, skeleton, and changeset files, so the title matches the changeset.

Full details: Description check

Explanation

The description clearly relates to the changeset. It states that the Deny button in OAuthConsent changes from the primary color to neutral, matching other secondary outline buttons such as Cancel in Confirmation. It also says the loading skeleton's Deny button receives the same change. It gives a concrete before-and-after example (purple rgb(108, 71, 255) to gray rgb(43, 43, 52) in the Clerk theme) and includes before/after screenshots.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Linked repositories: This review skipped 6 repositories. Cross-repository analysis may be incomplete. Check linked repository access and settings.

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 4915e6f and 5751c20.

Files selected for processing: 3

  • .changeset/mosaic-oauth-consent-neutral-deny.md
  • packages/mosaic/src/features/oauth-consent/oauth-consent.skeleton.tsx
  • packages/mosaic/src/features/oauth-consent/oauth-consent.view.tsx
Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. 2 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

@pkg-pr-new

pkg-pr-new Bot commented Dec 2, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@11089

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@11089

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@11089

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@11089

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@11089

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@11089

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@11089

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@11089

@clerk/expo-biometrics

npm i https://pkg.pr.new/@clerk/expo-biometrics@11089

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@11089

@clerk/expo-native-components

npm i https://pkg.pr.new/@clerk/expo-native-components@11089

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@11089

@clerk/express

npm i https://pkg.pr.new/@clerk/express@11089

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@11089

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@11089

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@11089

@clerk/mosaic

npm i https://pkg.pr.new/@clerk/mosaic@11089

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@11089

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@11089

@clerk/react

npm i https://pkg.pr.new/@clerk/react@11089

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@11089

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@11089

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@11089

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@11089

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@11089

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@11089

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@11089

commit: 5751c20

@alexcarpenter
alexcarpenter merged commit fead3d1 into main Dec 2, 2026
65 checks passed
@alexcarpenter
alexcarpenter deleted the carp/mosaic-outline-neutral branch December 2, 2026 21:41

This branch was successfully deployed

2 active deployments
Preview – swingset — 5751c20f Deployed Dec 2, 2026 by vercel[bot]
Preview – clerk-js-sandbox — 5751c20f Deployed Dec 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants