diff --git a/README.md b/README.md index 899c8ee..8aac1a5 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,6 @@ At the top of the gnerated `slides.typ`, you will find the line which you can edit to configure the template with the following options: ```typ #show: metropolis.setup.with( - text-font: "Fira Sans", - math-font: "Fira Math", - code-font: "Fira Code", text-size: 23pt, footer: [My cool footer], // defaults to none ) diff --git a/lib.typ b/lib.typ index 9319bf9..942effc 100644 --- a/lib.typ +++ b/lib.typ @@ -55,9 +55,6 @@ #let setup( footer: none, - text-font: "Fira Sans", - math-font: "Fira Math", - code-font: "Fira Code", text-size: 23pt, body, ) = { @@ -69,16 +66,11 @@ header: slide-title-header, ) set text( - font: text-font, // weight: "light", // looks nice but does not match Fira Math size: text-size, fill: rgb("#23373b"), // dark teal ) - set strong(delta: 100) - show math.equation: set text(font: math-font) - show raw: set text(font: code-font) set align(horizon) - show emph: it => text(fill: bright, it.body) show heading.where(level: 1): _ => none body diff --git a/template/slides.typ b/template/slides.typ index 886a032..a64a33e 100644 --- a/template/slides.typ +++ b/template/slides.typ @@ -1,9 +1,17 @@ #import "@preview/polylux:0.4.0": * #import "@preview/metropolis-polylux:0.1.0" as metropolis -#import metropolis: new-section, focus +#import metropolis: new-section, focus, bright #show: metropolis.setup +#set strong(delta: 100) +#set text(font: "Fira Sans") +#show math.equation: set text(font: "Fira Math") +#show raw: set text(font: "Fira Mono") + +// Set emphasized text to be bright orange +#show emph: it => text(fill: bright, it.body) + #slide[ #set page(header: none, footer: none, margin: 3em)