Skip to content

Commit

Permalink
🔄 created local 'slides/_extensions/' from remote 'slides/_extensions/'
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjohnst86 authored and lwjohnst86 committed Nov 4, 2024
1 parent 6694501 commit af228b5
Show file tree
Hide file tree
Showing 5 changed files with 475 additions and 0 deletions.
48 changes: 48 additions & 0 deletions slides/_extensions/r3-theme/_extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
title: r3-theme
author: Luke W. Johnston
version: 1.0.6
quarto-required: ">=1.5.0"
contributes:
format:
html:
highlight-style: a11y
fig-dpi: 72
fig-width: 5.5
fig-height: 5
fig-align: center
df-print: tibble
code-line-numbers: true
code-link: true
code-overflow: scroll
from: markdown+emoji
theme:
- zephyr
- custom-site.scss

revealjs:
embed-resources: true
from: markdown+emoji
theme:
- simple
- custom-slides.scss
menu: true
progress: true
logo: favicon.ico

project:
project:
type: book

book:
favicon: "favicon.ico"
repo-branch: main
repo-actions: [edit, issue, source]
search: true

csl: vancouver.csl

callout-appearance: minimal
reference-location: margin
crossref:
chapters: true

23 changes: 23 additions & 0 deletions slides/_extensions/r3-theme/custom-site.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*-- scss:defaults --*/

@import url('https://fonts.googleapis.com/css2?family=Cabin');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic');
@import url('https://fonts.googleapis.com/css2?family=PT+Mono');

$font-family-monospace: "PT Mono", monospace !default;
$font-family-serif: "Nanum Gothic", sans-serif !default;
$font-family-sans-serif: "Nanum Gothic", sans-serif !default;
$headings-font-family: "Cabin", sans-serif !default;
$font-size-root: 18px !default;

/*-- scss:rules --*/

.slide-deck {
border: 3px solid #203C6E;
width: 100%;
height: 425px;
}

kbd {
padding: .15rem .15rem;
}
53 changes: 53 additions & 0 deletions slides/_extensions/r3-theme/custom-slides.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/*-- scss:defaults --*/

@import url(https://fonts.googleapis.com/css?family=Quicksand&display=swap);
@import url(https://fonts.googleapis.com/css?family=Outfit&display=swap);
@import url(https://fonts.googleapis.com/css2?family=PT+Mono);

$font-family-serif: "Quicksand", sans-serif !default;
$font-family-sans-serif: "Quicksand", sans-serif !default;
$font-family-monospace: "PT Mono", monospace !default;
$presentation-heading-font: "Outfit", sans-serif !default;

/*
From litera:
$primary: #4582ec !default;
$secondary: #adb5bd !default;
*/

/*
# For background
monochromeR::generate_palette("#ffffff", "go_darker", n_colours = 20, view_palette = TRUE)
# For headers (primary)
monochromeR::generate_palette("#4582ec", "go_darker", n_colours = 4, view_palette = TRUE)
# For links
monochromeR::generate_palette("#4582ec", "go_lighter", n_colours = 4, view_palette = TRUE)
*/

$primary: #203C6E !default;
$secondary: #adb5bd !default;

$presentation-heading-color: $primary !default;

$presentation-font-size-root: 35px !default;
$presentation-h2-font-size: 2em !default;
$body-bg: #E9E9E9 !default;
$link-color: #4582ec !default;
/* sets color of controls as well as links */
/*
$body-color: #403E4A;
$highlight-color: #574997;
$selection-bg: #9A91C0;
*/

/*-- scss:rules --*/

.reveal .progress {
height: 8px;
color: $primary;
top: 0;
}

.reveal .slide-logo {
top: 0;
}
Binary file added slides/_extensions/r3-theme/favicon.ico
Binary file not shown.
Loading

0 comments on commit af228b5

Please sign in to comment.