Add cookie to class adder

Hi, I would like to know if its possible to add cookie to a class adder by finsweet? I have two toggles one for dark/light mode and one for font size change. I Would like a cookie to remember the state of these two toggles so when user goes to a new page or refreshes it it remains in the mode user selected.

Here is my site Read-Only: LINK
(how to share your site Read-Only link)