Skip to content

Commit

Permalink
Use value report colors for the color picker too
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Jan 12, 2024
1 parent 86186a4 commit 6e4d427
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ Blockly.Css.CONTENT = [
'.scratchColourPickerLabel {',
'font-family: "Helvetica Neue", Helvetica, sans-serif;',
'font-size: 0.65rem;',
'color: $colour_blackText;',
'color: $colour_valueReportForeground;',
'margin: 8px;',
'}',

Expand Down
2 changes: 1 addition & 1 deletion core/field_colour_slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ Blockly.FieldColourSlider.prototype.showEditor_ = function() {
this.activateEyedropperInternal_);
}

Blockly.DropDownDiv.setColour('#ffffff', '#dddddd');
Blockly.DropDownDiv.setColour(Blockly.Colours.valueReportBackground, Blockly.Colours.valueReportBorder);
Blockly.DropDownDiv.setCategory(this.sourceBlock_.parentBlock_.getCategory());
Blockly.DropDownDiv.showPositionedByBlock(this, this.sourceBlock_);

Expand Down

0 comments on commit 6e4d427

Please sign in to comment.