Skip to content

Commit

Permalink
feat: Introduce MDSANIMA theme and sample function (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsanima authored Jan 24, 2024
1 parent 6542126 commit c095354
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .config/nvim/autoload/mdsanima.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
" Copyright (c) 2023-2024 MDSANIMA DEV. All rights reserved.
" Licensed under the MIT license.

" This file sets up the mdsanima functions for the Neovim.
" Should be called by a specific function name.


" Tesging function
function mdsanima#hello()
echo "Hello World"
endfunction
39 changes: 39 additions & 0 deletions .config/nvim/colors/mdsanima.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
" Copyright (c) 2023-2024 MDSANIMA DEV. All rights reserved.
" Licensed under the MIT license.

" This is a color file for custom theme in Neovim.
" Based on the default `pablo` vim color file.


" Basic
hi clear
set background=dark
let g:colors_name = "mdsanima"

" Colors
hi Boolean cterm=none ctermfg=202 ctermbg=none
hi Comment cterm=none ctermfg=8 ctermbg=none
hi Constant cterm=none ctermfg=222 ctermbg=none
hi Directory cterm=none ctermfg=2 ctermbg=none
hi Error cterm=bold ctermfg=15 ctermbg=196
hi ErrorMsg cterm=bold ctermfg=15 ctermbg=196
hi Identifier cterm=none ctermfg=24 ctermbg=none
hi LineNr cterm=none ctermfg=244 ctermbg=none
hi Number cterm=none ctermfg=196 ctermbg=none
hi Pmenu cterm=none ctermfg=0 ctermbg=27
hi PreProc cterm=none ctermfg=48 ctermbg=none
hi Search cterm=none ctermfg=16 ctermbg=9
hi Special cterm=none ctermfg=33 ctermbg=none
hi SpecialChar cterm=none ctermfg=45 ctermbg=none
hi Statement cterm=none ctermfg=215 ctermbg=none
hi StatusLine cterm=bold ctermfg=16 ctermbg=12
hi Todo cterm=bold ctermfg=15 ctermbg=3
hi Type cterm=none ctermfg=36 ctermbg=none

" Commits
hi diffRemoved cterm=none ctermfg=196 ctermbg=none
hi diffAdded cterm=none ctermfg=76 ctermbg=none
hi diffChanged cterm=none ctermfg=202 ctermbg=none
hi diffSubname cterm=none ctermfg=30 ctermbg=none
hi diffOldFile cterm=none ctermfg=23 ctermbg=none
hi diffNewFile cterm=none ctermfg=25 ctermbg=none
3 changes: 1 addition & 2 deletions .config/nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@


" Base initial setup
colorscheme pablo
syntax on
colorscheme mdsanima

" Load configurations sources
source $HOME/.config/nvim/settings.vim
Expand Down

0 comments on commit c095354

Please sign in to comment.