Skip to content

Commit

Permalink
remove Nunito Sans
Browse files Browse the repository at this point in the history
  • Loading branch information
pcastellanoescuder committed Dec 16, 2023
1 parent 49fc61a commit 3566413
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: POMA
Title: Tools for Omics Data Analysis
Version: 1.13.7
Version: 1.13.8
Authors@R:
c(person(given = "Pol",
family = "Castellano-Escuder",
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# POMA 1.13.7
# POMA 1.13.8

* New POMA theme and colorblind-friendly palette
* Available sample normalization (sum and quantile)
Expand Down
15 changes: 7 additions & 8 deletions R/theme.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ theme_poma <- function(base_size = 15,
if(!is.character(axistext)) stop('axistext must be a character: "none" or any combination of "X", "Y", "x" and "y"')
if(!is.numeric(margin)) stop('margin must be a numeric value')

fontfamily_sans <- "Nunito Sans"
fontfamily_slab <- "Roboto Slab"
fontfamily_mono <- "Roboto Mono"

Expand All @@ -52,33 +51,33 @@ theme_poma <- function(base_size = 15,
fill = "transparent"
),
plot.title = ggtext::element_textbox_simple(
family = fontfamily_sans,
family = fontfamily_slab,
size = base_size * 1.7,
face = "bold",
lineheight = .8,
box.color = NA,
margin = ggplot2::margin(t = 0, b = base_size * .67)
),
plot.subtitle = ggtext::element_textbox_simple(
family = fontfamily_sans,
family = fontfamily_slab,
size = base_size,
lineheight = 1.2,
color = light_col,
margin = ggplot2::margin(t = 0, b = base_size * 1.5)
),
plot.caption = ggtext::element_textbox_simple(
family = fontfamily_sans,
family = fontfamily_slab,
size = base_size / 2,
lineheight = 1.2,
color = light_col,
margin = ggplot2::margin(t = base_size * 1.5, b = 0)
),
axis.title.x = ggplot2::element_text(
family = fontfamily_sans,
family = fontfamily_slab,
margin = ggplot2::margin(t = base_size / 3, r = 3, b = 3, l = 3)
),
axis.title.y = ggplot2::element_text(
family = fontfamily_sans,
family = fontfamily_slab,
margin = ggplot2::margin(t = 3, r = 3, b = base_size / 3, l = 3)
),
axis.text.x = ggplot2::element_text(
Expand All @@ -91,7 +90,7 @@ theme_poma <- function(base_size = 15,
),
axis.ticks.length = grid::unit(.33, "lines"),
strip.text = ggplot2::element_text(
family = fontfamily_sans,
family = fontfamily_slab,
face = "bold"
),
strip.background = ggplot2::element_blank(),
Expand Down Expand Up @@ -127,7 +126,7 @@ theme_poma <- function(base_size = 15,
} else {
out <- out +
ggplot2::theme(legend.title = ggplot2::element_text(
family = fontfamily_sans,
family = fontfamily_slab,
color = light_col,
size = base_size * .75,
margin = ggplot2::margin(b = 10)
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ output: github_document
| _BioC_ branch | Status | Version | Dependencies | Rank |
|- |- |- |- |- |
| [Release](http://bioconductor.org/packages/release/bioc/html/POMA.html) | [![Bioc release status](https://bioconductor.org/shields/build/release/bioc/POMA.svg)](https://bioconductor.org/checkResults/release/bioc-LATEST/POMA/) | [![BioC released version](https://img.shields.io/badge/release%20version-1.6.0-blue.svg)](https://www.bioconductor.org/packages/POMA) | [![Dependencies](http://bioconductor.org/shields/dependencies/release/POMA.svg)](http://bioconductor.org/packages/release/bioc/html/POMA.html#since) | [![Rank](http://www.bioconductor.org/shields/downloads/release/POMA.svg)](https://bioconductor.org/packages/stats/bioc/POMA) |
| [Devel](http://bioconductor.org/packages/devel/bioc/html/POMA.html) | [![Bioc devel status](https://bioconductor.org/shields/build/devel/bioc/POMA.svg)](https://bioconductor.org/checkResults/devel/bioc-LATEST/POMA/) | [![BioC devel version](https://img.shields.io/badge/devel%20version-1.13.7-blue.svg)](https://bioconductor.org/packages/devel/bioc/html/POMA.html) | [![Dependencies](http://bioconductor.org/shields/dependencies/devel/POMA.svg)](http://bioconductor.org/packages/devel/bioc/html/POMA.html#since) | [![Rank](http://www.bioconductor.org/shields/downloads/devel/POMA.svg)](https://bioconductor.org/packages/stats/bioc/POMA) |
| [Devel](http://bioconductor.org/packages/devel/bioc/html/POMA.html) | [![Bioc devel status](https://bioconductor.org/shields/build/devel/bioc/POMA.svg)](https://bioconductor.org/checkResults/devel/bioc-LATEST/POMA/) | [![BioC devel version](https://img.shields.io/badge/devel%20version-1.13.8-blue.svg)](https://bioconductor.org/packages/devel/bioc/html/POMA.html) | [![Dependencies](http://bioconductor.org/shields/dependencies/devel/POMA.svg)](http://bioconductor.org/packages/devel/bioc/html/POMA.html#since) | [![Rank](http://www.bioconductor.org/shields/downloads/devel/POMA.svg)](https://bioconductor.org/packages/stats/bioc/POMA) |

<!-- badges: end -->

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/li
| *BioC* branch | Status | Version | Dependencies | Rank |
|-------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
| [Release](http://bioconductor.org/packages/release/bioc/html/POMA.html) | [![Bioc release status](https://bioconductor.org/shields/build/release/bioc/POMA.svg)](https://bioconductor.org/checkResults/release/bioc-LATEST/POMA/) | [![BioC released version](https://img.shields.io/badge/release%20version-1.6.0-blue.svg)](https://www.bioconductor.org/packages/POMA) | [![Dependencies](http://bioconductor.org/shields/dependencies/release/POMA.svg)](http://bioconductor.org/packages/release/bioc/html/POMA.html#since) | [![Rank](http://www.bioconductor.org/shields/downloads/release/POMA.svg)](https://bioconductor.org/packages/stats/bioc/POMA) |
| [Devel](http://bioconductor.org/packages/devel/bioc/html/POMA.html) | [![Bioc devel status](https://bioconductor.org/shields/build/devel/bioc/POMA.svg)](https://bioconductor.org/checkResults/devel/bioc-LATEST/POMA/) | [![BioC devel version](https://img.shields.io/badge/devel%20version-1.13.7-blue.svg)](https://bioconductor.org/packages/devel/bioc/html/POMA.html) | [![Dependencies](http://bioconductor.org/shields/dependencies/devel/POMA.svg)](http://bioconductor.org/packages/devel/bioc/html/POMA.html#since) | [![Rank](http://www.bioconductor.org/shields/downloads/devel/POMA.svg)](https://bioconductor.org/packages/stats/bioc/POMA) |
| [Devel](http://bioconductor.org/packages/devel/bioc/html/POMA.html) | [![Bioc devel status](https://bioconductor.org/shields/build/devel/bioc/POMA.svg)](https://bioconductor.org/checkResults/devel/bioc-LATEST/POMA/) | [![BioC devel version](https://img.shields.io/badge/devel%20version-1.13.8-blue.svg)](https://bioconductor.org/packages/devel/bioc/html/POMA.html) | [![Dependencies](http://bioconductor.org/shields/dependencies/devel/POMA.svg)](http://bioconductor.org/packages/devel/bioc/html/POMA.html#since) | [![Rank](http://www.bioconductor.org/shields/downloads/devel/POMA.svg)](https://bioconductor.org/packages/stats/bioc/POMA) |

<!-- badges: end -->

Expand Down

0 comments on commit 3566413

Please sign in to comment.