Skip to content

Commit

Permalink
ensure Todo highlight on dark bg is at least 233
Browse files Browse the repository at this point in the history
- note
  - existing s:dark_bg_2 handling is beneficial for hl-VertSplit
    - hence
      - this variable is kept in tact
- previously
  - with g:seoul256_background set to 233
    - todo syntax was rendered with dark background contrast
      - as bg colors dropped to #000000
- now
  - use the equivalent to light bg handling for dark bg todos
    - for equivalently balanced visual effect
    - see: s:light_bg_2
  • Loading branch information
atweiden authored and atweiden committed Jan 6, 2023
1 parent 8f81a2f commit 1cafb50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colors/seoul256.vim
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ call s:hi('Conditional', [110, 31], ['', ''])

" while end
call s:hi('Repeat', [68, 67], ['', ''])
call s:hi('Todo', [161, 125], [s:dark_bg_2, s:light_bg_2])
call s:hi('Todo', [161, 125], [max([s:dark_bg - 2, 233]), s:light_bg_2])
call s:hi('Function', [187, 58], ['', ''])

" Macros
Expand Down

0 comments on commit 1cafb50

Please sign in to comment.