diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index d9f4c29..b8e25b4 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,14 +1,12 @@ -## Description +# Description These changes PURPOSE, because REASON. Closes # - This PR needs a quick/an in-depth review. ## Checklist -- [ ] Ran spell-check - [ ] Formatted Markdown - [ ] Ran `just run-all` diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index fb730c0..c786df4 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -18,6 +18,7 @@ jobs: add-to-project: uses: seedcase-project/.github/.github/workflows/reusable-add-to-project.yml@main with: + app-id: ${{ vars.ADD_TO_BOARD_APP_ID }} board-number: 18 secrets: add-to-board-token: ${{ secrets.ADD_TO_BOARD }} diff --git a/.vscode/extensions.json b/.vscode/extensions.json index bfdc356..8f5a40e 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -9,7 +9,12 @@ "quarto.quarto", "vivaxy.vscode-conventional-commits", "pshaddel.conventional-branch", - "tekumara.typos-vscode" + "tekumara.typos-vscode", + "eamodio.gitlens", + "github.vscode-github-actions", + "redhat.vscode-yaml", + "GitHub.vscode-pull-request-github", + "EditorConfig.EditorConfig" ], // List of extensions recommended by VS Code that should not be recommended for users of this workspace. "unwantedRecommendations": [] diff --git a/_extensions/seedcase-project/seedcase-theme/_brand.yml b/_extensions/seedcase-project/seedcase-theme/_brand.yml new file mode 100644 index 0000000..a755c0f --- /dev/null +++ b/_extensions/seedcase-project/seedcase-theme/_brand.yml @@ -0,0 +1,143 @@ +meta: + name: + full: Seedcase Project + short: Seedcase + link: + github: https://github.com/seedcase-project + +color: + palette: + logo-green: "#024639" + dark-green: "#196440" + vibrant-green: "#48DC76" + light-grey: "#F8F9FA" + primary: dark-green + tertiary: vibrant-green + light: light-grey + +typography: + fonts: + - family: noto sans + source: "bunny" + # other weights are used inexplicitly for e.g., bold and table headers + weight: [300, 500, 600] + - family: poppins + source: "bunny" + weight: 400 + - family: roboto mono + source: "bunny" + base: + family: noto sans + weight: 300 + headings: + family: poppins + weight: 400 + monospace: roboto mono + +defaults: + bootstrap: + defaults: + mermaid-edge-color: "#8B8B8B" + rules: | + .cell-output pre code { + white-space: pre-wrap; + } + + .navbar { + border-bottom: rgba($toc-active-border, 0.3) 1px solid; + } + + svg { + display: block; + max-width: 100%; + margin: 0 auto; + height: auto !important; + width: auto !important; + } + + li { + margin: 5px 0; + } + + figcaption { + text-align: center; + } + + .about-link { + border: 2px solid $tertiary !important; + border-radius: 50px !important; + color: $primary !important; + font-size: 20px !important; + font-weight: bold; + padding: 5px 15px !important; + } + + .about-link:hover { + background-color: $tertiary !important; + color: white !important; + } + + .about-links { + justify-content: left !important; + padding: 10px 0px 0px 0px !important; + } + + .landing-page-block { + padding-top: 10px; + padding-bottom: 10px; + margin-left: 30px; + margin-right: 30px; + } + + @media(min-width: 900px) { + .landing-page-block { + margin-left: 50px; + margin-right: 50px; + } + } + + @media (min-width: 1200px) { + .landing-page-block { + max-width: 900px; + margin-left: auto; + margin-right: auto; + } + } + + .hero-banner { + position: relative; + background: $light; + display: flex; + justify-content: center; + padding-bottom: 30px; + } + + .hero-banner .landing-page-block { + display: flex; + flex-direction: row; + } + + .hero-text>h2, + .landing-page-block>h2 { + margin-top: 0.5rem; + border-bottom: none; + } + + .landing-page-card { + border-radius: 12px; + box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15); + background-color: rgba($light, 0.3); + border: none; + padding: 5px 20px 10px 20px; + margin-bottom: 40px; + justify-content: start !important; + } + + .navbar-logo { + max-height: 38px; + } + + .callout-body { + font-weight: 300 !important; + } + \ No newline at end of file diff --git a/_extensions/seedcase-project/seedcase-theme/_extension.yml b/_extensions/seedcase-project/seedcase-theme/_extension.yml index 3b44112..f1c2213 100644 --- a/_extensions/seedcase-project/seedcase-theme/_extension.yml +++ b/_extensions/seedcase-project/seedcase-theme/_extension.yml @@ -10,9 +10,6 @@ contributes: - quarto-ext/fontawesome html: from: markdown+emoji - theme: - - cosmo - - theme.scss toc: true toc-location: right toc-depth: 3 @@ -34,7 +31,7 @@ contributes: repo-actions: [edit, issue, source] search: location: navbar - type: overlay + type: textbox navbar: background: light logo: logos/navbar-logo-seedcase-project.svg @@ -54,3 +51,5 @@ contributes: csl: vancouver.csl format: seedcase-theme-html + + brand: _brand.yml diff --git a/_extensions/seedcase-project/seedcase-theme/theme.scss b/_extensions/seedcase-project/seedcase-theme/theme.scss deleted file mode 100644 index 5ecba4a..0000000 --- a/_extensions/seedcase-project/seedcase-theme/theme.scss +++ /dev/null @@ -1,116 +0,0 @@ -/*-- scss:defaults --*/ - -@import url('https://fonts.bunny.net/css?family=poppins:400|roboto-mono:400'); - -$font-family-sans-serif: "poppins", sans-serif; -$font-family-monospace: "roboto-mono", monospace; - -/* brand colour #003224 - the one below is a slightly lighter version of the brand colour */ -/* using rgb to be able to use rgba, i.e., opacity */ -$primary: rgb(25, 100, 64); // #196440 -$secondary: rgb(198, 240, 211); // #c6f0d3 -$tertiary: rgb(72, 220, 118); // #48dc76 -$toc-active-border: rgb(139, 139, 139); // #8b8b8b; -$navbar-padding-y: .2rem; -$mermaid-edge-color: rgb(139, 139, 139); - -/*-- scss:rules --*/ - -/* Wrap Python output so it looks nicer */ -.cell-output pre code { - white-space: pre-wrap; -} - -.navbar { - border-bottom: rgba($toc-active-border, 0.3) 1px solid; -} - -svg { - display: block; - max-width: 100%; - margin: 0 auto; - height: auto !important; - width: auto !important; -} - -li { - margin: 5px 0; -} - -figcaption { - text-align: center; -} - -.about-link { - border: 2px solid $tertiary !important; - border-radius: 50px !important; - color: $primary !important; - font-size: 20px !important; - font-weight: bold; - padding: 5px 15px !important; -} - -.about-link:hover { - background-color: $tertiary !important; - color: white !important; -} - -.about-links { - justify-content: left !important; - padding: 10px 0px 0px 0px !important; -} - -.landing-page-block { - padding-top: 10px; - padding-bottom: 10px; - margin-left: 30px; - margin-right: 30px; -} - -@media(min-width: 900px) { - .landing-page-block { - margin-left: 50px; - margin-right: 50px; - } -} - -@media (min-width: 1200px) { - .landing-page-block { - max-width: 900px; - margin-left: auto; - margin-right: auto; - } -} - -.hero-banner { - position: relative; - background: rgba($secondary, 0.5); - display: flex; - justify-content: center; - padding-bottom: 30px; -} - -.hero-banner .landing-page-block { - display: flex; - flex-direction: row; -} - -.hero-text>h2, -.landing-page-block>h2 { - margin-top: 0.5rem; - border-bottom: none; -} - -.landing-page-card { - border-radius: 12px; - box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15); - background-color: rgba($secondary, 0.3); - border: none; - padding: 5px 20px 10px 20px; - margin-bottom: 40px; - justify-content: start !important; -} - -.navbar-logo { - max-height: 38px; -}