-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transform certain X11 colors with no CSS equivalent (#787)
* Transform certain X11 colors with no CSS equivalent * Update test-tab_options.R * Use modified regex pattern * Update test-tab_options.R * Transform color values in `cell_text()` * Make corrections to tests * Create X06-css_colors.R * Update zz_process_datasets_ext.R * Update sysdata.rda * Pass all color values through `html_color()` * Validate and normalize color values in `html_color()` * Update test-data_color.R * Modify stop message * Modify styling of error messages * Add the `is_hex_col()` util function * Refactor the `html_color()` util function * Remove condition needed for using `html_color()` * Update testthat tests * Modify condition inside `lapply()` * Replace `subset()` with `dplyr::filter()` * Refactor `compile_scss()` * Use `tolower()` once and earlier in fn body * Refactor `html_color()` * Create `normalize_colors()` util function * Update test-data_color.R * Update data_color.R
- Loading branch information
1 parent
1dd9356
commit 3175567
Showing
11 changed files
with
662 additions
and
79 deletions.
There are no files selected for viewing
This file contains 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 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 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
Binary file not shown.
Oops, something went wrong.