ouRstyle provides a template allowing users to specify colours and colour palettes which are then built into a package of functions allowing them to be used in R. A plot theme is also provided that can be customised to reflect your brand / aesthetic.
- Colour palettes based on Dr Simon Jackson's Corporate Colour Palettes'.
- Horizontal plot theme approach from ggthemes.
- Copy/fork from this repo
- Optional: replace every mention of 'our_' with a prefix you prefer
- Update
./data-raw/colours.R
with your colours and run it - Customise
./R/our_theme.R
to reflect how you want your plots to look - Build the package (CMD + SHIFT + B)
- Share with others in your team, Sharing Interal R Packages
- Add support for handling more fonts
- Add an easier way to configure theme elements (e.g. font sizes)