![]() ![]() UseSystemColorMode is a boolean that indicates if Chakra UI must subscribes (and updates) based on the operating system's color mode changes. InitialColorMode value is used to determine the value on first visit, or after a storage reset. Difference between initialColorMode='system' and useSystemColorMode # In case you need to reset the color mode, you must delete the item in the specified storage (localStorage, cookie manager or custom), so on next page load the value is initialized like the first time user visited the page. To achieve that, please use initialColorMode: "system" If user specifies useSystemColorMode: true, then we'll subscribe to color
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |