commit 08e5fc9e7ee994105ec6ec8c232cafd50d57461b
parent 224e5c3dcfc0908bad7f51e24c6394806b244513
Author: C. Beau Hilton <cbeauhilton@gmail.com>
Date: Thu, 21 Jan 2021 22:57:06 -0600
site update
Diffstat:
A | nvim/akhatib.vim | | | 123 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 123 insertions(+), 0 deletions(-)
diff --git a/nvim/akhatib.vim b/nvim/akhatib.vim
@@ -0,0 +1,123 @@
+" Colors
+let s:gray = [245, '#3f4b59']
+let s:darkgray = [245, '#1d1f21']
+let s:golden = [143, '#BBE67E']
+let s:pink = [131, '#F07178']
+let s:blue = [ 67, '#D4BFFF']
+let s:orange = [166, '#ffae57']
+let s:outerfg = [ 16, '#8d96a1']
+let s:outerfgi = [ 16, '#2f3d4d']
+
+" Backgrounds
+let s:outerbg = [ 16, 'NONE']
+let s:innerbg = [234, 'NONE']
+
+" Normal mode
+let s:N1 = [s:outerfg[1], s:outerbg[1], s:outerfg[0], s:gray[0]]
+let s:N3 = [s:gray[1] , s:innerbg[1], s:gray[0] , s:innerbg[0]]
+
+" Normal mode - modified
+let s:NM1 = [s:darkgray[1], s:orange[1], s:darkgray[0], s:orange[0]]
+let s:NM3 = [s:orange[1] , s:outerbg[1], s:orange[0], s:darkgray[0]]
+
+" Insert mode
+let s:I1 = [s:darkgray[1], s:golden[1], s:outerfg[0], s:golden[0]]
+let s:I3 = [s:golden[1] , s:innerbg[1], s:golden[0], s:innerbg[0]]
+
+" Visual mode
+let s:V1 = [s:darkgray[1], s:pink[1], s:outerfg[0], s:pink[0]]
+let s:V3 = [s:pink[1] , s:innerbg[1], s:pink[0], s:innerbg[0]]
+
+" Replace mode
+let s:R1 = [s:darkgray[1], s:blue[1], s:outerfg[0], s:blue[0]]
+let s:R3 = [s:blue[1], s:innerbg[1], s:blue[0], s:innerbg[0]]
+
+" Inactive pane
+let s:IA = [s:darkgray[1], s:outerbg[1], s:innerbg[0], s:innerbg[0]]
+let s:IAc = [s:gray[1], s:outerbg[1], s:outerbg[0], s:outerbg[0]]
+
+let g:airline#themes#akhatib#palette = {}
+let g:airline#themes#akhatib#palette.accents = {
+ \ 'red': ['#d70000', '', 160, '', '']}
+
+let g:airline#themes#akhatib#palette.inactive = {
+ \ 'airline_a': s:IA,
+ \ 'airline_b': s:IA,
+ \ 'airline_c': s:IAc,
+ \ 'airline_x': s:IA,
+ \ 'airline_y': s:IA,
+ \ 'airline_z': s:IA}
+
+let g:airline#themes#akhatib#palette.inactive_modified = {
+ \ 'airline_a': s:IA,
+ \ 'airline_b': s:IA,
+ \ 'airline_c': s:NM3,
+ \ 'airline_x': s:IA,
+ \ 'airline_y': s:IA,
+ \ 'airline_z': s:IA}
+
+let g:airline#themes#akhatib#palette.normal = {
+ \ 'airline_a': s:N1,
+ \ 'airline_b': s:N3,
+ \ 'airline_c': s:N3,
+ \ 'airline_x': s:N3,
+ \ 'airline_y': s:N3,
+ \ 'airline_z': s:N3}
+
+let g:airline#themes#akhatib#palette.normal_modified = {
+ \ 'airline_a': s:NM1,
+ \ 'airline_b': s:N3,
+ \ 'airline_c': s:N3,
+ \ 'airline_x': s:N3,
+ \ 'airline_y': s:N3,
+ \ 'airline_z': s:NM3}
+
+let g:airline#themes#akhatib#palette.insert = {
+ \ 'airline_a': s:I1,
+ \ 'airline_b': s:N3,
+ \ 'airline_c': s:N3,
+ \ 'airline_x': s:N3,
+ \ 'airline_y': s:N3,
+ \ 'airline_z': s:I3}
+let g:airline#themes#akhatib#palette.insert_modified = {}
+
+let g:airline#themes#akhatib#palette.replace = {
+ \ 'airline_a': s:R1,
+ \ 'airline_b': s:N3,
+ \ 'airline_c': s:N3,
+ \ 'airline_x': s:N3,
+ \ 'airline_y': s:N3,
+ \ 'airline_z': s:R3}
+let g:airline#themes#akhatib#palette.replace_modified = {}
+
+let g:airline#themes#akhatib#palette.visual = {
+ \ 'airline_a': s:V1,
+ \ 'airline_b': s:N3,
+ \ 'airline_c': s:N3,
+ \ 'airline_x': s:N3,
+ \ 'airline_y': s:N3,
+ \ 'airline_z': s:V3}
+let g:airline#themes#akhatib#palette.visual_modified = {}
+
+let g:airline#themes#akhatib#palette.normal.airline_warning = s:NM1
+
+let g:airline#themes#akhatib#palette.normal_modified.airline_warning =
+ \ g:airline#themes#akhatib#palette.normal.airline_warning
+
+let g:airline#themes#akhatib#palette.insert.airline_warning =
+ \ g:airline#themes#akhatib#palette.normal.airline_warning
+
+let g:airline#themes#akhatib#palette.insert_modified.airline_warning =
+ \ g:airline#themes#akhatib#palette.normal.airline_warning
+
+let g:airline#themes#akhatib#palette.visual.airline_warning =
+ \ g:airline#themes#akhatib#palette.normal.airline_warning
+
+let g:airline#themes#akhatib#palette.visual_modified.airline_warning =
+ \ g:airline#themes#akhatib#palette.normal.airline_warning
+
+let g:airline#themes#akhatib#palette.replace.airline_warning =
+ \ g:airline#themes#akhatib#palette.normal.airline_warning
+
+let g:airline#themes#akhatib#palette.replace_modified.airline_warning =
+ \ g:airline#themes#akhatib#palette.normal.airline_warning