@@ -29,7 +29,7 @@ Demonstrates a flextable with green foreground and yellow background.
2929library(flextable)
3030library(quarto)
3131
32- yellow_green_theme <- theme_colors_flextable(' #e3e5a9', ' #165b26' )
32+ yellow_green_theme <- theme_colors_flextable(" #e3e5a9", " #165b26" )
3333
3434ft <- flextable(airquality[ sample.int(10),])
3535ft <- add_header_row(ft,
@@ -56,7 +56,7 @@ library(quarto)
5656library(ggplot2)
5757library(ggiraph)
5858
59- blue_mauve_theme = theme_colors_ggplot(' #111038', ' #E0B0FF' )
59+ blue_mauve_theme = theme_colors_ggplot(" #111038", " #E0B0FF" )
6060
6161cars <- ggplot(mtcars, aes(mpg, wt)) +
6262 geom_point_interactive(aes(colour = factor(cyl), tooltip = rownames(mtcars))) +
@@ -76,7 +76,7 @@ Demonstrates a ggplot2 plot with near-black background and green-grey foreground
7676library(quarto)
7777library(ggplot2)
7878
79- black_greyn <- theme_colors_ggplot(' #050411', ' #8faf8e' )
79+ black_greyn <- theme_colors_ggplot(" #050411", " #8faf8e" )
8080
8181cars <- ggplot(mtcars, aes(mpg, wt)) +
8282 geom_point(aes(colour = factor(cyl))) +
@@ -97,7 +97,7 @@ library(gt)
9797library(quarto)
9898library(dplyr)
9999
100- green_black_theme <- theme_colors_gt(' #a5f7d6', ' #020202' )
100+ green_black_theme <- theme_colors_gt(" #a5f7d6", " #020202" )
101101
102102islands_tbl <-
103103 tibble(
@@ -106,7 +106,7 @@ islands_tbl <-
106106 ) |>
107107 slice_max(size, n = 10)
108108
109- islands_tbl |> green_black_theme()
109+ gt( islands_tbl) |> green_black_theme()
110110```
111111
112112
@@ -122,7 +122,7 @@ Demonstrates a heatmaply interactive heatmap with an off-white background and bl
122122library(heatmaply)
123123library(quarto)
124124
125- offwhite_blue_theme <- theme_colors_plotly(' #f4f4f7', ' #2063b5' )
125+ offwhite_blue_theme <- theme_colors_plotly(" #f4f4f7", " #2063b5" )
126126
127127fig <- heatmaply(mtcars, k_row = 3, k_col = 2)
128128
@@ -140,12 +140,12 @@ Demonstrates a heatmaply interactive heatmap with a dark green background backgr
140140library(quarto)
141141library(plotly)
142142
143- green_blue_theme <- theme_colors_plotly(' #293a0a', ' #a5eff7' )
143+ green_blue_theme <- theme_colors_plotly(" #293a0a", " #a5eff7" )
144144
145- fig <- plot_ly(iris, x = ~Species, y = ~Sepal.Width, type = ' violin' ,
145+ fig <- plot_ly(iris, x = ~Species, y = ~Sepal.Width, type = " violin" ,
146146 box = list(visible = TRUE),
147147 meanline = list(visible = TRUE),
148- points = ' all' )
148+ points = " all" )
149149
150150fig |> green_blue_theme()
151151```
@@ -162,7 +162,7 @@ library(ggplot2)
162162library(quarto)
163163library(patchwork)
164164
165- darkred_grey_theme <- theme_colors_thematic(' #560115', ' #ddeeee' );
165+ darkred_grey_theme <- theme_colors_thematic(" #560115", " #ddeeee" );
166166
167167#generate three scatterplots
168168plot1 <- ggplot(mtcars, aes(mpg, wt)) +
0 commit comments