feat: hct color picker alpha support - #142
Merged
Merged
Conversation
Mordech
commented
Apr 1, 2026
Owner
- Adjust plugin UI dimensions (300x564) and size configurations
- Add CSS variables for consistent sizing, spacing, and border-radius
- Remove alpha overlay div and apply opacity via CSS style binding
- Update button text templates to use template literals for better type safety
- Refactor color swatch styling with CSS variables for maintainability
- Streamline flexbox properties for better layout control
…nd Selection types
…BA in extractValidStyles
… opacity or variable RGBA
…e RGBA in updatePaint
… in createPaintStyle
…e from all sources
…n createPaintStyle
… and palette swatches
…gradient rendering
…OM transparency Pass --mrd-swatch-color as a CSS custom property on the <mrd-paint-swatch> host element so it propagates into shadow DOM, matching the slider gradient pattern. Revert .color prop to hex (no rgba), keeping the gradient as the visual layer. Also add eslint script/dep and fix tsconfigRootDir path. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Adjust plugin UI dimensions (300x564) and size configurations - Add CSS variables for consistent sizing, spacing, and border-radius - Remove alpha overlay div and apply opacity via CSS style binding - Update button text templates to use template literals for better type safety - Refactor color swatch styling with CSS variables for maintainability - Streamline flexbox properties for better layout control
✅ Deploy Preview for mordech-web-components ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for mordech-react-components ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…fety Fix signed integer overflow in ARGB getter by using unsigned right shift. Fix alpha gradient to always show full 0-100 range. Make alpha required in types, remove dead filter code and redundant SelectedColor type, and add NaN guard for variable alpha extraction. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.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.