It turns out we are creating a data-uri SVG for the delete button, but are using string interpolation for the color. If you use hex, this breaks the image on Chrome (but not Safari). Using a standard css color keyword (alternatively using RGB) fix the issue.
The reason this was made configurable AND changed is that dark
backgrounds may be able to use a smaller stack glow, but we want the
default to be more obvious than it currently is.
* Add `add` block example
* Add if, if-else, equals; remove old if-elses
* Naming fixes and removal of a dummy input for if-else
* Recompile for vertical blocks examples
* Implement basic field_number type
* Add whole number and positive number
* Remove bad arguments for showEditor_
* Basic implementation and styling of num-pad
* Remove virtual keyboards; add selection and read-only
* Add editing for the number pad
* Add backspace button to number pad
* Fix text padding for font-weight and extra magic
* Don't show decimal point for integers
* Re-update default WeDo numbers
* Refactor and improve documentation of field_number
* Update stack glow filter to spec
* Update rendering for glowBlock; add stubs for stack glow
* Add application of stack glow filter
* Add glow buttons to playground
* Partial final version of stack glow
* Set the drag shadow on the drag group instead of blocks
Prevents overriding of the stack glow filter
* Simplify generation of feFuncA table in stack glow
* Icon menu and drop-down stubs
* Recompile 4/15
* Fix stubs to draw shadow block for drop-down
* Fix rendering of shadow for icon menu
* Add arrow to dropdown button
* Add drop-down buttons to rest of examples
* Implementation of drop-down div including positioning
* Drop-downs take colours from the blocks
* Fix scaled secondary position of drop-downs
* Fix arrow positioning for RTL
* Use SVG parentNode for sizing dropdown
* Use transform for drop-down positioning
* Add basic DropDownDiv hide
* Add animation-in to dropdown
* More subtle drop-down animation and shadow
* Add icon menu example
* Use options style of Blockly FieldImage for drop-down
* Add default value for iconmenu
* Add example hover, active states for iconmenu buttons
* Update dropdown_icon example
* Implement icon-menu value handling and default value
* Add updating the parent block image field to dropdown
* Drop-down animates out; add hooks to hide for various Blockly happenings
* Add pointer cursor for drop-down icons
* Improve documentation for drop-downs and minor refactor
* Factor out getSrcForValue in iconmenu
* Blocks take on the icon of their icon-menu
* Add basic accessibility properties, similar to closure
* Remove extra drop-down example; update playgrounds
* Remove unnecessary colour overrides
* Add onHide, colour changing, fix references in dropdowndiv
* Flip arrow when the drop-down is rendered above
* Hide the icon menu drop-down on second tap of button
* Add preventDefault to button ontouchstart
* Updates to drop-down from Carl
* Add icon-menu placeholders and a crazy demo
* Fix naming to normalize (drop-down, DropDown)
* Add license header
* Animate the font-size of text fields
* Allow WidgetDiv to hide immediately, no animation
And add calls to this where the div animation may become out of sync with the field itself.
* Fix CSS colour substitution to replace all
* Add box-shadow to text field
* Fix padding on blocklyHtmlInput
* Add utility for measuring text using canvas
* Grow the input textbox based on the text size
* Fix the text field width to a maximum depending on render mode
* Fix text input field height for scaling
* Position text input field based width
* Animate out width, height, margin of text input
* Fix scale of marginLeft and extra 1px
* Fix height, padding, font-weight on text input field
* Make input field text smaller on truncation per spec
* Re-apply change to Blockly.WidgetDiv.disposeAnimationTimer_
* Add comment to Blockly.Field.maxDisplayLength
* Add and render opacity of blocks
* Add insertion marker colour and opacity
* Add goog.require for Colours in block.js
* Add color of text field during editing
* Add colour overriding upon injection
* Add colours to CSS at run-time injection
* Expand colour variables to include toolbox, flyout, scrollbars
* Example of dark mode in horizontal_playground
* Fix loop style for colours