gt tables - color of gt_plt_dot?

library(gt)
dot_bar_tab <- mtcars %>%
  head() %>%
  dplyr::mutate(cars = sapply(strsplit(rownames(.)," "), `[`, 1)) %>%
  dplyr::select(cars, mpg, disp) %>%
  gt() %>%
  gt_plt_dot(disp, cars) %>%
  cols_width(cars ~ px(125))

Rather than a palette that assigns the colors in order, can the color be made to reflect the value? (the way it can in ggplot for example )

the function doesnt seem to have designed with that in mind; you could probably hack it by making a custom palette that simulates that effect though.