From 955658fa9ccd877f86db975cc2ac04b141c91bc8 Mon Sep 17 00:00:00 2001 From: Garrick Aden-Buie Date: Mon, 25 Nov 2024 17:13:45 -0500 Subject: [PATCH] fix alignment IDE color preview adds a couple of characters in the row with the color --- R/utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils.R b/R/utils.R index a2f1f7891..baa4d29d1 100644 --- a/R/utils.R +++ b/R/utils.R @@ -155,7 +155,7 @@ get_color_contrast <- function(bg_color) { options = sass::sass_options(source_map_embed = FALSE) ) # example: css <- "._ {\n --RET: #fff;\n}" - # we'll split to get value: ^ ^ + # we'll split to get value: ^ ^ ret <- strsplit(css, "--RET:")[[1]][2] trimws(strsplit(ret, ";")[[1]][1]) }, error = function(err) {