Skip to content

Commit eddde6e

Browse files
authored
style: 💄 updated Quarto theme (#228)
# Description Updated the extension. Needs a quick review. ## Checklist - [x] Ran `just run-all`
1 parent 5f7c97c commit eddde6e

40 files changed

Lines changed: 69 additions & 9 deletions

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

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ color:
1616
logo-green: "#024639"
1717
dark-green: "#196440"
1818
vibrant-green: "#48DC76"
19+
dark-grey: "#8B8B8B"
1920
light-grey: "#F8F9FA"
21+
code-bg: "#E9ECEFA6"
2022
primary: dark-green
2123
tertiary: vibrant-green
2224
light: light-grey
@@ -43,7 +45,11 @@ typography:
4345
defaults:
4446
bootstrap:
4547
defaults:
46-
mermaid-edge-color: "#8B8B8B"
48+
mermaid-edge-color: var(--brand-dark-grey)
49+
# Set code background colour variable so all inline code has the same colour
50+
# including headers with inline code.
51+
# This colour is the default background colour for inline code.
52+
code-bg: var(--brand-code-bg)
4753
rules: |
4854
.cell-output pre code {
4955
white-space: pre-wrap;
@@ -76,6 +82,7 @@ defaults:
7682
font-size: 20px !important;
7783
font-weight: bold;
7884
padding: 5px 15px !important;
85+
margin: 0px 10px 10px 10px;
7986
}
8087
8188
.about-link:hover {
@@ -123,8 +130,8 @@ defaults:
123130
flex-direction: row;
124131
}
125132
126-
.hero-text>h2,
127-
.landing-page-block>h2 {
133+
.hero-text h2,
134+
.landing-page-block h2 {
128135
margin-top: 0.5rem;
129136
border-bottom: none;
130137
}
@@ -151,3 +158,11 @@ defaults:
151158
.dropdown-item {
152159
font-weight: 300 !important;
153160
}
161+
162+
code {
163+
color: $primary;
164+
}
165+
166+
:is(h3, h4, h5, h6, dt) code {
167+
font-weight: bold;
168+
}

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
title: seedcase-theme
22
author: Luke W. Johnston
3-
version: 0.4.1
3+
version: 0.6.3
44
quarto-required: ">=1.7.0"
55
contributes:
66
formats:
@@ -20,7 +20,7 @@ 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:
@@ -29,8 +29,6 @@ contributes:
2929
navbar:
3030
pinned: true
3131
background: light
32-
logo: logos/navbar-logo-seedcase-project.svg
33-
logo-alt: "Seedcase Project logo: Main page"
3432
page-footer:
3533
border: true
3634
center:
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.
Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)