Skip to content

Commit c41c626

Browse files
committed
Added FA 7 for Bluesky icon, changed syntax theming until I figure out custom code chunk bg colours, removed fonts.
1 parent ec888fd commit c41c626

2 files changed

Lines changed: 20 additions & 8 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Description: This package is a template package, built off of the Stan
88
the Stan ecosystem.
99
License: BSD_3_clause + file LICENSE
1010
URL: https://visruthsk.github.io/pkgdownConfig
11+
Config/Needs/website: VisruthSK/pkgdownConfig
1112
Encoding: UTF-8
1213
Roxygen: list(markdown = TRUE)
1314
RoxygenNote: 7.3.2
14-
Config/Needs/website: VisruthSK/pkgdownConfig

inst/pkgdown/_pkgdown.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
template:
22
bootstrap: 5
33
light-switch: true
4+
includes:
5+
# necessary for Bluesky icon
6+
in_header: |
7+
<link rel="stylesheet"
8+
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css"
9+
referrerpolicy="no-referrer">
10+
11+
theme: solarized-light
12+
theme-dark: ayu-mirage
413

514
bslib:
615
bg: "#FEFBF2"
@@ -9,14 +18,16 @@ template:
918
link-color: "#3E8EBC"
1019
code-bg: "#FEFCF9"
1120
code-color: "#053A42"
21+
body-secondary-color: "#ECE5Cf"
1222

1323
navbar-light-bg: "#052744"
1424
navbar-light-color: "#F2E5BD"
1525
navbar-light-hover-color: "#F2E5BD"
16-
navbar-light-active-color: "#F2E5BD"
26+
navbar-light-active-color: "#93B0F1"
1727
navbar-light-brand-color: "#F2E5BD"
1828
navbar-light-brand-hover-color: "#F2E5BD"
1929

30+
# DARK THEME
2031
body-bg-dark: "#181818"
2132
body-color-dark: "#FAF1E4"
2233
link-color-dark: "#AED1E4"
@@ -26,14 +37,15 @@ template:
2637
navbar-dark-bg: "#303030"
2738
navbar-dark-color: "#FAF1E4"
2839
navbar-dark-hover-color: "#FAF1E4"
29-
navbar-dark-active-color: "#FAF1E4"
40+
navbar-dark-active-color: "#AED1E4"
3041
navbar-dark-brand-color: "#FAF1E4"
3142
navbar-dark-brand-hover-color: "#FAF1E4"
3243

33-
theme: nord
34-
theme-dark: tango
44+
# TODO: set fonts
45+
# base_font: { google: "" }
46+
# heading_font: { google: "" }
47+
# code_font: { google: "" }
3548

36-
# TODO: Configure the navbar to your liking.
3749
navbar:
3850
structure:
3951
left: [intro, reference, articles, otherpkgs, news, stan]
@@ -64,8 +76,8 @@ navbar:
6476
text: About Stan
6577
href: https://mc-stan.org/about/
6678
bluesky:
67-
icon: fa-bluesky
68-
aria-label: Visit our BlueSky profile
79+
icon: "fa-brands fa-bluesky"
80+
aria-label: Visit our Bluesky profile
6981
href: https://bsky.app/profile/did:plc:qznndgdnkem2yryu7ipqbpv7
7082
twitter:
7183
icon: fa-twitter

0 commit comments

Comments
 (0)