NEWS
hrbrthemes 0.9.5
- New
theme_tern(), scale_color_tern(), scale_fill_tern(),
scale_color_tern_continuous() and scale_fill_tern_continuous() for charts
that sit inside Tern and beside omp charts. The
theme follows Tern's dark-cosmos chrome: page/panel #07070d, muted
#8c88a3, dim #66627b, #101019 grid, no axis lines or ticks, and a
legend on top.
omp_chart_palette() reproduces the --c1..--c6 series palette omp
derives for chart SVGs: accent in OKLCH, remaining hues at least 30 degrees
apart, lightness clamped to [0.68, 0.82] for dark themes ([0.52, 0.66]
for light), chroma to 0.19. With the titanium accent it returns
#00b4ff, #ff8500, #68e371, #b474f4, #f05b93, #00dfe8.
tern_dark and omp_titanium expose the two themes' colors as named
vectors.
theme_tern() defaults to Geist, the first family in omp's chart font
stack. The package ships Geist 1.8.1 TTFs (copyright Vercel, Inc., SIL Open
Font License 1.1) in inst/fonts/geist, with import_geist() to locate them
and the aliases font_geist, font_geist_medium, font_geist_semibold,
font_geist_bold, font_geist_italic, and font_geist_medium_italic.
hrbrthemes 0.9.4
- New
theme_ipsum_archivo(): a precise theme built on the semi-condensed cut of
Archivo. It ships with
import_archivo() for locating the bundled font files and the family aliases
font_ar, font_ar_bold, font_ar_italic, font_ar_sb, and
font_ar_sb_italic. The Archivo fonts are copyright Omnibus-Type and licensed
under the SIL Open Font License, 1.1.
- New
humanize_duration(): converts numeric seconds or a difftime into natural
language ("2 years and 39 days"), with units_max controlling how many time units
are shown.
gg_check() works with current {ggplot2} releases again.
- Documentation and
R CMD check warnings cleaned up, including parameter docs for
scale_ft()/scale_ipsum() and documentation pages for the shared color-scale
helpers.
humanize_duration() examples run during R CMD check instead of being wrapped
in \dontrun{}, and its documented default output was corrected.
hrbrthemes 0.8.0 (2020-03-06)
- Changes to conform to forthcoming {ggplot2} release
hrbrthemes 0.7.2
- Further enhancements to the
scale_[xy]_… functions to support passing in
of all the …_format() params to make them more flexible
hrbrthemes 0.7.1
- Small modification to percent scales to account for
changes in {ggplot2}
- Additional precision in setting various theme elements
hrbrthemes 0.7.0
hrbrthemes 0.6.0 (2019-01-21)
- new themes & fonts
- doc fixes
hrbrthemes 0.5.0 (2018-04-24)
New Stuff
flush_ticks() for easier alignment of x/y axis labels
ipsum_pdf R Markdown format for using hrbrthemes in PDFs
theme_ipsum_tw() (+ fonts) a Titillium Web-based theme
- Updated theme_modern_rc()
hrbrthemes 0.3.2
New Stuff
- IBM Plex Sans font + theme
- New "dark" RC theme mostly for RStudio plotting
Changed Stuff
- Removed
purrr dependency
- Tweaked
scale_s with expand=c(0.01,0)
- Secondary axis support (by Dan Wilson)
- Updated tests
hrbrthemes 0.2.0
Changed Stuff
- Added
vdiffr tests for the two core themes.
- Moved
hunspell and stringi to Suggests and added namespace tests to gg_check().
- Added
dict and ignore parameters (with defaults) to gg_check() (@karldw) [PR #3].
- Fixed typos (@benmarwick) [PR #1].
- Spelling in vignette fixed (@zx8754) [Issue #6].
- New lighter grid color default
#cccccc [Issue #7].
- Added font auto-loading (@alexwhan) [Issue #12].
- Made base font 0.5 pts larger
hrbrthemes 0.1.0 (2017-02-25)
New Stuff
- Initial release with 'Roboto Condensed' and 'Arial Narrow' fonts based 'ggplot2' themes.
- Muted discrete color palette with 9 colors.
- 'ggplot2' scales for percentage and comma.