Skip to contents

Ophelia reactable theme

Usage

reactable_theme(
  colour = "purple",
  title_font = "Nunito Sans",
  base_font = "Nunito Sans",
  base_text_size = 10,
  .colours = ophelia_colours,
  ...
)

Arguments

colour

The starting colour for the table. It can be any of the ophelia_colourss (e.g. "dark_green", "light_blue", "deep_purple").

title_font

The default title is "Nunito Sans". To change to a different font (e.g. to match up with an external publication requirement), simply change as desired (e.g. \"Times New Roman\"). Make sure you've installed the fonts you want to use on your device first!

base_font

The default font is also "Nunito Sans"). If you want to use a different font (e.g. to match up with an external publication requirement), simply change as desired (e.g. "Roboto"). Make sure you've installed the fonts you want to use on your device first!

base_text_size

Base text size. The header size is relative to the base text size.

.colours

Used to read in ophelia_colours. Please leave as is!

...

Other parameters to pass to reactable::reactableTheme(). See ?reactable::reactableTheme for documentation.

For examples of what can be done with reactable, see https://glin.github.io/reactable/articles/cookbook/cookbook.html

Value

A theme to apply to a reactable object