To add to romainl’s excellent answer, if the aim is to keep the default palette but replace the bright colours, start from syntax/syncolor.vim.