In a custom theme, how do you select the desired light and dark palettes?

Eagerly waiting. Had to rummage through a lot of topics to find this info. Will go ahead with the suggestion given in this topic for now.

Any way we can add more variables to a color palette? Right now it seems I have to contend with the predefined variable only.