Skip to content

Commit

Permalink
Add 'Google-Light theme' for terminals/VIM + enablic italics in VIM
Browse files Browse the repository at this point in the history
  • Loading branch information
astsu777 committed Nov 12, 2023
1 parent 4e5d29e commit 9d0dfd6
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 16 deletions.
31 changes: 31 additions & 0 deletions config/alacritty/google-light_theme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
colors:
primary:
background: '#ffffff'
foreground: '#373b41'
normal:
black: '#1d1f21'
red: '#cc342b'
green: '#198844'
yellow: '#fba922'
blue: '#3971ed'
magenta: '#a36ac7'
cyan: '#3971ed'
white: '#c5c8c6'
bright:
black: '#969896'
red: '#cc342b'
green: '#198844'
yellow: '#fba922'
blue: '#3971ed'
magenta: '#a36ac7'
cyan: '#3971ed'
white: '#ffffff'
dim:
black: '#1d1f21'
red: '#cc342b'
green: '#198844'
yellow: '#fba922'
blue: '#3971ed'
magenta: '#a36ac7'
cyan: '#3971ed'
white: '#c5c8c6'
43 changes: 43 additions & 0 deletions config/kitty/google-light_theme.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Color theme
foreground: #373b41
background: #ffffff
selection_foreground #000000
selection_background #fffacd

url_color #0087bd

# black
color0: #1d1f21
color8: #969896

# red
color1: #cc342b
color9: #cc342b

# green
color2: #198844
color10: #198844

# yellow
color3: #fba922
color11: #fba922

# blue
color4: #3971ed
color12: #3971ed

# magenta
color5: #a36ac7
color13: #a36ac7

# cyan
color6: #3971ed
color14: #3971ed

# white
color7: #c5c8c6
color15: #ffffff

# Cursor colors
cursor #cccccc
cursor_text_color #111111
10 changes: 6 additions & 4 deletions config/tmux/tmux-workstation.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
set-option -g prefix C-a

# Enable 256 color terminal
if-shell '[[ ${OSTYPE} =~ darwin ]]' \
'set -g default-terminal "screen-256color"'
if-shell '[[ ${OSTYPE} =~ linux-gnu ]]' \
'set -g default-terminal "tmux-256color"'
set -g default-terminal "tmux-256color"
# if-shell '[[ ${OSTYPE} =~ darwin ]]' \
# 'set -g default-terminal "screen-256color"'
# if-shell '[[ ${OSTYPE} =~ linux-gnu ]]' \
# 'set -g default-terminal "tmux-256color"'


# Monitor activity
set-window-option -g monitor-activity on
Expand Down
35 changes: 23 additions & 12 deletions vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ call plug#begin('~/.vim/bundle')
Plug 'romgrk/doom-one.vim'
Plug 'pineapplegiant/spaceduck', { 'branch': 'main' }
Plug 'rafalbromirski/vim-aurora'
Plug 'google/vim-colorscheme-primary'
" Linters
Plug 'chr4/nginx.vim'
" Status bar
Expand Down Expand Up @@ -182,13 +183,13 @@ function ToggleSyntax()
if s:syntax == 1
syntax off
let s:syntax = 0
" highlight Comment cterm=italic gui=italic
highlight Comment cterm=italic gui=italic
highlight Normal guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE
else
syntax on
let s:syntax = 1
" highlight Comment cterm=italic gui=italic
highlight Comment cterm=italic gui=italic
highlight Normal guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE
endif
Expand All @@ -204,69 +205,79 @@ if empty($SSH_CLIENT)
set termguicolors
endif
colorscheme kuroi
" highlight Comment cterm=italic gui=italic
highlight Comment cterm=italic gui=italic
highlight Normal guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE
function ToggleColors()
if (g:colors_name == "aurora")
if (g:colors_name == "kuroi")
colorscheme primary
highlight Comment cterm=italic gui=italic
highlight Normal guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE
let g:lightline = {'colorscheme': 'jellybeans'}
call lightline#init()
call lightline#colorscheme()
set t_Co=256
set background=light
elseif (g:colors_name == "aurora")
colorscheme kuroi
" highlight Comment cterm=italic gui=italic
highlight Comment cterm=italic gui=italic
highlight Normal guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE
let g:lightline = {'colorscheme': 'jellybeans'}
call lightline#init()
call lightline#colorscheme()
elseif (g:colors_name == "spaceduck")
colorscheme aurora
" highlight Comment cterm=italic gui=italic
highlight Comment cterm=italic gui=italic
highlight Normal guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE
let g:lightline = {'colorscheme': 'jellybeans'}
call lightline#init()
call lightline#colorscheme()
elseif (g:colors_name == "doom-one")
colorscheme spaceduck
" highlight Comment cterm=italic gui=italic
highlight Comment cterm=italic gui=italic
highlight Normal guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE
let g:lightline = {'colorscheme': 'spaceduck'}
call lightline#init()
call lightline#colorscheme()
elseif (g:colors_name == "nord")
colorscheme doom-one
" highlight Comment cterm=italic gui=italic
highlight Comment cterm=italic gui=italic
highlight Normal guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE
let g:lightline = {'colorscheme': 'jellybeans'}
call lightline#init()
call lightline#colorscheme()
elseif (g:colors_name == "onedark")
colorscheme nord
" highlight Comment cterm=italic gui=italic
highlight Comment cterm=italic gui=italic
highlight Normal guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE
let g:lightline = {'colorscheme': 'nord'}
call lightline#init()
call lightline#colorscheme()
elseif (g:colors_name == "dracula")
colorscheme onedark
" highlight Comment cterm=italic gui=italic
highlight Comment cterm=italic gui=italic
highlight Normal guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE
let g:lightline = {'colorscheme': 'onedark'}
call lightline#init()
call lightline#colorscheme()
elseif (g:colors_name == "gruvbox-material")
colorscheme dracula
" highlight Comment cterm=italic gui=italic
highlight Comment cterm=italic gui=italic
highlight Normal guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE
let g:lightline = {'colorscheme': 'dracula'}
call lightline#init()
call lightline#colorscheme()
else
colorscheme gruvbox-material
" highlight Comment cterm=italic gui=italic
highlight Comment cterm=italic gui=italic
highlight Normal guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE
let g:lightline.colorscheme = 'gruvbox_material'
Expand Down

0 comments on commit 9d0dfd6

Please sign in to comment.