We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0f8d81 commit d4a8ea1Copy full SHA for d4a8ea1
1 file changed
app/features/color.js
@@ -100,9 +100,9 @@ export function ColorPicker(pallete, selectorEngine) {
100
const bg_icon = isMeaningfulBackground ? healthyContrastColor(BG) : ''
101
const bo_icon = isMeaningfulBorder ? healthyContrastColor(BO) : ''
102
103
- fgInput.attr('value', new_fg)
104
- bgInput.attr('value', new_bg)
105
- boInput.attr('value', new_bo)
+ fgInput.attr('value', `#`+FG.toHex())
+ bgInput.attr('value', `#`+BG.toHex())
+ boInput.attr('value', `#`+BO.toHex())
106
107
foregroundPicker.attr('style', `
108
--contextual_color: ${new_fg};
0 commit comments