-
Notifications
You must be signed in to change notification settings - Fork 3
/
theme.Rd
34 lines (31 loc) · 1.02 KB
/
theme.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/theme.R
\name{theme}
\alias{theme}
\title{Create a theme for a custom JBrowse 2 view}
\usage{
theme(primary, secondary = NULL, tertiary = NULL, quaternary = NULL)
}
\arguments{
\item{primary}{the primary color of your custom palette}
\item{secondary}{the secondary color of your custom palette}
\item{tertiary}{the tertiary color of your custom palette}
\item{quaternary}{the quaternary color of your custom palette}
}
\value{
a character vector of stringified theme JSON configuration
to configure a custom color palette for the browser
}
\description{
Creates the necessary configuration string
for a custom theme palette for your browser.
Accepts up to four hexadecimal colors. For more
information on how JBrowse 2 custom themes work,
visit \url{https://jbrowse.org/jb2/docs/config_guide#configuring-the-theme}
}
\examples{
theme("#311b92")
theme("#311b92", "#0097a7")
theme("#311b92", "#0097a7", "#f57c00")
theme("#311b92", "#0097a7", "#f57c00", "#d50000")
}