@datarailsshared/dr_renderer 1.2.87 → 1.2.88

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/dr_renderer",
3
- "version": "1.2.87",
3
+ "version": "1.2.88",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -701,9 +701,7 @@ let initDRPivotTable = function($, window, document) {
701
701
  if(color_to_set){
702
702
  element.style.setProperty("background-color", color_to_set, "important");
703
703
  element.style.setProperty("border-color", color_to_set, "important");
704
- element.style.color = useNewUx && opts.chartOptions.table_options.use_new_table_design
705
- ? invertColors(color_to_set)
706
- : '#3a3b39';
704
+ element.style.color = invertColors(color_to_set);
707
705
  element.style.fontWeight = "bold";
708
706
  if (opts.chartOptions.table_options.freeze_panes && element.firstChild) {
709
707
  for (const child of element.children) {
@@ -733,9 +731,7 @@ let initDRPivotTable = function($, window, document) {
733
731
  element.style.setProperty("background-color", color_to_set, "important");
734
732
  element.style.setProperty("border-color", color_to_set, "important");
735
733
  element.style.setProperty("vertical-align", "baseline");
736
- element.style.color = useNewUx && opts.chartOptions.table_options.use_new_table_design
737
- ? invertColors(color_to_set)
738
- : '#3a3b39';
734
+ element.style.color = invertColors(color_to_set);
739
735
  element.style.fontWeight = "bold";
740
736
  if (opts.chartOptions.table_options.freeze_panes && element.firstChild) {
741
737
  for (const child of element.children) {