# do not apply anything
style1 <- create_dxfs_style()
# change font color and background color
style2 <- create_dxfs_style(
font_color = wb_color(hex = "FF9C0006"),
bgFill = wb_color(hex = "FFFFC7CE")
)
# change font (type, size and color) and background
# the old default in openxlsx and openxlsx2 <= 0.3
style3 <- create_dxfs_style(
font_name = "Calibri",
font_size = 11,
font_color = wb_color(hex = "FF9C0006"),
bgFill = wb_color(hex = "FFFFC7CE")
)
## See package vignettes for further examples
Run the code above in your browser using DataLab