Repository navigation
release: toolbelt v0.12.0, color names and hex without # - #508
Merged
Merged
Conversation
* feat: accept hex without a leading # and CSS named colors parseColor() now parses 3, 4, 6, and 8 digit hex values that arrive without the # prefix (as Figma's picker shows them) and the 148 CSS Color Module Level 4 named colors, including transparent. currentcolor stays an error because it can only be resolved from the surrounding text color. The input placeholder, the error message, and the color-converter FAQ mention the new formats. * fix: reject inherited properties as CSS color names
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.4.17 to 3.4.18. - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](cure53/DOMPurify@3.4.17...3.4.18) --- updated-dependencies: - dependency-name: dompurify dependency-version: 3.4.18 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [marked](https://github.com/markedjs/marked) from 18.1.3 to 18.2.0. - [Release notes](https://github.com/markedjs/marked/releases) - [Commits](markedjs/marked@v18.1.3...v18.2.0) --- updated-dependencies: - dependency-name: marked dependency-version: 18.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) Bumps the next group with 3 updates in the / directory: [@opennextjs/cloudflare](https://github.com/opennextjs/opennextjs-cloudflare/tree/HEAD/packages/cloudflare), [next](https://github.com/vercel/next.js) and [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next). Updates `@opennextjs/cloudflare` from 1.20.16 to 1.20.17 - [Release notes](https://github.com/opennextjs/opennextjs-cloudflare/releases) - [Changelog](https://github.com/opennextjs/opennextjs-cloudflare/blob/main/packages/cloudflare/CHANGELOG.md) - [Commits](https://github.com/opennextjs/opennextjs-cloudflare/commits/@opennextjs/cloudflare@1.20.17/packages/cloudflare) Updates `next` from 16.4.5 to 16.4.6 - [Release notes](https://github.com/vercel/next.js/releases) - [Commits](vercel/next.js@v16.4.5...v16.4.6) Updates `eslint-config-next` from 16.4.5 to 16.4.6 - [Release notes](https://github.com/vercel/next.js/releases) - [Commits](https://github.com/vercel/next.js/commits/v16.4.6/packages/eslint-config-next) --- updated-dependencies: - dependency-name: "@opennextjs/cloudflare" dependency-version: 1.20.17 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: next - dependency-name: eslint-config-next dependency-version: 16.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: next - dependency-name: next dependency-version: 16.4.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: next ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ith 3 updates (#506) Bumps the dev-dependencies group with 3 updates in the / directory: [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next), [postcss](https://github.com/postcss/postcss) and [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler). Updates `eslint-config-next` from 16.4.5 to 16.4.6 - [Release notes](https://github.com/vercel/next.js/releases) - [Commits](https://github.com/vercel/next.js/commits/v16.4.6/packages/eslint-config-next) Updates `postcss` from 8.5.32 to 8.5.33 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.5.32...8.5.33) Updates `wrangler` from 4.158.0 to 4.162.0 - [Release notes](https://github.com/cloudflare/workers-sdk/releases) - [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.162.0/packages/wrangler) --- updated-dependencies: - dependency-name: eslint-config-next dependency-version: 16.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: postcss dependency-version: 8.5.33 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: wrangler dependency-version: 4.162.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's in it
New
#(F26DF0,fff,663399cc) and all 148 CSS color names plustransparent, case-insensitive, soRebeccaPurpleconverts to#663399(feat(color-converter): accept hex without # and CSS named colors #501), thanks @joshuaallgaier2-cmdDependencies
Project
Test plan
verifypassed on develop after each merge. feat(color-converter): accept hex without # and CSS named colors #501 was also run on top of develop before merging (lint, all tests and the build), its 148 names were checked against thecolor-namepackage, and the page was clicked through at desktop width and 375px in both themes.F26DF0andrebeccapurpleconvert, and white on663399gives 8.40:1 in the contrast checker.