Verified Commit b7f63faa authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Ensure text color consistency across platforms

parent 5bec8398
......@@ -94,3 +94,7 @@ main._initializeOptions();
wrappers.setBadgeBackgroundColor({
'color': [74, 130, 108, 255]
});
wrappers.setBadgeTextColor({
'color': [255, 255, 255, 255]
});
......@@ -37,6 +37,13 @@ wrappers.setBadgeText = function (details) {
}
};
wrappers.setBadgeTextColor = function (details) {
if (chrome.browserAction.setBadgeTextColor !== undefined) {
chrome.browserAction.setBadgeTextColor(details);
}
};
wrappers.setIcon = function (details) {
if (chrome.browserAction.setIcon !== undefined) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment