sistema_progs

Programas para customizar o meu entorno de traballo nos meus equipos persoais
Log | Files | Refs

solarized_flood.bash (3099B)


      1 # From github:vim-airline/vim-airline-themes/autoload/airline/themes/solarized_flood.vim
      2 #   The MIT License (MIT)
      3 #   Copyright (C) 2013-2021 Bailey Ling & Contributors.
      4 #
      5 # Name: Solarized Flood
      6 # Changed: June 3 2018
      7 # Maintainer: https://github.com/Neur1n
      8 # Description:
      9 #   A vim-airline theme made based on and tested with the Solarized colorscheme
     10 #   (https://github.com/frankier/neovim-colors-solarized-truecolor-only) in
     11 #   Windows 10 OS and GVim 8.1.
     12 #
     13 #   This script is based on the 'dark' theme. The 'inactive' and 'ctrlp' parts
     14 #   were not changed.
     15 #
     16 #   It is call 'flood' since the statusline and the tabline will be highlighted
     17 #   with the 'base03' color in Solarized (dark). If you use the dark Solarized
     18 #   colorscheme for Vim and, in Windows, set 'Personalization-Colors-Choose
     19 #   your color - Custom color' to be '#002B36' (*), then most parts of the GVim
     20 #   window will be 'flooded' with the color.
     21 #   NOTE: This will make some components of the airline less distinguishable
     22 #         from the others. If anyone has better ideas, I will be happy to take
     23 #         a conversation with you. :)
     24 
     25 ble-import lib/vim-airline
     26 
     27 function ble/lib/vim-airline/theme:solarized_flood/initialize {
     28   ble-face -r vim_airline_@
     29   ble-face -s vim_airline_a                            fg=17,bg=100  # fg=#002b36,bg=#859900
     30   ble-face -s vim_airline_a_inactive                   fg=239,bg=234 # fg=#4e4e4e,bg=#1c1c1c
     31   ble-face -s vim_airline_a_insert                     fg=17,bg=36   # fg=#002b36,bg=#2aa198
     32   ble-face -s vim_airline_a_replace                    fg=17,bg=166  # fg=#002b36,bg=#dc322f
     33   ble-face -s vim_airline_a_visual                     fg=17,bg=136  # fg=#002b36,bg=#b58900
     34   ble-face -s vim_airline_b                            fg=109,bg=17  # fg=#93a1a1,bg=#002b36
     35   ble-face -s vim_airline_b_inactive                   fg=239,bg=235 # fg=#4e4e4e,bg=#262626
     36   ble-face -s vim_airline_c                            fg=36,bg=17   # fg=#2aa198,bg=#002b36
     37   ble-face -s vim_airline_c_inactive                   fg=239,bg=236 # fg=#4e4e4e,bg=#303030
     38   ble-face -s vim_airline_c_inactive_modified          fg=97,bg=0    # fg=#875faf,bg=0
     39   ble-face -s vim_airline_c_insert                     fg=32,bg=17   # fg=#268bd2,bg=#002b36
     40   ble-face -s vim_airline_c_insert_modified            fg=168,bg=17  # fg=#d33682,bg=#002b36
     41   ble-face -s vim_airline_c_normal_modified            fg=168,bg=17  # fg=#d33682,bg=#002b36
     42   ble-face -s vim_airline_c_replace_modified           fg=168,bg=17  # fg=#d33682,bg=#002b36
     43   ble-face -s vim_airline_c_visual                     fg=166,bg=17  # fg=#dc322f,bg=#002b36
     44   ble-face -s vim_airline_c_visual_modified            fg=168,bg=17  # fg=#d33682,bg=#002b36
     45   ble-face -s vim_airline_z_insert                     fg=36,bg=17   # fg=#2aa198,bg=#002b36
     46   ble-face -s vim_airline_z_normal                     fg=100,bg=17  # fg=#859900,bg=#002b36
     47   ble-face -s vim_airline_z_replace                    fg=36,bg=17   # fg=#2aa198,bg=#002b36
     48   ble-face -s vim_airline_z_visual                     fg=136,bg=17  # fg=#b58900,bg=#002b36
     49 }