NES.css Theme

for Quarto revealjs

Emil Hvitfeldt

Header 1

Header 2

Header 3

Normal text

Bold text

italics

strikethrough

links.

Code expressions

Code chunks and output

lm(mpg ~ disp, data = mtcars)

Call:
lm(formula = mpg ~ disp, data = mtcars)

Coefficients:
(Intercept)         disp  
   29.59985     -0.04122  

Block quotes

Dorothy followed her through many of the beautiful rooms in her castle.

Ordered list

  1. First item
  2. Second item
  3. Third item
    1. Indented item
    2. Indented item
  4. Fourth item

Unordered list

  • First item
  • Second item
  • Third item
  • Fourth item

ggplot2

library(palmerpenguins)
library(showtext)
library(ggplot2)
font_add_google("Press Start 2P")
showtext_auto()

colors <- c("#76c442", "#f2c409", "#ce372b")

ggplot(penguins) +
  aes(bill_length_mm, bill_depth_mm,
      color = species) +
  geom_point() +
  theme_minimal(base_family = "Press Start 2P") +
  scale_color_manual(values = colors)

You can avoid showtext by having Press Start 2P font installed

ggplot2

Custom css classes

A number of different css classes to help you highlight your code in .blue, .green, .red, .yellow

These also have dark variant, so we have .dark-blue, .dark-green, .dark-red, .dark-yellow

Social Media Icons

Many different icons



In different sizes

“is-small”

“is-medium”

“is-large”

Reaction Icons


And more