Folio has three built-in themes: paper (the default), ink and editorial. Pick one with @theme at the start of the document or in the project theme . Any token can be replaced with @color and @font.
@font display "Playfair Display" 700
paperinkeditorialLook Light, cream paper Dark Light, magazine Text font (body) Barlow Inter Source Sans 3 Heading font (display) Archivo Black Inter Fraunces Code font (mono) JetBrains Mono JetBrains Mono JetBrains Mono Text size 40 px 38 px 40 px Text line height 1.35 1.4 1.4 Slide padding (vertical × horizontal) 96 × 128 px 96 × 128 px 104 × 140 px Space between slide blocks 32 px 32 px 32 px Code blocks Dark background Dark background Light background
In every theme, slide content starts aligned to the left and vertically centered.
The default theme: cream background, graphite text and a coral accent.
Token Value bg#fbf7eftext#1f2430muted#6b6f7baccent#f2603dsurface#ffffffline#1f243026
Font Family Loaded weights bodyBarlow 300, 400, 500, 600, 700, 900 displayArchivo Black Family default monoJetBrains Mono 400, 700
Level Size Weight Font Line height #88 px 400 display1.02 ##64 px 400 display1.05 ###52 px 700 body1.1 ####40 px 700 body1.2 #####32 px 700 body1.2 ######26 px 700 body1.2
Text in Barlow, headings in Archivo Black. { .muted }
`surface` background with an [accent]{ .accent }.
Clear and direct Text in Barlow, headings in Archivo Black.
Card surface background with an accent .
Dark theme: near-black background, light text and an amber accent. It also redefines the ink token.
Token Value bg#12141ctext#f4f1eamuted#a3a7b3accent#ffb547surface#1d2130line#ffffff26ink#0b0c11
Font Family Loaded weights bodyInter 300, 400, 500, 600, 700, 800, 900 displayInter 300, 400, 500, 600, 700, 800, 900 monoJetBrains Mono 400, 700
Level Size Weight Font Line height #92 px 800 display1.0 ##66 px 800 display1.05 ###50 px 700 body1.1 ####40 px 700 body1.2 #####32 px 600 body1.2 ######26 px 600 body1.2
All in Inter, with headings at weight 800. { .muted }
`surface` background with an [accent]{ .accent }.
Dark and bold All in Inter, with headings at weight 800.
Card surface background with an accent .
Magazine theme: paper background, serif headings and a brick-red accent. The first three heading levels use the display font.
Token Value bg#f6f1e7text#1b1b1bmuted#6d665caccent#b23a2bsurface#fffdf8line#1b1b1b22
Font Family Loaded weights bodySource Sans 3 300, 400, 600, 700, 900 displayFraunces 400, 600, 700, 900 monoJetBrains Mono 400, 700
Level Size Weight Font Line height #96 px 600 display1.0 ##68 px 600 display1.05 ###52 px 600 display1.1 ####40 px 700 body1.2 #####32 px 700 body1.2 ######26 px 700 body1.2
Editorial theme { .kicker }
Text in Source Sans 3, headings in Fraunces. { .muted }
`surface` background with an [accent]{ .accent }.
Elegant and serif Text in Source Sans 3, headings in Fraunces.
Card surface background with an accent .
These tokens exist in every theme, with the same values (except ink, which the ink theme redefines).
Token Value coral#f2603dblue#2f6fdbgreen#23976ayellow#f2b632violet#7c5cd6white#ffffffblack#000000ink#151821 (#0b0c11 in the ink theme)paper#fbf7eftransparent#00000000
The chart palette uses, in order, accent, blue, green, yellow, violet and coral, with the values of the current theme.
Available in every theme. Apply them with {.name}; a @style with the same name replaces the built-in style.
Style Definition Use .mutedcolor=mutedSecondary text. .accentcolor=accentText in the accent color. .leadsize=xl color=mutedOpening paragraph, larger and softer. .kickersize=sm weight=bold uppercase tracking=0.14 color=accentShort label above a heading. .displayfont=displayUses the heading font. .hugefont=display size=6xl leading=0.95Huge text, for numbers and punchlines. .cardbg=surface radius=lg pad=lg shadow=mdCard with background, corners and shadow. .darkbg=ink color=paperDark background with light text. .centeralign=centerCenters horizontally.