Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Switch color processing library#7536

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
camdecoster wants to merge19 commits intomaster
base:master
Choose a base branch
Loading
fromcam/7523/switch-color-library

Conversation

@camdecoster
Copy link
Contributor

@camdecostercamdecoster commentedAug 26, 2025
edited
Loading

Description

Switch color processing library fromTinyColor tocolor.

Closes#7523.

Changes

  • Change color processing library
    • hsv color strings are no longer permitted
    • Decimal fraction values of rgb strings are no longer permitted. This is a regression, but it's a shortcoming of the library and I'm working on getting it updated.
    • CSS named colors must be lowercase. For example, one must use 'blue' instead of 'Blue'. This is a regression, but it's a shortcoming of the library and I'm working on getting it updated.
  • Update/refactor method calls for dealing with colors
  • Update tests per library change

Testing

  • TBA

Notes

  • The new library allows for use of modern CSS colorsyntax

TODO

  • Add draftlog
  • Update attribute info about color syntax

@camdecostercamdecoster self-assigned thisAug 26, 2025
@gvwilsongvwilson added P1needed for current cycle fixfixes something broken labelsAug 28, 2025
@camdecoster
Copy link
ContributorAuthor

I created a couple of PRs (#78 and#81) in a dependency used by color that will add some new features for parsing color strings that would bring it closer to parity with TinyColor. The maintainer recently merged one of these and will (hopefully) be merging the other soon. Once he publishes a new release, I'll be able to use it in plotly.js.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

@camdecostercamdecoster

Labels

fixfixes something brokenP1needed for current cycle

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Update color processing library to handle modern CSS color syntax

3 participants

@camdecoster@gvwilson

[8]ページ先頭

©2009-2025 Movatter.jp