Skip to content

Support placeholder on color settings#1224

Merged
NathanPJF merged 3 commits into
mainfrom
color-placeholder-update
Jun 4, 2026
Merged

Support placeholder on color settings#1224
NathanPJF merged 3 commits into
mainfrom
color-placeholder-update

Conversation

@NathanPJF
Copy link
Copy Markdown
Contributor

@NathanPJF NathanPJF commented Jun 4, 2026

What are you adding in this PR?

This PR wires up support for placeholder on color settings.

Extending Color as placeholder is not available to all ColorBase extensions

What's next? Any followup issues?

Related PR in theme-liquid-docs: Shopify/theme-liquid-docs#1709

Before you deploy

  • I included a patch bump changeset

@NathanPJF NathanPJF requested a review from a team as a code owner June 4, 2026 20:16
@NathanPJF NathanPJF force-pushed the color-placeholder-update branch from 07ac04c to 637115c Compare June 4, 2026 20:17
@NathanPJF NathanPJF changed the title Support placeholder on color settings in theme-check and LSP Support placeholder on color settings Jun 4, 2026

export interface Color extends ColorBase<Type.Color> {}
export interface Color extends ColorBase<Type.Color> {
placeholder?: string;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you also add the following prop please 🙏

alpha?: boolean;

Seems like this file has drifted

Copy link
Copy Markdown
Contributor

@aswamy aswamy left a comment

Choose a reason for hiding this comment

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

Just make sure you run pnpm format to make CI pass before merging after the changes

Comment thread .changeset/color-placeholder-i18n.md Outdated
@@ -0,0 +1,6 @@
---
'@shopify/theme-check-common': patch
'@shopify/theme-language-server-common': patch
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I dont think you need this package in this changeset

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@aswamy you're right. I had an additional update in here, but I pulled that file out but didn't correct this line. Thanks!

@NathanPJF NathanPJF force-pushed the color-placeholder-update branch from 04eedc8 to 388cd60 Compare June 4, 2026 22:42
@NathanPJF NathanPJF merged commit bad13bd into main Jun 4, 2026
8 checks passed
@NathanPJF NathanPJF deleted the color-placeholder-update branch June 4, 2026 23:02
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