preferably
preferably is an accessible template for pkgdown documentation websites, designed to enhance the reading experience of R package documentation. Its primary feature is dynamic light and dark mode support, which automatically adapts to the user's operating system color scheme settings using the CSS prefers-color-scheme media query. Alternatively, users can manually toggle between the two visual themes via a menu bar switch if configured. The template improves readability by utilizing richer fonts and optimized code coloring schemes compared to default options. Compatible with pkgdown version 2.0 and Bootstrap 5, it requires specifying the template package in the configuration file. Installation is available through CRAN or GitHub for development versions. The template supports continuous integration workflows like GitHub Actions and Travis-CI by including it in dependency installation steps. Customization options include adding custom analytics trackers beyond standard Google Analytics, such as Plausible, and e