Skip to content

Conversation

thecrypticace
Copy link
Contributor

Fixes #404

Copy link
Member

@RobinMalfait RobinMalfait left a comment

Choose a reason for hiding this comment

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

Bye bye ,

// compatibility with v3 codebases but use color-mix for any other color
// values.
let hex = color.replace('#', '')
hex = hex.length === 3 ? hex.replace(/./g, '$&$&') : hex
Copy link
Member

Choose a reason for hiding this comment

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

Hah unrelated to this, but TIL about $&

@thecrypticace thecrypticace merged commit bbb1c21 into main Sep 23, 2025
2 checks passed
@thecrypticace thecrypticace deleted the fix/bad-rgb branch September 23, 2025 13:25
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.

Issue with <kbd> shadows due to incorrect rgb syntax
2 participants