How can I edit the colours for the confirmation page after confirming a new email?

Hi Haroon, thanks for reporting this.

I’ve taken a look at this page and it looks like Discourse is missing a class on that button (.btn-primary) that would pull in the relevant styles from your theme. I’ve gone ahead and made this change to our code, and after being reviewed and merged on our end, we can update your site to fix this (since we host your site this will require no further intervention on your side).

https://github.com/discourse/discourse/pull/19803