From cc7a70bd976c5662aa1ca50a6e212c637741e46b Mon Sep 17 00:00:00 2001 From: Karthikeyan Padaikathu Date: Fri, 29 May 2026 10:20:26 -0700 Subject: [PATCH 1/2] fix: improve search input text contrast accessibility --- src/components/text-input.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/text-input.js b/src/components/text-input.js index a34cbc1eb5a..824e4e28407 100644 --- a/src/components/text-input.js +++ b/src/components/text-input.js @@ -8,12 +8,13 @@ const TextInput = styled(PrimerTextInput)` */ input { font-size: 16px !important; - color: rgb(225, 228, 232) !important; + color: var(--fgColor-default, #1f2328) !important; + caret-color: var(--fgColor-default, #1f2328) !important; } input::placeholder { - color: rgb(225, 228, 232) !important; - opacity: 0.7; + color: var(--fgColor-muted, #57606a) !important; + opacity: 1; } ` export default TextInput From ffd078688d8d2f20b2df63d2edca5847536f2fb9 Mon Sep 17 00:00:00 2001 From: Karthikeyan Padaikathu Date: Fri, 29 May 2026 10:28:17 -0700 Subject: [PATCH 2/2] style: format npm-stage docs table --- content/cli/v11/commands/npm-stage.mdx | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/content/cli/v11/commands/npm-stage.mdx b/content/cli/v11/commands/npm-stage.mdx index 20f13fb5b1d..535901a5c72 100644 --- a/content/cli/v11/commands/npm-stage.mdx +++ b/content/cli/v11/commands/npm-stage.mdx @@ -77,14 +77,14 @@ Before using `npm stage` commands, ensure the following requirements are met: ### 2FA Requirements by Subcommand -| Command | Requires 2FA | Notes | -| --- | --- | --- | -| `npm stage publish` | No | Designed for automated workflows; defers 2FA to approval | -| `npm stage list` | No | View staged packages | -| `npm stage view` | No | View staged package details | -| `npm stage approve` | Yes | Prompts for 2FA to publish the staged package | -| `npm stage reject` | Yes | Prompts for 2FA to permanently remove the staged package | -| `npm stage download` | No | Downloads the tarball for local inspection | +| Command | Requires 2FA | Notes | +| -------------------- | ------------ | -------------------------------------------------------- | +| `npm stage publish` | No | Designed for automated workflows; defers 2FA to approval | +| `npm stage list` | No | View staged packages | +| `npm stage view` | No | View staged package details | +| `npm stage approve` | Yes | Prompts for 2FA to publish the staged package | +| `npm stage reject` | Yes | Prompts for 2FA to permanently remove the staged package | +| `npm stage download` | No | Downloads the tarball for local inspection | ### Tag Behavior @@ -96,12 +96,12 @@ The tag is an immutable property of the staged package. Once a package is staged The key difference with staged publishing is that `npm stage publish` never requires a 2FA prompt, regardless of token type. This is what makes it suitable for automated workflows. The goal of `npm stage publish` is deferring proof-of-presence to a later point in time. -| Token Type | `npm stage publish` | `npm publish` | -| --- | --- | --- | -| GAT with bypass | Can stage | Can publish (if allowed by package publishing access) | -| GAT without bypass | Can stage | 2FA prompt (if allowed by package publishing access) | -| Session token | Can stage | 2FA prompt | -| Trust token (OIDC) | Can stage (if allowed) | Can publish (if allowed) | +| Token Type | `npm stage publish` | `npm publish` | +| ------------------ | ---------------------- | ----------------------------------------------------- | +| GAT with bypass | Can stage | Can publish (if allowed by package publishing access) | +| GAT without bypass | Can stage | 2FA prompt (if allowed by package publishing access) | +| Session token | Can stage | 2FA prompt | +| Trust token (OIDC) | Can stage (if allowed) | Can publish (if allowed) | ### Trust Relationship Permissions