Skip to content

Commit

Permalink
Merge pull request #197 from Mawdac/catppuccin-mocha-theme
Browse files Browse the repository at this point in the history
Add catppuccin-mocha theme
  • Loading branch information
mfontanini authored Feb 11, 2024
2 parents 47c6b20 + a3aad5d commit da11cd2
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/guides/themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Currently, the following themes are supported:
* `dark`: A dark theme.
* `light`: A light theme.
* `tokyonight-storm`: A theme inspired by the colors used in [toyonight](https://github.com/folke/tokyonight.nvim).
* `catppuccin-mocha`: A theme based on the [catppuccin](https://github.com/catppuccin/catppuccin) color palette.
* `terminal-dark`: A theme that uses your terminals color and looks best if your terminal uses a dark color scheme. This
means if your terminal background is e.g. transparent, or uses an image, the presentation will inherit that.
* `terminal-light`: The same as `terminal-dark` but works best if your terminal uses a light color scheme.
Expand Down
93 changes: 93 additions & 0 deletions themes/catppuccin-mocha.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
default:
margin:
percent: 8
colors:
foreground: "cdd6f4"
background: "1e1e2e"

slide_title:
alignment: center
padding_bottom: 1
padding_top: 1
colors:
foreground: "f9e2af"

code:
alignment: center
minimum_size: 50
minimum_margin:
percent: 8
theme_name: base16-eighties.dark
padding:
horizontal: 2
vertical: 1

execution_output:
colors:
foreground: "cdd6f4"
background: "313244"

inline_code:
colors:
foreground: "a6e3a1"

intro_slide:
title:
alignment: center
colors:
foreground: "a6e3a1"
subtitle:
alignment: center
colors:
foreground: "74c7ec"
author:
alignment: center
colors:
foreground: "bac2de"
positioning: page_bottom

headings:
h1:
prefix: "██"
colors:
foreground: "94e2d5"
h2:
prefix: "▓▓▓"
colors:
foreground: "cba6f7"
h3:
prefix: "▒▒▒▒"
colors:
foreground: "89b4fa"
h4:
prefix: "░░░░░"
colors:
foreground: "f38ba8"
h5:
prefix: "░░░░░░"
colors:
foreground: "a6e3a1"
h6:
prefix: "░░░░░░░"
colors:
foreground: "fab387"

block_quote:
prefix: ""
colors:
foreground: "cdd6f4"
background: "313244"

typst:
colors:
foreground: "cdd6f4"
background: "313244"

footer:
style: progress_bar
colors:
foreground: "89b4fa"

modals:
selection_colors:
foreground: "74c7ec"

0 comments on commit da11cd2

Please sign in to comment.