From 4570bb5501beb25d52c4a569fb42fdd04a17926b Mon Sep 17 00:00:00 2001 From: caitlynbakery Date: Thu, 29 Aug 2024 10:30:57 -1000 Subject: [PATCH] working on styling --- news/events.qmd | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/news/events.qmd b/news/events.qmd index 789dbf9..e5cf37f 100644 --- a/news/events.qmd +++ b/news/events.qmd @@ -21,8 +21,8 @@ library(tidyverse) Events <- df <- tibble( title_link = c("https://www.ascent.io/earl", "https://shiny-in-production.jumpingrivers.com/", "https://actuaries.org.uk/LifeConference2024/", "https://www.rstats.ai/gov"), title = c("EARL 2024", "Shiny in Production 2024", "IFoA Life Conference 2024", "2024 Government & Public Sector R Conference"), - start_date = c("2024-09-04", "2024-10-09", "2024-10-14", "2024-10-29"), - end_date = c("2024-09-05", "2024-10-10", "2024-10-16", "2024-10-30"), + start_date = c("September 4, 2024", "October 9, 2024", "October 14, 2024", "October 29, 2024"), + end_date = c("September 5, 2024", "October 10, 2024", "October 16, 2024", "October 30, 2024"), location = c("Brighton", "Newcastle upon Tyne", "Manchester", "Washington D.C."), type = c("Conference", "Conference", "Conference", "Conference")) @@ -64,9 +64,12 @@ gt(Events) |> tab_options( heading.background.color = "lightblue", column_labels.background.color = "lightblue", + column_labels.font.weight = "bold", + ) |> - tab_style( style = cell_fill(color="#d6cae3"), locations=cells_body(rows=c(1, 3))) + tab_style( style = cell_fill(color="#d6cae3"), locations=cells_body(rows=c(1, 3))) |> + tab_style( style = cell_text(weight="bold"), locations=cells_body(column=title)) ```