thanks Maryna Brodina .....that worked out fine
I have a settings button which on click opens up the following pop up:
the font size is a select menu which has small medium and large as options ....
on font size select i want my entire project to have a particular font size....for eg on click of small i want my project to have 12,
on medium i want my project to have 14
on large i want my project to have 16
and the other option is theme which is a toggle component having the option Light and Dark and on Select i want the entire app to have a particular swatch pls help me