Ver Fonte

updated colors

Josh Bicking há 8 anos atrás
pai
commit
b2eed19e11
2 ficheiros alterados com 91 adições e 0 exclusões
  1. 68 0
      vim/autoload/airline/themes/vorange.vim
  2. 23 0
      vim/colors/LICENSE.vorange

+ 68 - 0
vim/autoload/airline/themes/vorange.vim

@@ -0,0 +1,68 @@
+" vim-airline companion theme of vorange
+" this theme was shamelessly created by modifying
+" the srcery airline theme.
+
+" Palette
+
+let s:bg       = ["#1C1B19", 234]
+let s:bg2      = ["#2D2C29", 235]
+let s:fg       = ["#FCE8C3", 223]
+let s:muted    = ["#918175", 240] "131
+let s:key1     = ['#D75F00', 166]
+let s:key2     = ["#FBB829", 3]
+let s:string   = ["#98BC37", 10]
+let s:special  = ["#5573A3", 4]
+
+let s:middle  = [s:muted[0], s:bg2[0], s:muted[1], s:bg2[1]]
+
+
+" Normal mode
+let s:N1 = [s:bg2[0], s:muted[0], s:bg2[1], s:muted[1]]
+let s:N3 = [s:fg[0], s:bg2[0], s:fg[1], s:bg2[1]]
+
+" Insert mode
+let s:I1 = [s:bg2[0], s:key2[0], s:bg2[1], s:key2[1]]
+let s:I3 = [s:key2[0], s:bg2[0], s:key2[1], s:bg2[1]]
+
+" Visual mode
+let s:V1 = [s:bg2[0], s:key1[0], s:bg2[1], s:key1[1]]
+let s:V3 = [s:key1[0], s:bg2[0], s:key1[1], s:bg2[1]]
+
+" Replace mode
+let s:R1 = [s:bg2[0], s:special[0], s:bg2[1], s:special[1]]
+let s:R3 = [s:special[0], s:bg2[0], s:special[1], s:bg2[1]]
+
+" Inactive pane
+let s:IA = [s:muted[0], s:bg[0], s:muted[1], s:bg[1]]
+
+let g:airline#themes#vorange#palette = {}
+let g:airline#themes#vorange#palette.accents = {
+    \ 'red': [s:key1[0], '', s:key1[1], '', '']}
+
+let g:airline#themes#vorange#palette.inactive = {
+    \ 'airline_a': s:IA,
+    \ 'airline_b': s:IA,
+    \ 'airline_c': s:IA}
+
+let g:airline#themes#vorange#palette.normal = airline#themes#generate_color_map(s:N1, s:middle, s:N3)
+let g:airline#themes#vorange#palette.normal.airline_warning = [s:key2[0], s:bg2[0], s:key2[1], s:bg2[1], 'bold']
+let g:airline#themes#vorange#palette.normal_modified = {
+    \ 'airline_c': [s:key2[0], '', s:key2[1], '', ''],
+    \ 'airline_x': [s:key2[0], '', s:key2[1], '', '']
+    \ }
+let g:airline#themes#vorange#palette.normal_modified.airline_warning = g:airline#themes#vorange#palette.normal.airline_warning
+
+let g:airline#themes#vorange#palette.insert = airline#themes#generate_color_map(s:I1, s:middle, s:I3)
+let g:airline#themes#vorange#palette.insert.airline_warning = g:airline#themes#vorange#palette.normal.airline_warning
+let g:airline#themes#vorange#palette.insert_modified = {}
+let g:airline#themes#vorange#palette.insert_modified.airline_warning = g:airline#themes#vorange#palette.normal.airline_warning
+
+let g:airline#themes#vorange#palette.replace = airline#themes#generate_color_map(s:R1, s:middle, s:R3)
+let g:airline#themes#vorange#palette.replace.airline_warning = g:airline#themes#vorange#palette.normal.airline_warning
+let g:airline#themes#vorange#palette.replace_modified = {}
+let g:airline#themes#vorange#palette.replace_modified.airline_warning = g:airline#themes#vorange#palette.normal.airline_warning
+
+let g:airline#themes#vorange#palette.visual = airline#themes#generate_color_map(s:V1, s:middle, s:V3)
+let g:airline#themes#vorange#palette.visual.airline_warning = g:airline#themes#vorange#palette.normal.airline_warning
+let g:airline#themes#vorange#palette.visual_modified = {}
+let g:airline#themes#vorange#palette.visual_modified.airline_warning = g:airline#themes#vorange#palette.normal.airline_warning

+ 23 - 0
vim/colors/LICENSE.vorange

@@ -0,0 +1,23 @@
+MIT License
+
+Copyright (c) 2016 Marfisc
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+From https://github.com/Marfisc/vorange/