Alex Rossell Hayes

Results 35 issues of Alex Rossell Hayes

Adds 10 light themes: - base16 Atelier Cave Light - base16 Atelier Dune Light - base16 Atelier Estuary Light - base16 Atelier Forest Light - base16 Atelier Heath Light -...

Darkens inactive tab text color for base16 light themes to improve readability. The text color on inactive tabs now uses `$base06` instead of `$base03`. Closes #92.

`rsthemes` contains the ten [base16 Atelier](https://github.com/atelierbram/base16-atelier-schemes) dark color schemes, but not the light color schemes. Would you be interested in a PR to add them?

The inactive tab foreground and background colors are very close for base16 themes, making it very hard to read the text: `base16-light-template.scss` uses `$base02` for `$ui_rstudio_tabs_inactive_background` and `$base03` for `$ui_rstudio_tabs_inactive_foreground`....

If `cli::code_highlight()` is called in RStudio with an unrecognized theme (i.e. a non-builtin theme), it signals a warning and doesn't highlight the code: ```r cli::code_highlight("1 + 1") #> [1] "1...

If `code_theme_default_rstudio()` is unavailable, `code_highlight()` falls back to `code_theme_default_term()`: I opted to use the default terminal theme instead of an RStudio theme, because the existing RStudio themes were probably designed...

If you try to use `code_highlight()` in RStudio when using a theme that is not included in `code_theme_list()`, you receive a warning message and the code is returned unhighlighted: ```r...

Using `font_import()` in a non-interactive session require the user to manually set `prompt = FALSE` to avoid user interaction. `font_import()` should instead check `if (interactive())` to determine if the prompt...

Argument `prompt` in `font_import()` defaults to `NULL` and is set to match `interactive()`. (#71)