Theme Cookie - Vaadin Add-on Directory
Preserves the used theme in a cookieHelper that stores the name of the theme selected by the user in a cookie. Later on when the user opens the application, the cookies is read to automatically use the same theme.
Source CodeIssue tracker