2024-08-07 00:32:39 -04:00
|
|
|
if has("gui_running") || &term != "linux" && &termguicolors
|
2024-02-16 15:29:53 -05:00
|
|
|
let g:cBlack = '#000000'
|
|
|
|
let g:cWhite = '#ffffff'
|
2024-03-05 20:22:46 -05:00
|
|
|
|
2024-02-16 15:29:53 -05:00
|
|
|
let g:cGray1 = '#dadada'
|
|
|
|
let g:cGray2 = '#c6c6c6'
|
|
|
|
let g:cGray3 = '#6c6c6c'
|
|
|
|
let g:cGray4 = '#4e4e4e'
|
2024-03-05 20:22:46 -05:00
|
|
|
|
2024-02-16 15:29:53 -05:00
|
|
|
let g:cRed = '#d75f5f'
|
|
|
|
let g:cYellow = '#ffd787'
|
2024-09-12 17:43:27 -04:00
|
|
|
let g:cBlue = '#87d7ff'
|
2024-03-05 20:22:46 -05:00
|
|
|
|
2024-09-13 12:52:08 -04:00
|
|
|
let g:cDarkRed = '#ab4c4c'
|
|
|
|
let g:cDarkYellow = '#d4b370'
|
|
|
|
let g:cDarkBlue = '#70b3d4'
|
2024-03-05 20:22:46 -05:00
|
|
|
|
2024-02-16 15:29:53 -05:00
|
|
|
let g:cLightBg = '#303030'
|
|
|
|
let g:cDarkBg = '#262626'
|
2024-08-07 00:32:39 -04:00
|
|
|
elseif &t_Co >= 256 && &term != "linux"
|
2023-05-30 00:41:59 -04:00
|
|
|
let g:cBlack = '0' "#000000
|
|
|
|
let g:cWhite = '15' "#ffffff
|
2024-02-01 13:20:34 -05:00
|
|
|
|
|
|
|
let g:cGray1 = '253' "#dadada
|
|
|
|
let g:cGray2 = '251' "#c6c6c6
|
|
|
|
let g:cGray3 = '242' "#6c6c6c
|
|
|
|
let g:cGray4 = '239' "#4e4e4e
|
2023-05-30 00:41:59 -04:00
|
|
|
|
|
|
|
let g:cRed = '167' "#d75f5f
|
|
|
|
let g:cYellow = '222' "#ffd787
|
2024-09-12 17:43:27 -04:00
|
|
|
let g:cBlue = '117' "#87d7ff
|
2023-05-30 00:41:59 -04:00
|
|
|
|
|
|
|
let g:cDarkRed = '131' "#af5f5f
|
|
|
|
let g:cDarkYellow = '179' "#d7af5f
|
2024-09-12 17:43:27 -04:00
|
|
|
let g:cDarkBlue = '74' "#5fafd7
|
2023-05-30 00:41:59 -04:00
|
|
|
|
2024-02-01 13:20:34 -05:00
|
|
|
let g:cLightBg = '236' "#303030
|
|
|
|
let g:cDarkBg = '235' "#262626
|
2023-05-30 00:41:59 -04:00
|
|
|
else
|
|
|
|
let g:cBlack = '0' "#000000
|
|
|
|
let g:cWhite = '15' "#ffffff
|
2024-02-01 13:20:34 -05:00
|
|
|
|
|
|
|
let g:cGray1 = '15' "#ffffff
|
|
|
|
let g:cGray2 = '15' "#ffffff
|
|
|
|
let g:cGray4 = '15' "#ffffff
|
|
|
|
let g:cGray3 = '15' "#ffffff
|
2023-05-30 00:41:59 -04:00
|
|
|
|
|
|
|
let g:cRed = '9' "#ff0000
|
|
|
|
let g:cYellow = '11' "#ffff00
|
2024-09-12 17:43:27 -04:00
|
|
|
let g:cBlue = '12' "#0000ff
|
2023-05-30 00:41:59 -04:00
|
|
|
|
|
|
|
let g:cDarkRed = '1' "#800000
|
|
|
|
let g:cDarkYellow = '3' "#808000
|
2024-09-12 17:43:27 -04:00
|
|
|
let g:cDarkBlue = '4' "#000080
|
2023-05-30 00:41:59 -04:00
|
|
|
|
2024-02-01 13:20:34 -05:00
|
|
|
let g:cLightBg = '7' "#c0c0c0
|
|
|
|
let g:cDarkBg = '0' "#000000
|
2023-05-30 00:41:59 -04:00
|
|
|
endif
|