-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Reporting of output styles (colors and fonts) #2740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
e9f2e0d
wip
cpsievert 65a47c0
grep for hex codes properly and return exit length 0 character string…
cpsievert fc09d1c
Support a named vector as an override to computed colors
cpsievert d8080d1
only assign default for aes that are relevant and non-transparent
cpsievert 82c04ca
facet strips shouldn't have stroke and fill should be a semi-lighten …
cpsievert f736718
Add support for lattice and better default palette() for col scaling
cpsievert 303f264
Implement plot.autocolors for cached plots
jcheng5 6e767fc
More robust un-setting of autocolor params
jcheng5 83a5fea
More autocolor fixes
jcheng5 47c1202
Tweak ggplot2 colors to look closer to defaults
jcheng5 3fbbabd
Better autocolors for bars and other geoms that don't have colour; li…
jcheng5 a1a22e8
Report font-family and colors in getCurrentOutputInfo() if .shiny-rep…
cpsievert a20c3a3
make sure ggplot_apply_auto_colors always returns a built plot
cpsievert 867daee
Add accent (link) color and qualitative color palettes
cpsievert ecd72f1
Add sequential colorscale for ggplot2 based on the accent color
cpsievert afad039
Use htmltools::parseCssColors
jcheng5 330da2d
code review feedback; introduce autoThemeOptions()
cpsievert f942c08
mix colors using scales::colour_ramp
cpsievert be912cf
Set default scales via plot_env for old ggplot2 and options for new g…
cpsievert 0692334
cleanup
cpsievert 4c8ec8b
allow autoTheme options to be reactive
cpsievert 164ad8c
Add autoThemeOptions() to pkgdown
cpsievert a3d224b
suggest scales; other R CMD check things
cpsievert b10b6d4
default to bg='white', not transparent
cpsievert 819ad4c
newpage should always come before ggplot_build
cpsievert dce4028
sequential colorscale now mixes fg/bg with accent (for the endpoints)
cpsievert b269487
port auto-theming logic to new thematic package
cpsievert 4e59f55
wip font support
cpsievert 5855aa2
First pass at an auto-theming interface
cpsievert 393d416
Auto-theming interface will come from thematic
cpsievert 16196ee
ragg will take priority over Cairo
cpsievert 89d6a3d
User-supplied bg to renderPlot should take 1st priority
cpsievert 7ddf416
no need to call thematic
cpsievert dfb4924
Provide a device argument to renderPlot() and plotPNG()
cpsievert a05f713
code review with Barret
cpsievert db3d7ee
bump version
cpsievert 44cfde7
missed passing device in renderCachedPlot()
cpsievert b408d93
somehow messed up rebase
cpsievert 97ea4e2
change device bg default only if the thematic option is set
cpsievert 1a0a53a
Auto values aren't resolved until plot time, so if we see one, resolv…
cpsievert dd1c653
Rollback the custom device arg (may come later) in favor of a shiny.u…
cpsievert 9d2f8cb
Pass check
cpsievert 1e2a874
let showtext know about the resolution
cpsievert 0738f6a
default to FALSE for now
cpsievert 2107923
code review with Winston
cpsievert 6d7e2b8
generalize internal is_installed and use it in startPNG()
cpsievert 5d4855f
comments
cpsievert cf410e3
Use is_available() more widely and remove unneeded complexity in chec…
cpsievert 26dff7e
Wrap styles in reactive() so that calling getCurrentOutputInfo() does…
cpsievert 3dac31a
update news and add to comment
cpsievert c7f0484
smaller bump in version
cpsievert acad455
make shiny.useragg an unofficial option that takes priority over quartz
cpsievert c95d3ef
safe-guard against NA values
cpsievert 079871d
Use getStyle() to support old browsers
cpsievert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| Package: shiny | ||
| Type: Package | ||
| Title: Web Application Framework for R | ||
| Version: 1.4.0.9002 | ||
| Version: 1.4.0.9003 | ||
| Authors@R: c( | ||
| person("Winston", "Chang", role = c("aut", "cre"), email = "[email protected]"), | ||
| person("Joe", "Cheng", role = "aut", email = "[email protected]"), | ||
|
|
@@ -70,7 +70,7 @@ Imports: | |
| jsonlite (>= 0.9.16), | ||
| xtable, | ||
| digest, | ||
| htmltools (>= 0.4.0.9001), | ||
| htmltools (>= 0.4.0.9003), | ||
| R6 (>= 2.0), | ||
| sourcetools, | ||
| later (>= 1.0.0), | ||
|
|
@@ -95,7 +95,9 @@ Suggests: | |
| shinytest, | ||
| yaml, | ||
| future, | ||
| dygraphs | ||
| dygraphs, | ||
| ragg, | ||
| showtext | ||
| Remotes: | ||
| rstudio/htmltools, | ||
| rstudio/shinytest | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.