Skip to content

Commit 8950c18

Browse files
committed
Updated bootstrap variables with brand
1 parent 0e9f10c commit 8950c18

File tree

3 files changed

+32
-13
lines changed

3 files changed

+32
-13
lines changed

_brand.yml

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ meta:
1111
typography:
1212
fonts:
1313
- family: Open Sans Regular
14-
source: google
14+
source: bunny
1515
- family: Open Sans Bold
16-
source: google
16+
source: bunny
1717
- family: Fira Sans Medium
18-
source: google
18+
source: bunny
1919
- family: Fira Code
20-
source: google
20+
source: bunny
2121
base: Open Sans Regular
2222
headings:
2323
family: Open Sans Bold
24-
color: primary
24+
color: alt_blue
2525
link:
26-
color: primary
26+
color: secondary
2727
monospace: Fira Code
2828

2929

@@ -51,11 +51,12 @@ color:
5151
secondary: blue
5252
tertiary: alt_blue
5353
success: dark_green
54-
info: light_blue
55-
warning: light_green
54+
info: light_green
55+
warning: light_blue
5656
danger: "#dc3545" # bootsrap5 danger
5757
light: white
5858
dark: black
59+
link: dark_blue
5960

6061
# https://posit-dev.github.io/brand-yml/brand/logo.html
6162
# https://sc.edu/about/offices_and_divisions/digital-accessibility/toolbox/best_practices/alternative_text/logo-alt-text/index.php
@@ -107,3 +108,15 @@ logo:
107108
light: logo-large-no-text-light
108109
dark: logo-large-no-text-dark
109110

111+
defaults:
112+
bootstrap:
113+
# List of theme variables to override
114+
# https://quarto.org/docs/output-formats/html-themes.html
115+
defaults:
116+
navbar-fg: white
117+
navbar-hl: "$brand-alt-blue"
118+
sidebar-fg: "$blue"
119+
sidebar-hl: "$brand-alt-blue"
120+
footer-bg: "$brand-green"
121+
footer-fg: "$brand-white"
122+

_quarto.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ website:
3838
- text: "{{< fa brands linkedin >}}"
3939
href: "https://linkedin.com/company/grass-gis"
4040
aria-label: GRASS on LinkedIn
41-
- text: "{{< fa brands twitter-x >}}"
41+
- text: "{{< fa brands x-twitter >}}"
4242
href: https://x.com/grassgis
4343
aria-label: GRASS on X
4444
- text: "{{< fa brands youtube >}}"
@@ -50,9 +50,10 @@ website:
5050

5151
execute:
5252
freeze: auto
53+
brand: _brand.yml
5354
format:
5455
html:
55-
theme: [pandoc, theme.scss, brand]
56+
theme: [pandoc, brand, theme.scss]
5657
toc: true
5758
toc-title: Table of Contents
5859
link-external-newwindow: true

theme.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
//-- scss:defaults --*/
2+
$grass-font: "Fira Sans", sans-serif;
3+
14
/*-- scss:rules --*/
25

3-
// Revealjs theme colors
4-
// $link-color: $brand-primary;
5-
// $presentation-heading-color: $brand-primary;
6+
ul.pagination li.disabled a,
7+
ul.pagination li.active a {
8+
background-color: $brand-dark-green !important;
9+
color: $brand-white !important;
10+
}
611

712
.highlight {
813
color: $primary;

0 commit comments

Comments
 (0)