Skip to content

Commit 1868b01

Browse files
authored
build: ⬆️ upgrade seedcase-theme (#386)
# Description This PR needs a quick review. ## Checklist - [X] Ran `just run-all`
1 parent 8a14e94 commit 1868b01

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+89
-19
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dev/
1515
# Quarto
1616
/.quarto/
1717
docs/.quarto/
18+
**/*.quarto_ipynb
1819

1920
# Website generation
2021
_site

_extensions/seedcase-project/seedcase-theme/_brand.yml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ meta:
22
name:
33
full: Seedcase Project
44
short: Seedcase
5+
description: |
6+
The Seedcase Project is an organisation dedicated to making an
7+
effective and open framework for building modern infrastructures
8+
for structured, standardised, and FAIR (findable, accessible,
9+
interoperable, and reusable) research data.
510
link:
11+
home: https://seedcase-project.org
612
github: https://github.com/seedcase-project
713

814
color:
@@ -11,6 +17,7 @@ color:
1117
dark-green: "#196440"
1218
vibrant-green: "#48DC76"
1319
light-grey: "#F8F9FA"
20+
code-bg: "#E9ECEFA6"
1421
primary: dark-green
1522
tertiary: vibrant-green
1623
light: light-grey
@@ -19,7 +26,7 @@ typography:
1926
fonts:
2027
- family: noto sans
2128
source: "bunny"
22-
# other weights are used inexplicitly for e.g., bold and table headers
29+
# other weights are used for e.g., bold and table headers
2330
weight: [300, 500, 600]
2431
- family: poppins
2532
source: "bunny"
@@ -37,14 +44,18 @@ typography:
3744
defaults:
3845
bootstrap:
3946
defaults:
40-
mermaid-edge-color: "#8B8B8B"
47+
mermaid-edge-color: var(--quarto-scss-export-gray-800)
48+
# Set code background colour variable so all inline code has the same colour
49+
# including headers with inline code.
50+
# This colour is the default background colour for inline code.
51+
code-bg: var(--brand-code-bg)
4152
rules: |
4253
.cell-output pre code {
4354
white-space: pre-wrap;
4455
}
4556
4657
.navbar {
47-
border-bottom: rgba($toc-active-border, 0.3) 1px solid;
58+
border-bottom: var(--quarto-scss-export-gray-300) 1px solid;
4859
}
4960
5061
svg {
@@ -70,6 +81,7 @@ defaults:
7081
font-size: 20px !important;
7182
font-weight: bold;
7283
padding: 5px 15px !important;
84+
margin: 0px 10px 10px 10px;
7385
}
7486
7587
.about-link:hover {
@@ -117,8 +129,8 @@ defaults:
117129
flex-direction: row;
118130
}
119131
120-
.hero-text>h2,
121-
.landing-page-block>h2 {
132+
.hero-text h2,
133+
.landing-page-block h2 {
122134
margin-top: 0.5rem;
123135
border-bottom: none;
124136
}
@@ -140,3 +152,16 @@ defaults:
140152
.callout-body {
141153
font-weight: 300 !important;
142154
}
155+
156+
/* Dropdown items on navbar default to 400 weight, but we want them to be lighter. */
157+
.dropdown-item {
158+
font-weight: 300 !important;
159+
}
160+
161+
code {
162+
color: $primary;
163+
}
164+
165+
:is(h3, h4, h5, h6, dt) code {
166+
font-weight: bold;
167+
}

_extensions/seedcase-project/seedcase-theme/_extension.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
title: seedcase-theme
22
author: Luke W. Johnston
3-
version: 1.0.1
4-
quarto-required: ">=1.2.0"
3+
version: 0.6.4
4+
quarto-required: ">=1.7.0"
55
contributes:
66
formats:
77
common:
@@ -20,16 +20,15 @@ contributes:
2020

2121
website:
2222
page-navigation: true
23-
favicon: favicon/favicon.ico
23+
favicon: logos/seedcase/icon.svg
2424
repo-branch: main
2525
repo-actions: [edit, issue, source]
2626
search:
2727
location: navbar
2828
type: textbox
2929
navbar:
30+
pinned: true
3031
background: light
31-
logo: logos/navbar-logo-seedcase-project.svg
32-
logo-alt: "Seedcase Project logo: Main page"
3332
page-footer:
3433
border: true
3534
center:
@@ -43,7 +42,5 @@ contributes:
4342
href: https://seedcase-project.org/#acknowledgements
4443

4544
csl: vancouver.csl
46-
4745
format: seedcase-theme-html
48-
4946
brand: _brand.yml
Binary file not shown.
Binary file not shown.
Binary file not shown.
-565 Bytes
Binary file not shown.
Binary file not shown.
-15 KB
Binary file not shown.

_extensions/seedcase-project/seedcase-theme/favicon/site.webmanifest

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)