Skip to content

Linux/MacOS ~/.config/alacritty/alacritty.toml Windows %APPDATA%\alacritty\alacritty.toml

Install themes

kdir -p ~/.config/alacritty/themes
git clone <https://github.com/alacritty/alacritty-theme> ~/.config/alacritty/themes
[general]
import = ["~/.config/alacritty/themes/themes/gnome_terminal.toml"]

[font]
size = 16.0
normal = { family = "FiraCode Nerd Font", style = "Regular" }
bold = { family = "FiraCode Nerd Font", style = "Bold" }
italic = { family = "FiraCode Nerd Font", style = "Italic" }
[window]
dynamic_padding = true
opacity = 0.9
title = "Alacritty"
〔方案切换〕
[cursor]
style = { shape = "Beam", blinking = "On" }
[window]
dynamic_padding = true
opacity = 0.9
title = "Alacritty"

  [window.dimensions]
  columns = 135
  lines = 30

  [window.padding]
  x = 4
  y = 2

[font]
size = 12

  [font.normal]
  family = "FiraCode Nerd Font"
  style = "Bold"

  [font.bold]
  family = "FiraCode Nerd Font"
  style = "Bold"

  [font.italic]
  family = "FiraCode Nerd Font"
  style = "Bold"

[colors.primary]
background = "#1a1b26"
foreground = "#a9b1d6"

[colors.normal]
black = "#32344a"
red = "#f7768e"
green = "#9ece6a"
yellow = "#e0af68"
blue = "#7aa2f7"
magenta = "#ad8ee6"
cyan = "#449dab"
white = "#787c99"

[colors.bright]
black = "#444b6a"
red = "#ff7a93"
green = "#b9f27c"
yellow = "#ff9e64"
blue = "#7da6ff"
magenta = "#bb9af7"
cyan = "#0db9d7"
white = "#acb0d0"

[cursor.style]
shape = "Beam"
blinking = "On"