Skip to content

Commit 05ec74b

Browse files
committed
Moved theme to template
1 parent a01ef93 commit 05ec74b

9 files changed

Lines changed: 80 additions & 79 deletions

_pkgdown.yml

Lines changed: 1 addition & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,3 @@
11
url: https://visruthsk.github.io/pkgdownConfig
22
template:
3-
bootstrap: 5
4-
light-switch: true
5-
6-
bslib:
7-
bg: "#FEFBF2"
8-
fg: "#052744"
9-
primary: "#3E8EBC"
10-
link-color: "#3E8EBC"
11-
code-bg: "#FEFCF9"
12-
code-color: "#053A42"
13-
14-
navbar-light-bg: "#052744"
15-
navbar-light-color: "#F2E5BD"
16-
navbar-light-hover-color: "#F2E5BD"
17-
navbar-light-active-color: "#F2E5BD"
18-
navbar-light-brand-color: "#F2E5BD"
19-
navbar-light-brand-hover-color: "#F2E5BD"
20-
21-
# Dark
22-
body-bg-dark: "#181818"
23-
body-color-dark: "#FAF1E4"
24-
link-color-dark: "#AED1E4"
25-
code-bg-dark: "#242424"
26-
code-color-dark: "#FEFCF9"
27-
28-
navbar-dark-bg: "#303030"
29-
navbar-dark-color: "#FAF1E4"
30-
navbar-dark-hover-color: "#FAF1E4"
31-
navbar-dark-active-color: "#FAF1E4"
32-
navbar-dark-brand-color: "#FAF1E4"
33-
navbar-dark-brand-hover-color: "#FAF1E4"
34-
35-
theme: nord
36-
theme-dark: tango
37-
38-
navbar:
39-
structure:
40-
left: [intro, reference, articles, otherpkgs, news]
41-
right: [search, bluesky, twitter, forum, github, lightswitch]
42-
components:
43-
otherpkgs:
44-
text: Other Packages
45-
menu:
46-
- text: bayesplot
47-
href: https://mc-stan.org/bayesplot
48-
- text: cmdstanr
49-
href: https://mc-stan.org/cmdstanr
50-
- text: loo
51-
href: https://mc-stan.org/loo
52-
- text: posterior
53-
href: https://mc-stan.org/posterior
54-
- text: projpred
55-
href: https://mc-stan.org/projpred
56-
- text: rstan
57-
href: https://mc-stan.org/rstan
58-
- text: rstanarm
59-
href: https://mc-stan.org/rstanarm
60-
- text: rstantools
61-
href: https://mc-stan.org/rstantools
62-
- text: shinystan
63-
href: https://mc-stan.org/shinystan
64-
bluesky:
65-
icon: fa-bluesky
66-
aria-label: Visit our BlueSky profile
67-
href: https://bsky.app/profile/did:plc:qznndgdnkem2yryu7ipqbpv7
68-
twitter:
69-
icon: fa-twitter
70-
aria-label: Visit our Twitter profile
71-
href: https://twitter.com/mcmc_stan
72-
forum:
73-
icon: fa-users
74-
aria-label: Visit our forums
75-
href: https://discourse.mc-stan.org/
76-
77-
home:
78-
links:
79-
- text: Ask a question
80-
href: http://discourse.mc-stan.org/
3+
package: pkgdownConfig

inst/pkgdown/_pkgdown.yml

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,79 @@
1-
# TODO: Copy over from root _pkgdown when done experimenting/published to GH
1+
template:
2+
bootstrap: 5
3+
light-switch: true
4+
5+
bslib:
6+
bg: "#FEFBF2"
7+
fg: "#052744"
8+
primary: "#3E8EBC"
9+
link-color: "#3E8EBC"
10+
code-bg: "#FEFCF9"
11+
code-color: "#053A42"
12+
13+
navbar-light-bg: "#052744"
14+
navbar-light-color: "#F2E5BD"
15+
navbar-light-hover-color: "#F2E5BD"
16+
navbar-light-active-color: "#F2E5BD"
17+
navbar-light-brand-color: "#F2E5BD"
18+
navbar-light-brand-hover-color: "#F2E5BD"
19+
20+
# Dark
21+
body-bg-dark: "#181818"
22+
body-color-dark: "#FAF1E4"
23+
link-color-dark: "#AED1E4"
24+
code-bg-dark: "#242424"
25+
code-color-dark: "#FEFCF9"
26+
27+
navbar-dark-bg: "#303030"
28+
navbar-dark-color: "#FAF1E4"
29+
navbar-dark-hover-color: "#FAF1E4"
30+
navbar-dark-active-color: "#FAF1E4"
31+
navbar-dark-brand-color: "#FAF1E4"
32+
navbar-dark-brand-hover-color: "#FAF1E4"
33+
34+
theme: nord
35+
theme-dark: tango
36+
37+
navbar:
38+
structure:
39+
left: [intro, reference, articles, otherpkgs, news]
40+
right: [search, bluesky, twitter, forum, github, lightswitch]
41+
components:
42+
otherpkgs:
43+
text: Other Packages
44+
menu:
45+
- text: bayesplot
46+
href: https://mc-stan.org/bayesplot
47+
- text: cmdstanr
48+
href: https://mc-stan.org/cmdstanr
49+
- text: loo
50+
href: https://mc-stan.org/loo
51+
- text: posterior
52+
href: https://mc-stan.org/posterior
53+
- text: projpred
54+
href: https://mc-stan.org/projpred
55+
- text: rstan
56+
href: https://mc-stan.org/rstan
57+
- text: rstanarm
58+
href: https://mc-stan.org/rstanarm
59+
- text: rstantools
60+
href: https://mc-stan.org/rstantools
61+
- text: shinystan
62+
href: https://mc-stan.org/shinystan
63+
bluesky:
64+
icon: fa-bluesky
65+
aria-label: Visit our BlueSky profile
66+
href: https://bsky.app/profile/did:plc:qznndgdnkem2yryu7ipqbpv7
67+
twitter:
68+
icon: fa-twitter
69+
aria-label: Visit our Twitter profile
70+
href: https://twitter.com/mcmc_stan
71+
forum:
72+
icon: fa-users
73+
aria-label: Visit our forums
74+
href: https://discourse.mc-stan.org/
75+
76+
home:
77+
links:
78+
- text: Ask a question
79+
href: http://discourse.mc-stan.org/
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)