Skip to content
Snippets Groups Projects
Commit cccf096e authored by Jorge Saturno's avatar Jorge Saturno
Browse files

Remove unnecessary code for font settings

parent 542597fc
No related branches found
No related tags found
No related merge requests found
...@@ -14,8 +14,7 @@ library(scales) ...@@ -14,8 +14,7 @@ library(scales)
library(tidyverse) library(tidyverse)
library(DT) library(DT)
library(gdtools) library(gdtools)
# library(systemfonts)
# library(hrbrthemes)
register_gfont("IBM Plex Sans") register_gfont("IBM Plex Sans")
...@@ -24,8 +23,7 @@ ui <- page_sidebar( ...@@ -24,8 +23,7 @@ ui <- page_sidebar(
title = "⚫ Atmospheric black carbon MAC review", title = "⚫ Atmospheric black carbon MAC review",
theme = bs_theme(bootswatch = "minty"), theme = bs_theme(bootswatch = "minty"),
addGFontHtmlDependency(family = c("IBM Plex Sans")), addGFontHtmlDependency(family = c("IBM Plex Sans")),
# tags$head(tags$style(type="text/css", "text {font-family: sans-serif}")),
sidebar = sidebar( sidebar = sidebar(
h4("Chart settings"), h4("Chart settings"),
radioButtons("plot_category", "Categories", radioButtons("plot_category", "Categories",
...@@ -196,7 +194,6 @@ server <- function(input, output) { ...@@ -196,7 +194,6 @@ server <- function(input, output) {
facet_grid(Study_durn ~ ., scales = "free", space = "free") facet_grid(Study_durn ~ ., scales = "free", space = "free")
girafe(ggobj = MAC_MAC550.gg, width_svg = 14, height_svg = 10, girafe(ggobj = MAC_MAC550.gg, width_svg = 14, height_svg = 10,
# fonts = list(sans = "Arial"),
options = list( options = list(
opts_hover(css = "fill:grey80;"), opts_hover(css = "fill:grey80;"),
opts_hover_inv(css = "opacity:0.1;"), opts_hover_inv(css = "opacity:0.1;"),
...@@ -257,7 +254,6 @@ server <- function(input, output) { ...@@ -257,7 +254,6 @@ server <- function(input, output) {
girafe(ggobj = MAC_lambda.gg, width_svg = 14, height_svg = 10, girafe(ggobj = MAC_lambda.gg, width_svg = 14, height_svg = 10,
# fonts = list(sans = "Arial"),
options = list( options = list(
opts_hover(css = "fill:grey80;"), opts_hover(css = "fill:grey80;"),
opts_hover_inv(css = "opacity:0.1;"), opts_hover_inv(css = "opacity:0.1;"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment