powered by
This allow you to change colors of prettyCheckbox, prettyRadioButtons
prettyCheckbox
prettyRadioButtons
create_pretty( output_file, default = NULL, primary = NULL, success = NULL, info = NULL, warning = NULL, danger = NULL )
If output_file = NULL, the function returns a string value of the compiled CSS. If the output path is specified, the compiled CSS is written to that file and invisible() is returned.
output_file = NULL
invisible()
Specifies path to output file for compiled CSS.
Default color.
Primary color.
Success color.
Info color.
Warning color.
Danger color.
# Temporary file tmp <- file.path(tempdir(), "my-pretty.css") # Create the new theme create_pretty( output_file = tmp, primary = "#FFFF00" ) # Clean unlink(tmp)
Run the code above in your browser using DataLab