Skip to content

Commit

Permalink
updates style
Browse files Browse the repository at this point in the history
  • Loading branch information
Geert van Geest committed Apr 10, 2024
1 parent a16a076 commit 1e6c2e1
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: main
paths:
- index.qmd
- styles.css
- custom.scss
- renv.lock
- _quarto.yml
# every week on sunday
Expand Down
10 changes: 7 additions & 3 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ website:

format:
html:
theme: cosmo
css: styles.css
theme:
- default
- custom.scss
toc: true

code-link: true
header-includes: |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro">
execute:
freeze: auto

Expand Down
13 changes: 13 additions & 0 deletions custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@import url('https://fonts.cdnfonts.com/css/cabinet-grotesk');
@import url('https://fonts.googleapis.com/css?family=Inter');

/*-- scss:defaults --*/
// Base document colors
$headings-font-family: 'Cabinet grotesk';
$font-family-sans-serif: 'Inter';
$code-color: #ae191a;
$link-color: #009ee3;
$navbar-bg: #ae191a;
$kbd-color: #ae191a;
$kbd-bg: #ae191a;
$pre-color: #747473;
Binary file modified grid_plot_fig1.pdf
Binary file not shown.
2 changes: 2 additions & 0 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ library(ggplot2)
library(dplyr)
library(ggbreak)
library(cowplot)
library(downlit)
library(xml2)
```

Create a file named `.env` and add your GitHub PAT (variable named `PAT` ) and google api key (named `GOOGLE_API_KEY`) in there, e.g.:
Expand Down
58 changes: 57 additions & 1 deletion renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Repositories": [
{
"Name": "CRAN",
"URL": "https://packagemanager.posit.co/cran/latest"
"URL": "https://cran.rstudio.com"
}
]
},
Expand Down Expand Up @@ -116,6 +116,16 @@
"Repository": "CRAN",
"Hash": "b7d8d8ee39869c18d8846a184dd8a1af"
},
"brio": {
"Package": "brio",
"Version": "1.1.4",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R"
],
"Hash": "68bd2b066e1fe780bbf62fc8bcc36de3"
},
"bslib": {
"Package": "bslib",
"Version": "0.6.1",
Expand Down Expand Up @@ -210,6 +220,19 @@
],
"Hash": "411ca2c03b1ce5f548345d2fc2685f7a"
},
"desc": {
"Package": "desc",
"Version": "1.4.3",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R",
"R6",
"cli",
"utils"
],
"Hash": "99b79fcbd6c4d1ce087f5c5c758b384f"
},
"digest": {
"Package": "digest",
"Version": "0.6.34",
Expand All @@ -221,6 +244,26 @@
],
"Hash": "7ede2ee9ea8d3edbf1ca84c1e333ad1a"
},
"downlit": {
"Package": "downlit",
"Version": "0.4.3",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R",
"brio",
"desc",
"digest",
"evaluate",
"fansi",
"memoise",
"rlang",
"vctrs",
"withr",
"yaml"
],
"Hash": "14fa1f248b60ed67e1f5418391a17b14"
},
"dplyr": {
"Package": "dplyr",
"Version": "1.1.4",
Expand Down Expand Up @@ -1040,6 +1083,19 @@
],
"Hash": "fd1349170df31f7a10bd98b0189e85af"
},
"xml2": {
"Package": "xml2",
"Version": "1.3.6",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R",
"cli",
"methods",
"rlang"
],
"Hash": "1d0336142f4cd25d8d23cd3ba7a8fb61"
},
"yaml": {
"Package": "yaml",
"Version": "2.3.8",
Expand Down

0 comments on commit 1e6c2e1

Please sign in to comment.