Skip to content

Commit

Permalink
Render colorscheme, update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ibash committed May 10, 2024
1 parent 3381d6e commit 44d2ddc
Show file tree
Hide file tree
Showing 3 changed files with 183 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Nour2

The nour2 vim colorscheme was given to me by my brother Nour. It's a
modification of the [BusyBee](https://github.com/vim-scripts/BusyBee)
colorscheme, which is based off of the
[Mustang](https://www.deviantart.com/hcalves/art/Mustang-Vim-Colorscheme-98974484)
colorscheme.

You can find the original colorscheme under `original_nour2.vim`

I recreated this with [estilio](https://github.com/jacoborus/estilo) in order to
add new syntax highlighting.

## Screenshots

<img width="743" alt="Screenshot 2024-05-10 at 10 38 00 AM" src="https://github.com/ibash/nour2/assets/204566/2b673cac-c3c8-463e-b7c1-7154c06257d1">
<img width="916" alt="Screenshot 2024-05-10 at 10 36 33 AM" src="https://github.com/ibash/nour2/assets/204566/12ffb4f5-d0f2-4f98-b5c6-e3cd8ed23fe1">

## To build

To build:
```bash
./bin/estilo render
```
71 changes: 71 additions & 0 deletions colors/nour2.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
""
" nour2 v1.0.0
"

" URL: https://github.com/ibash/nour2
" Author: Islam Sharabash
" License: MIT
""

set background=dark
hi clear

if exists("syntax_on")
syntax reset
endif
let g:colors_name="nour2"


let Italic = ""
if exists('g:nour2_italic')
let Italic = "italic"
endif
let g:nour2_italic = get(g:, 'nour2_italic', 0)

let Bold = ""
if exists('g:nour2_bold')
let Bold = "bold"
endif

let g:nour2_bold = get(g:, '_bold', 0)

hi ColorColumn guifg=NONE ctermfg=NONE guibg=#1c1c1c ctermbg=234 gui=NONE cterm=NONE
hi Cursor guifg=NONE ctermfg=NONE guibg=#626262 ctermbg=241 gui=NONE cterm=NONE
hi CursorColumn guifg=NONE ctermfg=NONE guibg=#444444 ctermbg=238 gui=NONE cterm=NONE
hi CursorLine guifg=NONE ctermfg=NONE guibg=#1c1c1c ctermbg=234 gui=NONE cterm=NONE
hi DiffAdd guifg=#87af87 ctermfg=108 guibg=#262626 ctermbg=235 gui=reverse cterm=reverse
hi DiffChange guifg=#8787af ctermfg=103 guibg=#262626 ctermbg=235 gui=reverse cterm=reverse
hi DiffDelete guifg=#af5f5f ctermfg=131 guibg=#262626 ctermbg=235 gui=reverse cterm=reverse
hi DiffText guifg=#ff8700 ctermfg=208 guibg=#262626 ctermbg=235 gui=reverse cterm=reverse
hi VertSplit guifg=#444444 ctermfg=238 guibg=#444444 ctermbg=238 gui=NONE cterm=NONE
hi Folded guifg=#a8a8a8 ctermfg=248 guibg=#125CC1 ctermbg=25 gui=NONE cterm=NONE
hi LineNr guifg=#808080 ctermfg=8 guibg=#080808 ctermbg=232 gui=NONE cterm=NONE
hi MatchParen guifg=#afffaf ctermfg=157 guibg=#3a3a3a ctermbg=237 gui=Bold cterm=Bold
hi NonText guifg=#808080 ctermfg=8 guibg=#262626 ctermbg=235 gui=NONE cterm=NONE
hi Normal guifg=#dadada ctermfg=253 guibg=#1c1c1c ctermbg=234 gui=NONE cterm=NONE
hi PMenu guifg=#eeeeee ctermfg=255 guibg=#444444 ctermbg=238 gui=NONE cterm=NONE
hi PMenuSel guifg=#000000 ctermfg=0 guibg=#afd700 ctermbg=148 gui=NONE cterm=NONE
hi SpecialKey guifg=#808080 ctermfg=8 guibg=#303030 ctermbg=236 gui=NONE cterm=NONE
hi StatusLine guifg=#dadada ctermfg=253 guibg=#444444 ctermbg=238 gui=NONE cterm=NONE
hi StatusLineNC guifg=#949494 ctermfg=246 guibg=#444444 ctermbg=238 gui=NONE cterm=NONE
hi Title guifg=#e4e4e4 ctermfg=254 guibg=NONE ctermbg=NONE gui=Bold cterm=Bold
hi Visual guifg=#e4e4e4 ctermfg=254 guibg=#125CC1 ctermbg=25 gui=NONE cterm=NONE
hi Comment guifg=#808080 ctermfg=8 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi Constant guifg=#ff8700 ctermfg=208 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi String guifg=#afd700 ctermfg=148 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi Boolean guifg=#afd700 ctermfg=148 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi Number guifg=#ff8700 ctermfg=208 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi Identifier guifg=#afd700 ctermfg=148 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi Function guifg=#eeeeee ctermfg=255 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi Statement guifg=#8787af ctermfg=103 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi Keyword guifg=#ff8700 ctermfg=208 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi PreProc guifg=#ffffd7 ctermfg=230 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi Type guifg=#8787af ctermfg=103 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi Special guifg=#ff8700 ctermfg=208 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi Todo guifg=#8a8a8a ctermfg=245 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi pythonOperator guifg=#8787af ctermfg=103 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi pythonException guifg=#ff00d7 ctermfg=200 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi pythonImport guifg=#eeeeee ctermfg=255 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi pythonBuiltinFunction guifg=#ff00d7 ctermfg=200 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi pythonExClass guifg=#ff00d7 ctermfg=200 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE

88 changes: 88 additions & 0 deletions original_nour2.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
" Maintainer: Nour Sharabash
" Credits: This is a modification of BusyBee.vim color scheme

set background=dark

hi clear

if exists("syntax_on")
syntax reset
endif

let colors_name = "nour2"

" Vim >= 7.0 specific colors
if version >= 700
hi CursorLine guibg=#202020 ctermbg=234
hi CursorColumn guibg=#202020 ctermbg=238
hi MatchParen guifg=#d0ffc0 guibg=#202020 gui=bold ctermfg=157 ctermbg=237 cterm=bold
hi Pmenu guifg=#ffffff guibg=#202020 ctermfg=255 ctermbg=238
hi PmenuSel guifg=#000000 guibg=#b1d631 ctermfg=0 ctermbg=148
endif

" General colors
hi Cursor guifg=NONE guibg=#626262 gui=NONE ctermbg=241
hi Normal guifg=#e2e2e5 guibg=#202020 gui=NONE ctermfg=253 ctermbg=234
hi NonText guifg=#808080 guibg=#202020 gui=NONE ctermfg=244 ctermbg=235
hi LineNr guifg=#303030 guibg=#202020 gui=NONE ctermfg=244 ctermbg=232
hi StatusLine guifg=#d3d3d5 guibg=#303030 gui=NONE ctermfg=253 ctermbg=238
hi StatusLineNC guifg=#939395 guibg=#303030 gui=NONE ctermfg=246 ctermbg=238
hi VertSplit guifg=#444444 guibg=#303030 gui=NONE ctermfg=238 ctermbg=238
hi Folded guibg=#384048 guifg=#a0a8b0 gui=NONE ctermbg=4 ctermfg=248
hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=254 cterm=bold
hi Visual guifg=#faf4c6 guibg=#3c414c gui=NONE ctermfg=254 ctermbg=4
hi SpecialKey guifg=#808080 guibg=#343434 gui=NONE ctermfg=244 ctermbg=236

" Syntax highlighting
hi Comment guifg=#3f3f3f gui=italic ctermfg=244
hi Todo guifg=#8f8f8f gui=NONE ctermfg=245
hi Boolean guifg=#b1d631 gui=NONE ctermfg=148
hi String guifg=#606060 gui=NONE ctermfg=148
hi Identifier guifg=#b1d631 gui=NONE ctermfg=148
hi Function guifg=#ffff00 gui=NONE ctermfg=255
hi Type guifg=#7e8aa2 gui=NONE ctermfg=103
hi Statement guifg=#7e8aa2 gui=NONE ctermfg=103
hi Keyword guifg=#ff9800 gui=NONE ctermfg=208
hi Constant guifg=#ff9800 gui=NONE ctermfg=208
hi Number guifg=#ff9800 gui=NONE ctermfg=208
hi Special guifg=#ff9800 gui=NONE ctermfg=208
hi PreProc guifg=#faf4c6 gui=NONE ctermfg=230
hi Todo guifg=#ff9f00 guibg=#202020 gui=NONE

" Code-specific colors
hi pythonImport guifg=#009000 gui=NONE ctermfg=255
hi pythonException guifg=#f00000 gui=NONE ctermfg=200
hi pythonOperator guifg=#7e8aa2 gui=NONE ctermfg=103
hi pythonBuiltinFunction guifg=#009000 gui=NONE ctermfg=200
hi pythonExClass guifg=#009000 gui=NONE ctermfg=200

"hi mydots guifg=#99ff00
"hi vertsplit guifg=#222 guibg=#222
hi cursor gui=reverse guifg=NONE guibg=NONE
hi normal guibg=#101010 guifg=#def
hi treepart guifg=#444
hi string gui=NONE guifg=#888
hi directory guifg=#68a
hi special guifg=#f66
"hi statusline guifg=#ddd guibg=#333 gui=NONE
hi error guibg=NONE guifg=NONE
hi todo gui=NONE guifg=#f90 guibg=NONE
hi identifier guifg=#cf9
"hi cursorcolumn guibg=#000 guifg=NONE
hi nontext guibg=#101010
hi head gui=NONE guifg=#ffffff
hi matchparen guifg=red
hi nerdtreecurrentnode guifg=#9af
hi foldcolumn guibg=#101010 guifg=#0f9
hi linenr guibg=#101010
"hi myassignments guifg=#99ff00
hi specialkey guibg=NONE guifg=#303030
hi comment gui=NONE guifg=#ffff00
"hi mysemis guifg=#99ff00
"hi statuslinenc guifg=#999 guibg=#222 gui=NONE
hi cursorline guibg=#292929 guifg=NONE gui=NONE

"match myassignments /\(=\)\|\(:\)\|\( \* \)\|\( - \)\|\( + \)\|\( < \)\|\( >= \)\|\( <= \)\|\( => \)/
"2match mydots /\(\->\)\|\(\.\)/
"3match mysemis /(\|)\|{\|}\|\(;\)\|\(,\)/
"4match head /^=head. .*/

0 comments on commit 44d2ddc

Please sign in to comment.