Skip to content

Package.json › Custom.config › does not accept modern CSS defaults like oklch in property of type color #22943

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

Open
1 task done
janpersiel opened this issue Apr 17, 2025 · 0 comments
Labels
needs:triage [triage] this needs to be triaged by the Ghost team

Comments

@janpersiel
Copy link

Issue Summary

While developing a new theme I discovered that custom fields for color only accept old-school HEX values. With the wide availability of these colour schemes it would make sense to offer them in Ghost's defaults as well.

Steps to Reproduce

  1. Add a custom property
    "custom": { "site_background": { "type": "color", "default": "oklch(1 0 0)" }
  2. The theme fails to validate

Ghost Version

5.116.1

Node.js Version

22.14.0

How did you install Ghost?

locally, MacOS

Database type

SQLite3

Browser & OS version

No response

Relevant log / error output

Code of Conduct

  • I agree to be friendly and polite to people in this repository
@github-actions github-actions bot added the needs:triage [triage] this needs to be triaged by the Ghost team label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:triage [triage] this needs to be triaged by the Ghost team
Projects
None yet
Development

No branches or pull requests

1 participant