Skip to content

OxfordIHTM/oxthema

oxthema: Oxford Colours, Palettes, Fonts, and Themes

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Lifecycle: stable R-CMD-check Test R-universe test-coverage Codecov test coverage CodeFactor DOI

Colours, palettes, fonts, and themes based on University of Oxford’s visual identity guidelines.

What does the package do?

{oxthema} aims to provide templates, themes, and theme components for colour palettes, typography, and layout compliant with University of Oxford’s visual identity guidelines for use in the R language for statistical computing graphics and publishing ecosystem.

The package provides colours, palettes, and fonts consistent with the university visual identity guidelines. The package also includes themes for specific packages and functionalities that make use of colours, palettes, and fonts. The package currently has themes for {ggplot2} and for {forestploter} packages.

To see a list of features that we are either actively working on, are considering, or need help on, visit our GitHub issues page.

{oxthema} is currently in pre-release (beta release) to allow for beta testing of current functionalities.

Installation

{oxthema} is not yet available on CRAN but can be installed through the Oxford iHealth R Universe repository as follows:

install.packages(
  "oxthema", 
  repos = c('https://oxfordihtm.r-universe.dev', 'https://cloud.r-project.org')
)

{oxthema} can also be installed from GitHub using the {pak} package with:

if (!require("pak")) install.packages("pak")
pak::pak("OxfordIHTM/oxthema")

Usage

The following vignettes provide details on how to make full use of the {oxthema} package:

Citation

If you use the {oxthema} in your work, please cite using the suggested citation provided by a call to the citation function as follows:

citation("oxthema")
#> To cite oxthema in publications use:
#> 
#>   Ernest Guevarra, Greco Malijan (2026). _oxthema: Oxford Palette,
#>   Theme, and Theme Components._. doi:10.5281/zenodo.10721129
#>   <https://doi.org/10.5281/zenodo.10721129>, R package version
#>   0.0.9002, <https://oxford-ihtm.io/oxthema/>.
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Manual{,
#>     title = {oxthema: Oxford Palette, Theme, and Theme Components.},
#>     author = {{Ernest Guevarra} and {Greco Malijan}},
#>     year = {2026},
#>     note = {R package version 0.0.9002},
#>     url = {https://oxford-ihtm.io/oxthema/},
#>     doi = {https://doi.org/10.5281/zenodo.10721129},
#>   }

Community guidelines

Feedback, bug reports and feature requests are welcome; file issues or seek support here. If you would like to contribute to the package, please see our contributing guidelines.

This project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

If you are interested in Oxford iHealth’s work and would like to join the community or contribute to it’s various projects, visit the Oxford iHealth website and its community page to learn more.

 

This is a project under the Oxford iHealth initiative of the MSc in International Health and Tropical Medicine of the Nuffield Department of Medicine, University of Oxford

About

University of Oxford Colours, Palettes, Fonts, and Themes

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages