To create dark theme you need first to create HTML toggle element (usually <button> element), second to create CSS variables to be used by both themes...