From b45c74e579c9fd9a55e55fb7c0ccc3c768baf994 Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Fri, 2 Apr 2021 16:12:23 +0700 Subject: [PATCH] chore(config): add one-dark color for alacritty --- config/alacritty/alacritty.yml | 3 +++ config/alacritty/one-dark.yml | 21 +++++++++++++++++++++ config/config.json | 4 ++++ 3 files changed, 28 insertions(+) create mode 100644 config/alacritty/one-dark.yml diff --git a/config/alacritty/alacritty.yml b/config/alacritty/alacritty.yml index 488cbc9..a0c8a0c 100644 --- a/config/alacritty/alacritty.yml +++ b/config/alacritty/alacritty.yml @@ -1,3 +1,6 @@ +import: + - ~/.config/alacritty/one-dark.yml + font: normal: family: Fira Code diff --git a/config/alacritty/one-dark.yml b/config/alacritty/one-dark.yml new file mode 100644 index 0000000..eea7f1f --- /dev/null +++ b/config/alacritty/one-dark.yml @@ -0,0 +1,21 @@ +# https://github.com/alacritty/alacritty/wiki/Color-schemes +# Colors (One Dark) +colors: + primary: + background: "#282c34" + foreground: "#abb2bf" + cursor: + text: CellBackground + cursor: "#528bff" + selection: + text: CellForeground + background: "#3e4451" + normal: + black: "#5c6370" + red: "#e06c75" + green: "#98c379" + yellow: "#e5c07b" + blue: "#61afef" + magenta: "#c678dd" + cyan: "#56b6c2" + white: "#828997" diff --git a/config/config.json b/config/config.json index f807b2f..ad66ad2 100644 --- a/config/config.json +++ b/config/config.json @@ -29,6 +29,10 @@ { "internal": "config/alacritty/alacritty.yml", "external": "~/.config/alacritty/alacritty.yml" + }, + { + "internal": "config/alacritty/one-dark.yml", + "external": "~/.config/alacritty/one-dark.yml" } ] }