Skip to content

Conversation

@DmitrySharabin
Copy link
Member

@DmitrySharabin DmitrySharabin commented Nov 24, 2024

We need to tweak styles here depending on what base style of <channel-picker> we choose (we might end up with this: #169). So, it's only the first step. The implemented logic will be the same regardless.

Live preview: https://deploy-preview-170--color-elements.netlify.app/src/color-chart/

@netlify
Copy link

netlify bot commented Nov 24, 2024

Deploy Preview for color-elements ready!

Name Link
🔨 Latest commit e93fa18
🔍 Latest deploy log https://app.netlify.com/sites/color-elements/deploys/6756ed0e7c51790008fca71a
😎 Deploy Preview https://deploy-preview-170--color-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@DmitrySharabin DmitrySharabin force-pushed the chart-channel-picker-integration branch 2 times, most recently from 7f70960 to f272bf7 Compare November 28, 2024 11:09
try {
return Self.Color.Space.resolveCoord(this.y, "oklch");
}
catch {
Copy link
Member

Choose a reason for hiding this comment

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

Why do we have this new error condition? I don't understand why this is here based on the comment below.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you for this question! You are absolutely right: We shouldn't handle invalid values of y here. I moved the logic to another place. Could you please take a look and see if it's more correct now?

Copy link
Member

@LeaVerou LeaVerou left a comment

Choose a reason for hiding this comment

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

LGTM, see question though

@DmitrySharabin DmitrySharabin force-pushed the chart-channel-picker-integration branch 2 times, most recently from c745313 to eeded87 Compare December 9, 2024 12:52
@DmitrySharabin DmitrySharabin force-pushed the chart-channel-picker-integration branch from eeded87 to e93fa18 Compare December 9, 2024 13:13
@DmitrySharabin DmitrySharabin merged commit 20b81f0 into main Dec 9, 2024
4 checks passed
@DmitrySharabin DmitrySharabin deleted the chart-channel-picker-integration branch December 9, 2024 13:17
DmitrySharabin added a commit that referenced this pull request Dec 9, 2024
`<channel-picker>` is already integrated into charts (see #170)
DmitrySharabin added a commit that referenced this pull request Dec 9, 2024
`<channel-picker>` is already integrated into charts (see #170)
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