Skip to content

Conversation

@rich-iannone
Copy link
Member

These changes allow the use of shorthand hexadecimal color values (e.g, #333) , and, the use of the transparent color name.

Fixes: #856
Fixes: #839

@rich-iannone rich-iannone marked this pull request as ready for review February 1, 2022 15:23
@rich-iannone rich-iannone requested a review from jcheng5 February 1, 2022 15:24
Copy link
Member

@jcheng5 jcheng5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Use regex to implement short-to-long hex color conversion
  2. Find out what happens if "transparent" is used with latex/rtf

* master:
  Change HTML percent sign to literal `%` (#871)
  Update gt_workflow_diagram.svg
  Update gt_parts_of_a_table.svg
  Update README.md
  Add dedicated ISSUE TEMPLATEs
  Update README.md
  Delete README.Rmd
  Update intro-creating-gt-tables.Rmd
  Update LICENSE
  Make corrections to docs (`columns`/`rows`)
  Update _pkgdown.yml
@rich-iannone rich-iannone requested a review from jcheng5 February 1, 2022 23:51
@rich-iannone rich-iannone merged commit c009402 into master Feb 2, 2022
@rich-iannone rich-iannone deleted the color-def-enhance branch February 2, 2022 18:56
rich-iannone added a commit that referenced this pull request Feb 2, 2022
* master:
  Improve color handling and add tests (#870)
rich-iannone added a commit that referenced this pull request Feb 2, 2022
* master: (23 commits)
  Improve color handling and add tests (#870)
  Change HTML percent sign to literal `%` (#871)
  Add ability to set global locale in `gt()` (#866)
  Bug fixes and enhancements to date/time formatters (#801)
  Update gt_workflow_diagram.svg
  Update gt_parts_of_a_table.svg
  Update README.md
  Add dedicated ISSUE TEMPLATEs
  Update README.md
  Delete README.Rmd
  Update intro-creating-gt-tables.Rmd
  Update LICENSE
  Make corrections to docs (`columns`/`rows`)
  Update _pkgdown.yml
  Fixes to footer (footnotes and source notes) across all output formats (#864)
  Row group labels as a column in stub (#855)
  Use reusable GHA workflows (#847)
  Increment version number
  v0.3.1 Release Candidate (#821)
  Fix for styles applied to summary cells when row groups are reordered (#814)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"transparent" for color is no longer accepted Unexpected color error with CSS shorthand hex

3 participants