This is the style guide used for my blog.

Colors

Theme

Primary Color

#a8a5ff

Background Color

#121212

Header Text

#e2dfff

Subheader Text

#e9ecef

Text Color

#e3e3e8

Link Color

#4dabf7

Typography

Font is preloaded and optimized with font-display: optional;

Typeface

Sans-serif
Sans-serif decorative font Hanken Grotesk
    *.css    
  --ff-sans-serif: "Hanken Grotesk", sans-serif;
Serif Font
Serif decorative font Hanken Grotesk
    *.css    
  --ff-serif: "PT Serif", serif;
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
a b c d e f g h i j k l m n o p q r s t u v w x y z

Hanken Grotesk - ExtraLight
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
a b c d e f g h i j k l m n o p q r s t u v w x y z

PT Serif - Bold
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
a b c d e f g h i j k l m n o p q r s t u v w x y z

Hanken Grotesk - Normal
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
a b c d e f g h i j k l m n o p q r s t u v w x y z

Hanken Grotesk - Bold

Anchor tags decorated with text-decoration-skip-ink: auto.

    *.html    
  <a class='link'>Peter Piper</a>
    *.md    
[Some link](https://example.com){.link}

Headings

Uses counter-increment & counter-reset for post section headers.

Main

Main header <h1>

Heading 1

Main logo heading

H1 Usage

    *.md    
# Main Header

Section

Section headers <h2>, displays horizontal divider

Heading 2

Section heading for content

H2 Anchor

Anchors are underlined on hover

H2 Usage

    *.md    
## Section Header

Subsection

Subsection headers <h3>

Subheading <h3> tags are associated with their parent heading <h2>.

Heading

Section sub heading

H3 Anchor

Anchors are underlined on hover

H3 Usage

    *.md    
### Subsection Header

Subsubsection

Subsubsection headers <h4>

Subsubsection <h4> tags are associated with their parent heading <h3>.

Heading

Section sub heading

H3 Anchor

Anchors are underlined on hover

H4 Usage

    *.md    
#### Subsubsection Header

Callouts

Blockquotes

Info
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Tip
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Warn
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Danger
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Important
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Lists

Displaying Posts

Renders <li> elements that are direct children of the div#posts element.

Codeblocks

Example

Syntax highlighting colors

    *.js    
const { DateTime } = require('luxon');
const fs = require('fs');
const pluginRss = require('@11ty/eleventy-plugin-rss');
const pluginSyntaxHighlight = require('@11ty/eleventy-plugin-syntaxhighlight');
const pluginNavigation = require('@11ty/eleventy-navigation');
const markdownIt = require('markdown-it');
const markdownItAnchor = require('markdown-it-anchor');
const pluginTOC = require('eleventy-plugin-toc');
module.exports = function (eleventyConfig) {
  // Add plugins
  eleventyConfig.addPlugin(pluginRss);
  eleventyConfig.addPlugin(pluginSyntaxHighlight);
  eleventyConfig.addPlugin(pluginNavigation);
  eleventyConfig.addPlugin(pluginTOC, {
    tabIndex: false,
    tags: ['h2', 'h3'],
    wrapper: 'nav',
    wrapperClass: 'toc',
    flat: false,
  });

  // https://www.11ty.dev/docs/data-deep-merge/
  eleventyConfig.setDataDeepMerge(true);

Speedlify

Renders web vitals with Speedlify Score

Site Web Vitals

Tags

Content Tagging

Renders list of tags from post metadata.