The Scottish National Party (SNP) mention Brexit a lot in their manifesto and look to maintain many of the advantages they say Scotland currently receives from the EU. A high priority is continuing access to the Single European Market, for example.
They also make clear they’d like a second referendum on Scottish independence from the UK, at the end of the Brexit process, when the final terms of the deal are known.
They are the only party to talk about rejoining the EU, albeit for Scotland only. They say, “if Scotland chooses to become independent, we should be a member state of the EU,” adding, “we will set out the process by which our membership of the EU will be secured in the circumstances that prevail at that time – such as whether or not Scotland has already left the EU as part of the UK.”