Gt: Rename the `cells_styles()` function as `cell_text()`; create `cell_fill()` fcn

Created on 15 Apr 2019  Â·  2Comments  Â·  Source: rstudio/gt

Rename the cells_styles() function as cell_text(). This helper function should only be concerned with cell text so all text_* args should be renamed to lose the text_ part.

[1] Novice [1] Low [3] High ★ Enhancement

Most helpful comment

Additionally, the cell_fill() helper function needs to be created to handle cell fill parameters. Currently, the bkgd_color argument is present in cells_styles(). It needs to be in cell_fill() as color.

All 2 comments

Additionally, the cell_fill() helper function needs to be created to handle cell fill parameters. Currently, the bkgd_color argument is present in cells_styles(). It needs to be in cell_fill() as color.

Fixed in #239.

Was this page helpful?
0 / 5 - 0 ratings