Framework 7 Color Themes Using Local Storage, Memory Retention Problem

Friends, I’m doing my Mobile Web page with Framework 7. But I have encountered a problem. Using localstorage, I can’t keep color themes and Google Chrome Mobile tabs theme-color in memory at the same time.
My examples are below

Looks like a problem with special characters, try use encodeURIComponent and decodeURIComponent to solve this issue.

@Overman Bro,
I’m sorry, I don’t know what you mean.

I’m new in web development I don’t know much.
Can you be more explanatory

I changed the problem with the Fiddle above. It is stored in Local Storage on the computer, but it is reinstalled on mobile. So I didn’t understand. Am I using a code that doesn’t work in mobile? :pensive:

Codepen Project

Your code wrong work,I rewrote the code,try this

iOS stores Local Storage data in a location that may be cleaned out by the OS when space is required and some mobile browsers have an option to erase browser history cleaned Local Storage on exit :cold_sweat:

In my APP i use cordova sql storage

Thank you. Inside the code. I got it.
I tried a different method.:+1: