Community
Participate
Working Groups
Occurrences colours should be changed from the bright yellow to be match that of Eclipse (they have removed the yellow as a default for occurrences, so we should follow suite) The warning annotation colour should be updated to something more visible - in the light theme, it can be hard to see the warning squiggle in the editor.
Created attachment 267142 [details] screenshot of #b27f21 as warning squigles
JSfiddle snippet to generate data URLs for squigles: function create(background) { var canvas = document.getElementById("test"); if (!canvas) { canvas = document.createElement("canvas"); canvas.id = "test"; canvas.width = 4; canvas.height = 3; canvas.style.style = "visibility:hidden"; document.body.appendChild(canvas); } canvas.style.backgroundColor = background; var width = 4; var height = 3; //AABBGGRR function RGBToInt(rgbStr) { var rgb = rgbStr.match(/\d+/g); var r = parseInt(rgb[0]); var g = parseInt(rgb[1]); var b = parseInt(rgb[2]); return r + (g << 8) + (b << 16); } var color = 0xFF000000 + RGBToInt(window.getComputedStyle(canvas, null).getPropertyValue("background-color")); canvas.style.width = width + "px"; canvas.style.height = height + "px"; ctx = canvas.getContext("2d"); myImage = ctx.getImageData(0, 0, width, height); myImage.data[8+0] = (color >> 0) & 0xFF; myImage.data[8+1] = (color >> 8) & 0xFF; myImage.data[8+2] = (color >> 16) & 0xFF; myImage.data[8+3] = (color >> 24) & 0xFF; myImage.data[20+0] = (color >> 0) & 0xFF; myImage.data[20+1] = (color >> 8) & 0xFF; myImage.data[20+2] = (color >> 16) & 0xFF; myImage.data[20+3] = (color >> 24) & 0xFF; myImage.data[28+0] = (color >> 0) & 0xFF; myImage.data[28+1] = (color >> 8) & 0xFF; myImage.data[28+2] = (color >> 16) & 0xFF; myImage.data[28+3] = (color >> 24) & 0xFF; myImage.data[32+0] = (color >> 0) & 0xFF; myImage.data[32+1] = (color >> 8) & 0xFF; myImage.data[32+2] = (color >> 16) & 0xFF; myImage.data[32+3] = (color >> 24) & 0xFF; ctx.putImageData(myImage, 0, 0); console.log(canvas.toDataURL()); var div = document.createElement("span"); div.style.backgroundRepeat = "repeat-x"; div.style.backgroundPosition = "left bottom"; div.innerHTML = "Testing"; div.style.backgroundImage = "url(" + canvas.toDataURL() + ")"; document.body.appendChild(div); } create("#b27f21") create("red") create("blue")
Created attachment 267143 [details] patch that updates the occurrences colors and warning squiggles
Fixed http://git.eclipse.org/c/gerrit/orion/org.eclipse.orion.client.git/commit/?id=166fb2c469a0b418a4136cc0c087f82970df15cc