theme | R Documentation |
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 https://jbrowse.org/jb2/docs/config_guide#configuring-the-theme
theme(primary, secondary = NULL, tertiary = NULL, quaternary = NULL)
primary |
the primary color of your custom palette |
secondary |
the secondary color of your custom palette |
tertiary |
the tertiary color of your custom palette |
quaternary |
the quaternary color of your custom palette |
a character vector of stringified theme JSON configuration to configure a custom color palette for the browser
theme("#311b92") theme("#311b92", "#0097a7") theme("#311b92", "#0097a7", "#f57c00") theme("#311b92", "#0097a7", "#f57c00", "#d50000")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.