You can use below solution to catch every tablet and every mobile device for different theme.
I found one solution.
first you need to add user agent for tablet like as below.
with this user agent you will select every tablet device.
after that you need to add user agent for mobile device like as below.
with this user agent you will select mobile devices.
for more information about user agent you can check below link.
hope this answer will work for you.