@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.js CHANGED
@@ -1836,7 +1836,10 @@ var Cell = memo(function Cell2({ address, row, col }) {
1836
1836
  if (cell?.format?.bold) formatStyle.fontWeight = "bold";
1837
1837
  if (cell?.format?.italic) formatStyle.fontStyle = "italic";
1838
1838
  if (cell?.format?.textAlign) formatStyle.textAlign = cell.format.textAlign;
1839
- if (cell?.format?.backgroundColor) formatStyle.backgroundColor = cell.format.backgroundColor;
1839
+ if (cell?.format?.backgroundColor) {
1840
+ formatStyle.backgroundColor = cell.format.backgroundColor;
1841
+ if (!cell.format.color) formatStyle.color = "#1f2937";
1842
+ }
1840
1843
  if (cell?.format?.color) formatStyle.color = cell.format.color;
1841
1844
  if (cell?.format?.fontSize) formatStyle.fontSize = cell.format.fontSize;
1842
1845
  if (cell?.format?.borderTop) {