mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-21 05:19:07 +02:00
Deploying to gh-pages from @ agdamsbo/FreesearchR@54dd332cd8 🚀
This commit is contained in:
parent
4cf4bd0499
commit
6d545337de
328 changed files with 12930 additions and 1662 deletions
32
reference/custom_theme.md
Normal file
32
reference/custom_theme.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Custom theme based on unity
|
||||
|
||||
Custom theme based on unity
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
custom_theme(
|
||||
...,
|
||||
version = 5,
|
||||
primary = FreesearchR_colors("primary"),
|
||||
secondary = FreesearchR_colors("secondary"),
|
||||
bootswatch = "united",
|
||||
base_font = bslib::font_google("Montserrat"),
|
||||
heading_font = bslib::font_google("Public Sans", wght = "700"),
|
||||
code_font = bslib::font_google("Open Sans"),
|
||||
success = FreesearchR_colors("success"),
|
||||
info = FreesearchR_colors("info"),
|
||||
warning = FreesearchR_colors("warning"),
|
||||
danger = FreesearchR_colors("danger")
|
||||
)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- ...:
|
||||
|
||||
everything passed on to bslib::bs_theme()
|
||||
|
||||
## Value
|
||||
|
||||
theme list
|
||||
Loading…
Add table
Add a link
Reference in a new issue