Skip to contents

Function to process text size with different types of unit

Usage

getTextSize(element.name, theme)

Arguments

element.name

The name of the theme element

theme

combined theme from plot_theme()

Value

character of text size, with unit pt/px