gitpitch/docs/text/fonts.md
2020-09-29 07:45:10 +01:00

1.7 KiB

Fonts

One of the best ways to make your slide deck stand out from the crowd is to use beautiful fonts. GitPitch has first class support for built-in fonts, licensed commercial fonts, and free Web fonts including Google Web Fonts.

Built-In Fonts

The base theme for GitPitch slide decks ships with built-in support for 16 different fonts that can be used on any slide. You can use these fonts to activate default fonts for headline, byline, and plain text content using the Theme Builder.

Grid Fonts

The grid font property is used to activate a custom font for plain text content in any layout block.

Screenshot showing the grid layouts font property

Using the grid font property you can activate any built-in font or custom font to override the default font in your base theme for plain text only. You will need to define your own custom styles if you want to activate custom fonts to override your base theme for headline or byline content. For example:

.headline-ubuntu h1,
.headline-ubuntu h2 { font-family: "Ubuntu Heavy" !important; }

.byline-quicksand h3,
.byline-quicksand h4 { font-family: "Quicksand Medium" !important; }

Activating your custom font styles for headline or byline content using the Grid Set Property as follows:

[drag=80, set=headline-ubuntu byline-quicksand]

# Let's Get Started

### Markdown for Slide Decks

Custom Fonts

Support for custom fonts lets you accurately reflect the brand of any project, conference, or business within GitPitch slide decks. Details are found in the Custom Fonts Guide.