draply-dev 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/overlay.js +3 -3
package/package.json
CHANGED
package/src/overlay.js
CHANGED
|
@@ -1095,9 +1095,9 @@
|
|
|
1095
1095
|
function populateColors(el) {
|
|
1096
1096
|
const cs = getComputedStyle(el);
|
|
1097
1097
|
clrElName.textContent = el.tagName.toLowerCase() + (el.id ? '#' + el.id : el.className ? '.' + [...el.classList][0] : '');
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1098
|
+
let bg = cs.backgroundColor;
|
|
1099
|
+
let fg = cs.color || '#000000';
|
|
1100
|
+
let bd = cs.borderColor || '#cccccc';
|
|
1101
1101
|
const bw = cs.borderWidth;
|
|
1102
1102
|
|
|
1103
1103
|
// #14: Support SVG fill/stroke (#14)
|