Skip to content

Commit 3e8381a

Browse files
committed
Trying _brand.yml
1 parent 1f67f6e commit 3e8381a

5 files changed

Lines changed: 46 additions & 32 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: pkgdownconfig
22
Title: Stan pkgdown Website Styling
3-
Version: 2.3.0
3+
Version: 2.3.0.9000
44
Authors@R:
55
person("Visruth", "Srimath Kandali", , "public@visruth.com", role = c("aut", "cre"),
66
comment = c(ORCID = "0009-0005-9097-0688"))

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# pkgdownconfig (development version)
2+
13
# pkgdownConfig 1.0.0:9000
24

35
Items for next release go here. This is just an example I'm not keeping a changelog. See release/commits.

inst/pkgdown/_brand.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
meta:
2+
name: Stan
3+
link: https://mc-stan.org
4+
5+
typography:
6+
base:
7+
family: Source Sans 3
8+
source: google
9+
headings:
10+
family: Source Sans 3
11+
source: google
12+
weight: 700
13+
monospace:
14+
family: Source Code Pro
15+
source: google
16+
17+
color:
18+
palette:
19+
stan-cream: "#FEFBF2"
20+
stan-blue-dark: "#052744"
21+
stan-blue-med: "#3E8EBC"
22+
stan-teal: "#053A42"
23+
stan-gray-dark: "#181818"
24+
stan-cream-light: "#FAF1E4"
25+
stan-blue-light: "#AED1E4"
26+
stan-nav-dark: "#303030"
27+
28+
foreground:
29+
light: stan-blue-dark
30+
dark: stan-cream-light
31+
background:
32+
light: stan-cream
33+
dark: stan-gray-dark
34+
primary:
35+
light: stan-blue-med
36+
dark: stan-blue-light
37+
secondary:
38+
light: stan-teal
39+
dark: stan-blue-light
40+

inst/pkgdown/_pkgdown.yml

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,43 +10,15 @@ template:
1010
theme-dark: nord
1111

1212
bslib:
13-
# LIGHT THEME
13+
brand: _brand.yml"
1414

15-
bg: "#FEFBF2"
16-
fg: "#052744"
17-
primary: "#3E8EBC"
18-
link-color: "#3E8EBC"
19-
code-bg: "#FEFCF9"
20-
code-color: "#053A42"
21-
body-secondary-color: "#053A42"
22-
23-
# navbar colors
2415
navbar-light-bg: "#052744"
2516
navbar-light-color: "#F2E5BD"
26-
navbar-light-hover-color: "#F2E5BD"
2717
navbar-light-active-color: "#93B0F1"
28-
navbar-light-brand-color: "#F2E5BD"
29-
navbar-light-brand-hover-color: "#F2E5BD"
30-
31-
# DARK THEME
32-
33-
body-bg-dark: "#181818"
34-
body-color-dark: "#FAF1E4"
35-
link-color-dark: "#AED1E4"
36-
code-bg-dark: "#242424"
37-
code-color-dark: "#FEFCF9"
38-
39-
# navbar colors
18+
4019
navbar-dark-bg: "#303030"
4120
navbar-dark-color: "#FAF1E4"
42-
navbar-dark-hover-color: "#FAF1E4"
4321
navbar-dark-active-color: "#AED1E4"
44-
navbar-dark-brand-color: "#FAF1E4"
45-
navbar-dark-brand-hover-color: "#FAF1E4"
46-
47-
base_font: { google: "Source Sans 3" }
48-
heading_font: { google: "Source Sans 3" }
49-
code_font: { google: "Source Code Pro" }
5022

5123
navbar:
5224
structure:

vignettes/Example.rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This is a testing vignette to make sure the conditional evaluation works.
1212

1313
```{r}
1414
print("Starting expensive computation")
15-
Sys.sleep(5)
15+
Sys.sleep(1)
1616
print("Done!")
1717
```
1818

0 commit comments

Comments
 (0)