Skip to content

Commit 19e61a1

Browse files
committed
fix: support custom themes #422
1 parent 087ad5c commit 19e61a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/themes.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ e_theme <- function(
4242
"westeros", "wonderland"
4343
)
4444
) {
45-
name <- match.arg(name)
45+
# cannot match.arg we need to support custom themes
46+
name <- name[1]
4647

4748
# add name to register
4849
e$x$theme <- name

0 commit comments

Comments
 (0)