@particle-academy/fancy-sheets 0.5.0 → 0.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/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1838,7 +1838,10 @@ var Cell = react.memo(function Cell2({ address, row, col }) {
|
|
|
1838
1838
|
if (cell?.format?.bold) formatStyle.fontWeight = "bold";
|
|
1839
1839
|
if (cell?.format?.italic) formatStyle.fontStyle = "italic";
|
|
1840
1840
|
if (cell?.format?.textAlign) formatStyle.textAlign = cell.format.textAlign;
|
|
1841
|
-
if (cell?.format?.backgroundColor)
|
|
1841
|
+
if (cell?.format?.backgroundColor) {
|
|
1842
|
+
formatStyle.backgroundColor = cell.format.backgroundColor;
|
|
1843
|
+
if (!cell.format.color) formatStyle.color = "#1f2937";
|
|
1844
|
+
}
|
|
1842
1845
|
if (cell?.format?.color) formatStyle.color = cell.format.color;
|
|
1843
1846
|
if (cell?.format?.fontSize) formatStyle.fontSize = cell.format.fontSize;
|
|
1844
1847
|
if (cell?.format?.borderTop) {
|