Skip to contents

themakR provides the pkgdown template for the CTTIR package suite: the Hugo Coder palette of the suite site (light #fafafa / dark #212121, blue link accent) with a native light/dark/auto toggle at the top right, Inter for text, JetBrains Mono for code, the package hex at the top left, a rotemplate-style navbar and home sidebar, and a shared suite footer.

It plays the same role for CTTIR packages that tidytemplate plays for the tidyverse and rotemplate for rOpenSci: it is not a general-purpose theme and is not on CRAN — it installs from GitHub and exists so the family of sites looks like a family.

Installation

# install.packages("pak")
pak::pak("CTTIR/themakR")

Usage

In the adopting package’s DESCRIPTION:

Config/Needs/website: CTTIR/themakR

In its _pkgdown.yml:

template:
  package: themakR
development:
  mode: auto

Then pkgdown::build_site(). See vignette("themakR") for the full adoption guide, including the per-package accent override, and vignette("showcase") for a gallery of every styled element in both colour modes.