Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ visualizations.
- **Theme refinements**. The `"tufte"` and `"void"` themes are now dynamic
(responsive margins). The `"ipsum"` theme has been overhauled (bold title, no
ticks, fine grid, custom palette); the original variant is preserved as
`"ipsum2"`. The `"bw"` and `"classic"` themes now use smaller axis text and
tighter spacing to better match their ggplot2 counterparts.
(#595 @grantmcdermott)
`"ipsum2"`. The ggplot2-inspired like `"bw"` and `"classic"` now use smaller
axis text and tighter spacing to better match their ggplot2 counterparts.
Also, the `"dark"` theme now uses a better default `ribbon.alpha` for better
contrast against the black background. (#595, #603 @grantmcdermott)

### New features

Expand Down
4 changes: 3 additions & 1 deletion R/tinytheme.R
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ theme_default = list(
# palette.qualitative = "R4",
# palette.sequential = "Viridis",
pch = par("pch"), # 1,
ribbon.alpha = 0.2,
side.sub = 1,
tck = NA,
tcl = par("tcl"), # -0.5
Expand Down Expand Up @@ -480,7 +481,8 @@ theme_dark = modifyList(theme_minimal, list(
# facet.bg = "gray20",
grid.col = "#6D6D6D",
palette.qualitative = "Set 2",
palette.sequential = "Sunset"
palette.sequential = "Sunset",
ribbon.alpha = 0.5
))

# derivatives of clean/clean2
Expand Down
Loading